avrdude-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avrdude-dev] [patch #8272] rfcomm devices can't connect in time to uplo


From: David H. Wilkins
Subject: [avrdude-dev] [patch #8272] rfcomm devices can't connect in time to upload
Date: Sun, 12 Jan 2014 05:17:01 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36

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/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]