I'm trying to understand example "ble_app_hts" how after advertising make a connection. I didn't see in code any call of function "sd_ble_gap_connect" ? how is made connection ?
I'm trying to understand example "ble_app_hts" how after advertising make a connection. I didn't see in code any call of function "sd_ble_gap_connect" ? how is made connection ?
The SoftDevice API uses SuperVisor Calls( SVCs) to exposes the functionality of the SoftDevice , this is stated here in the S130 SoftDevice Specification.
The SoftDevice is delivered as a precompiled binary and the SVCs are used to expose the SoftDevice functions without having any link-time dependencies between the application and the BLE protocol stack.
ok, now I will know. but the other hands: if we use IRQ (don't call function) how to obtain the error code after data event? if connection failed ?
ok, now I will know. but the other hands: if we use IRQ (don't call function) how to obtain the error code after data event? if connection failed ?