how to send a notification enabled response, or service initialized indication for the BLE SMP service

hello Nordic

i am working with nrf52840 running ncs v2.8.0 

this device connects with a central, via BLE, the central running on linux.

i am working with smp (simple management protocol) with some user group id and also some build in groups. 

the problem i have is that when the 2 device establishes a connection then the linux side is ready faster then the nrf and if i send a message then it is not received in the nrf device which is nor ready yet for receiving (if i put a hold on the send for 2 seconds then all is fine).

i want the nrf device to send some "is ready" message indication to the central (by it self, not as a replay to a command sent from central) once the SMP service is initialize, or notifications on it are enabled. since the SMP service is initialized and built with in the ncs (which i don't want to change internally) i wonder how this can be done, i think there are some api in more advanced ncs versions but for now we are working with ncs2.8.0

hope you can help 

best regards

Ziv

Parents Reply Children
No Data
Related