Slow Reading Characteristics
Posted: 18:42, 24 Apr 2015
I've got a peripheral I'm working on that is admittedly slow in reporting its characteristics due to a pretty heavy processor load. I am working on optimizing the embedded code to speed it up, but I'm wondering if there is any thing I can do on the Evothings side since there is a time crunch to get a working demo ready in short order.
Here is an example from the log of the Evothings Client trying to connect to the device...
I've read on this forum that you should never hard-code the handles since they could change every time you connect to the device, but since the process of reading the characteristics to match a UUID seems to be what is hanging up, might I get away with it here? I can connect to the device with an advanced tool called the CySmart BLE Dongle, and that always tells me the same UUIDs are in the same handle each time. So, as long as the Evothings client is not connecting to more than this one peripheral, that should also be true on the client/central side, yes?
Thanks,
Don
Here is an example from the log of the Evothings Client trying to connect to the device...
Code: Select all
LOG: Scanning...
LOG: found device: FitlySP
LOG: Found FitlySP
LOG: Connecting...
LOG: Connected
LOG: Reading services...
LOG: Connected
LOG: Reading services...
LOG: Connected
LOG: Reading services...
I've read on this forum that you should never hard-code the handles since they could change every time you connect to the device, but since the process of reading the characteristics to match a UUID seems to be what is hanging up, might I get away with it here? I can connect to the device with an advanced tool called the CySmart BLE Dongle, and that always tells me the same UUIDs are in the same handle each time. So, as long as the Evothings client is not connecting to more than this one peripheral, that should also be true on the client/central side, yes?
Thanks,
Don