Page 1 of 1

BLE Long Read and Long Write

Posted: Tue Dec 05, 2017 1:59 am
by rwel59
Is there a method in the BLE library to handle long reads and writes (a couple 100 bytes) or is that something I need to build myself?

Re: BLE Long Read and Long Write

Posted: Tue Dec 05, 2017 3:20 am
by kolban
The capability is present.

Re: BLE Long Read and Long Write

Posted: Tue Dec 05, 2017 2:01 pm
by rwel59
Neil, is this something you've built into cp_utils? I've looked through the files but didn't see anything.

Re: BLE Long Read and Long Write

Posted: Tue Dec 05, 2017 11:28 pm
by kolban
I think I incorporated it ... see the following:

https://github.com/nkolban/esp32-snippe ... c.cpp#L339

Re: BLE Long Read and Long Write

Posted: Fri Dec 08, 2017 5:54 pm
by rwel59
Looked through the code. Can't figure out how/where is_long is set. Ended up writing something simple to get me going.

If you can give me some input on setting is_long I will go back and test out the cp_utils code.