This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Handover DFU connection

Hi,

Instead of initiating the DFU library in Android with an address is it possible to handover a existing GATT connection to a device already in DFU mode?

We have cases where we in our app is detecting devices in DFU mode. We haven't experienced any problems connecting to those from our app but we have experience many problems disconnecting the device and handing over address to DFU library for connection. We have moved to DFU v1.3 and have seen some commits laborating with sleep time, but still we randomly experience problems. Doing re-retries will eventually fix the problem but gives a bad user experience.

Parents
  • Great. Doing handover will in some case avoid user getting multiple fails in a row.

    Still we have really bad stats for the first try. All/most problems are related to connecting after a reset. That's why I mentioned the sleep times that you are laborating with e.g. commit c1455e2b. Once DFU lib is connected it "always" goes well (if not going out-of-range, bt toggle, turning off phone).

    Are the stats according to expectations? What success/fail ratio should we expect?

Reply
  • Great. Doing handover will in some case avoid user getting multiple fails in a row.

    Still we have really bad stats for the first try. All/most problems are related to connecting after a reset. That's why I mentioned the sleep times that you are laborating with e.g. commit c1455e2b. Once DFU lib is connected it "always" goes well (if not going out-of-range, bt toggle, turning off phone).

    Are the stats according to expectations? What success/fail ratio should we expect?

Children
No Data
Related