Canon SX740HS Connected w/airnef but "Waiting to connect" on camera

Home Forums Canon SX740HS Connected w/airnef but "Waiting to connect" on camera

This topic contains 3 replies, has 1 voice, and was last updated by  jasonjolly 4 months, 2 weeks ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #9872

    jasonjolly
    Participant

    First off thanks for your work on this — I didn’t realize how much I was going to miss my EyeFi card until it stopped working and this seems like a great fit!

    I have gotten a connection up and working and the photos previously taken are always downloading when I’ve just started the airnef and I’ve connected the camera for the first time (even though the camera still states “Waiting to connect”.) This would actually be acceptable for my scenario if it would do this every time I connected, however, if I return to the wifi connection screen after taking a few pictures it will connect again, but it will not transfer any new pictures.

    Here’s what the log looks like in this scenario:

    Found camera at IP address 192.168.1.162
    Connection established to 192.168.1.162:15740
    Camera Model “Canon PowerShot SX740 HS”, S/N “59cbdc787248f7e4997bdf89bc6b22b5”
    Camera’s date/time set to 06/28/19 11:54:15 AM
    Processed info for 73 files/dirs [0 from object cache, 70 previous]

    Waiting for realtime photos from camera to download. Press <ctrl-c> to exit –

    Notice that it sees 73 files but just 70 previous but does not download those.

    Other items of note:

    – This is connecting via infrastructure mode, configured by choosing the mobile phone option on the camera.
    – IP address of the computer is 192.168.1.180 (running iOS 10.10.5)
    -airnef options at startup (select on computer)
    * full-sized
    * only jpg
    * all dates
    * first card found
    * newest first
    * I have tried with and w/out these options with the same resultd
    –rtd_mtppollingmethod_newobjdetection numobjs –transferorder oldestfirst

    Any help is apprecaited. I know I’m close but just can’t seem to get things figured out. I will turn on debug mode and post those logs as a comment to this post.

    #9873

    jasonjolly
    Participant

    I can email the full logs somewhere if needed…. I have them in a text file.

    Here’s what it does initially when it connects the first time

    Location: http://192.168.1.162:49152/upnp/CameraDevDesc.xml
    Server: Camera OS/1.0 UPnP/1.0 Canon Device Discovery/1.0
    ST: urn:schemas-canon-com:service:ICPO-SmartPhoneEOSSystemService:1
    USN: uuid:00000000-0000-0000-0001-009D6B4EEF2C::urn:schemas-canon-com:service:ICPO-SmartPhoneEOSSystemService:1

    Found camera at IP address 192.168.1.162
    openConnection(): Attempting connection to 192.168.1.162:15740
    Connection established to 192.168.1.162:15740
    sendInitCmdReq(): Sending MTP_TCPIP_REQ_INIT_CMD_REQ
    0000: 01 00 00 00 00 11 22 33 – 44 55 66 77 88 99 00 00 ……”3 – DUfw….
    0010: 00 00 00 00 61 00 69 00 – 72 00 6e 00 65 00 66 00 ….a.i. – r.n.e.f.
    0020: 00 00 00 00 01 00 ……
    sendInitCmdReq() response:
    0000: 02 00 00 00 01 00 00 00 – 00 00 00 00 00 00 00 00 …….. – ……..
    0010: 00 01 00 9d 6b 4e ef 2c – 53 00 58 00 37 00 34 00 ….kN., – S.X.7.4.
    0020: 30 00 00 00 00 00 01 00 – 0……. –
    Session ID = 0x00000001
    openConnection(): Attempting connection to 192.168.1.162:15740
    sendInitEvents(): Sending MTP_TCPIP_REQ_INIT_EVENTS
    0000: 03 00 00 00 01 00 00 00 – …….. –
    sendInitEvents() response:
    0000: 04 00 00 00 ….
    sendProbeRequest(): Sending probe request
    0000: 0d 00 00 00 ….
    sendProbeRequest() response:
    0000: 0e 00 00 00 ….
    execMtpOp: MTP_OP_GetDeviceInfo – CmdReq payload:
    0000: 06 00 00 00 01 00 00 00 – 01 10 01 00 00 00 …….. – ……
    execMtpOp: MTP_OP_GetDeviceInfo – DataStart payload [expected data bytes is 0x25b]
    0000: 09 00 00 00 01 00 00 00 – 5b 02 00 00 00 00 00 00 …….. – […….

    Then when you take a picture and come back (you will see that it does identify IMG_0105.JPG as a file that needs to transfer over)

    Location: http://192.168.1.162:49152/upnp/CameraDevDesc.xml
    Server: Camera OS/1.0 UPnP/1.0 Canon Device Discovery/1.0
    ST: urn:schemas-canon-com:service:ICPO-SmartPhoneEOSSystemService:1
    USN: uuid:00000000-0000-0000-0001-009D6B4EEF2C::urn:schemas-canon-com:service:ICPO-SmartPhoneEOSSystemService:1

    Found camera at IP address 192.168.1.162
    openConnection(): Attempting connection to 192.168.1.162:15740
    Connection established to 192.168.1.162:15740
    sendInitCmdReq(): Sending MTP_TCPIP_REQ_INIT_CMD_REQ
    0000: 01 00 00 00 00 11 22 33 – 44 55 66 77 88 99 00 00 ……”3 – DUfw….
    0010: 00 00 00 00 61 00 69 00 – 72 00 6e 00 65 00 66 00 ….a.i. – r.n.e.f.
    0020: 00 00 00 00 01 00 ……
    sendInitCmdReq() response:
    0000: 02 00 00 00 01 00 00 00 – 00 00 00 00 00 00 00 00 …….. – ……..
    0010: 00 01 00 9d 6b 4e ef 2c – 53 00 58 00 37 00 34 00 ….kN., – S.X.7.4.
    0020: 30 00 00 00 00 00 01 00 – 0……. –
    Session ID = 0x00000001
    openConnection(): Attempting connection to 192.168.1.162:15740
    sendInitEvents(): Sending MTP_TCPIP_REQ_INIT_EVENTS
    .
    .
    .
    .
    .
    .
    Creating MtpObject with the following mtpObjectInfo:
    MtpObject instance = 0x105f03830
    mtpObjectHandle = 0x91900692
    — mptObjectInfo —
    storageId = MTP_STORAGEID_SubSlotPopulated (0x20001)
    objectFormat = MTP_OBJFORMAT_EXIF_or_JPEG (0x3801)
    protectionStatus = 0x0000
    compressedSize = 0x005584ac
    thumbFormat = MTP_OBJFORMAT_JFIF (0x3808)
    thumbCompressedSize= 0x000028b0
    thumbPixDimensions = 160×120
    imagePixDimensions = 5184×3888
    imageBitDepth = 24
    parentObject = 0x91900000
    associationType = No Association or Unknown (0x0000)
    associationDesc = 0x00000000
    sequenceNumber = 0x00000000
    filename = DCIM\100CANON\IMG_0105.JPG
    captureDateSt = 20190628T112136
    modificationDateStr= 20190628T112136
    Retrieving list of images/files from camera: 83/84 MtpObject for handle 0xa0080000 already exists, skipping
    Processed info for 84 files/dirs [0 from object cache, 83 previous]
    Saved 84 MTP objects to disk cache
    Skipping IMG_0025.JPG – already downloaded this session
    Skipping MISC – object is not file – MTP_OBJFORMAT_Assocation (0x3001)
    Skipping 100CANON – object is not file – MTP_OBJFORMAT_Assocation (0x3001)
    Skipping DCIM – object is not file – MTP_OBJFORMAT_Assocation (0x3001)
    Waiting for realtime photos from camera to download. Press <ctrl-c> to exit \execMtpOp: MTP_OP_GetObjectHandles – CmdReq payload:
    0000: 06 00 00 00 01 00 00 00 – 07 10 28 00 00 00 01 00 …….. – ..(…..
    0010: 02 00 00 00 00 00 00 00 – 00 00 …….. – ..
    execMtpOp: MTP_OP_GetObjectHandles – DataStart payload [expected data bytes is 0x154]
    0000: 09 00 00 00 28 00 00 00 – 54 01 00 00 00 00 00 00 ….(… – T…….
    execMtpOp: MTP_OP_GetObjectHandles – Data payload [ID c] (0x0000015c bytes):

    #9874

    jasonjolly
    Participant

    Also. This machine is running Python 2.7.10.

    #9875

    jasonjolly
    Participant

    It appears as if it has something to do with the dates that airnef is using @ startup as it thinks that photos taken after startup are “earlier than user-specified start date filter… but I get this error with All Dates set or Today

    Found camera at IP address 192.168.1.162
    Connection established to 192.168.1.162:15740
    Camera Model “Canon PowerShot SX740 HS”, S/N “59cbdc787248f7e4997bdf89bc6b22b5”
    Camera’s date/time set to 06/28/19 01:14:45 PM
    MTP Object cache has 96 objects, age is 0:02:23.599581
    Processed info for 98 files/dirs [0 from object cache, 96 previous]

    Skipping IMG_0118.JPG – has capture date earlier than user-specified start date filter
    Skipping IMG_0119.JPG – has capture date earlier than user-specified start date filter
    Waiting for realtime photos from camera to download. Press <ctrl-c> to exit /

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.