Hi all,
I am trying to reduce the connection time between each connection to the minimal posible
Connect -->Transfer data -- Disconnect
I am facing two options:
-
On the BLE_GAP_EVT_CONNECTED event avoid to call ble_db_discovery_start(), but it require in some way set BLE_LBS_C_EVT_DISCOVERY_COMPLETE with a valid event and how to assing the conn_handle to static handles on the GATT server
-
From the BLE_GAP_EVT_CONNECTED event Set handles and enable a Notificiation to the peripheral.
Which is the most viable option? or Are there some example doing something similar?
Thanks