Hello community, I'm developing an app which works with BLE devices, I'm 
trying to write characteristics async with new 
Timer().scheduleAtFixedRate(mProgrammingTask, PROGRAMMING_INTERVAL_ASYNC, 
PROGRAMMING_INTERVAL_ASYNC);
But after 350 block is sent (approx. 20 sec), the device is starting to 
change characteristic and became busy so it stops to write for this time so 
the update process becoming too long. After trying to do it synchronously 
and waiting for onCharacteristicChanged to be called and only after that 
send another block also takes a lot of time.
Any help will be appreciated.

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/3cc2d2c7-3bba-44ef-8b60-b789124a53ed%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to