Hi,
I'm using the BLE_app_interactive example as a starting point for my prototype (with SDK_17.0.2 and SoftDevice s132). I am using nRF52DK to read and write data from/to BLE characteristics of some commercial devices based on nrf52832 micros, using the sequence:
- scan on
- connect XX:XX:XX:XX
- gatt services XX:XX:XX:XX
- gatt characteristics XX:XX:XX:XX YYYY
- gatt read XX:XX:XX:XX ZZZZ
I observe that there are several seconds of delay to read services and then then the particular characteristic that I need. So, every time I want to read a particular characteristics of the device using my nRF52DK, I have to repeat the sequence above.
I suppose all the above commands allow the nRF52DK to register the services and characteristic configuration of the device, in order to query it in the correct way via BLE when I send the gatt read command to the nRF52DK.
Is there a way to save all the information about services and characteristic once I read them for the first time, so that I can speedly read the characteristics I want, avoiding to read informations that I got before, maybe also if I power down my nRF52DK? Is there an example that I can I follow ?
Thanks in advance,
Best Regards.
Antonino