URL:
  <http://savannah.nongnu.org/patch/?8272>

                 Summary: rfcomm devices can't connect in time to upload
                 Project: AVR Downloader/UploaDEr
            Submitted by: dwilkins
            Submitted on: Sun 12 Jan 2014 05:17:00 AM GMT
                Category: None
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

When using bluetooth serial devices for uploading, and using `rfcomm bind` to
connect those devices when the /dev/rfcomm0 file is opened, avrdude doesn't
allow enough time for the device to connect before failing.

If avrdude reads first, then the device has time to connect, but it seems that
avrdude performs a ser_send first.  This patch adds 10 retries when ENOTCONN
(107) "Transport endpoint is not connected" is returned as the errno for the
send





    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sun 12 Jan 2014 05:17:00 AM GMT  Name: rfcomm_wont_upload.patch  Size:
654B   By: dwilkins

<http://savannah.nongnu.org/patch/download.php?file_id=30248>

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?8272>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/


_______________________________________________
avrdude-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/avrdude-dev

Reply via email to