Hi
We have project where we want to use a nrf52 in an remote keypad for control various devices.
For investigating the capabilities I have tested the ble_uart and ble_blinky demos for measuring respons times.We want the device to disconnect when not needed and wake-up if a key is pressed for sending the new key state.
ble_uart demo:
From wake-up it takes around 100ms to establish a BLE connection and additional 900ms to establish the NUS service. Hereafter the response time for sending data is 75ms. Not very impressive.
ble_blinky demo:
For somehow the ble_blinky demo is much faster to establish the blinky service, that the ble_uart is to establish the nus service. Around 200ms, but the service is of cause much simpler. By the response time from button press to turning the LED on is between 5 and 35 ms which is fine for the application.
Question:
It seems that it takes very long time to establishing the service (creating characteristics and so on), and we are therefore looking for a more simple method to transport data in connected state. Of cause we could use the advertising packet for transmitting the data, but it is not as reliable than using connected state. So, is there a method to transmit data in connected state without establishing a service? We would like to have a response time below 50ms.
BR
Kasper