riot_sys

Function ble_gatts_start

Source
pub unsafe extern "C" fn ble_gatts_start() -> c_int
Expand description

Makes all registered services available to peers. This function gets called automatically by the NimBLE host on startup; manual calls are only necessary for replacing the set of supported services with a new one. This function requires that: o No peers are connected, and o No GAP operations are active (advertise, discover, or connect).

@return 0 on success; A BLE host core return code on unexpected error.