docs/library: Add gatts_indicate() doc to ubluetooth.rst.
Also clarify behavior of `gatts_notify` and add some TODOs about adding an event for indication acknowledgement.
This commit is contained in:
committed by
Damien George
parent
89a95b7c85
commit
b7698841b2
@@ -603,6 +603,8 @@ int mp_bluetooth_gatts_indicate(uint16_t conn_handle, uint16_t value_handle) {
|
||||
if (!mp_bluetooth_is_active()) {
|
||||
return ERRNO_BLUETOOTH_NOT_ACTIVE;
|
||||
}
|
||||
// TODO: catch BLE_GAP_EVENT_NOTIFY_TX to raise an event for completed
|
||||
// indication transaction.
|
||||
return ble_hs_err_to_errno(ble_gattc_indicate(conn_handle, value_handle));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user