Hello Nordic
I am using nrf52840, SDK 16.0,
I wish to implement Ble peripheral that advertise a connection request (if no response from central after x seconds then I go to sleep and try few minutes later). After connection has established I need to manage data transfer to the central gateway (also nrf52840)
- Is there an example that I can learn from as for how to manage a connection (only connection, not pairing etc.) ?
- Also since most examples are written in an event driven way which is great but really hard to flow the code since breakpoints tend to crash the app, is there some explanation somewhere or guide/tutorials for peripheral connection for data of various sizes ?
- Starting to play with the peripheral ble_app_blinky I saw that if I try to change the advertise timeout I stop seeing the advertise in the nrf connect cellphone application, why is that ?
#define APP_ADV_DURATION 30//BLE_GAP_ADV_TIMEOUT_GENERAL_UNLIMITED /**< The advertising time-out (in units of seconds). When set to 0, we will never time out. */
hope to read from you soon
best regards
Ziv