int ble_gattc_notify_custom( uint16_t conn_handle, uint16_t chr_val_handle, struct os_mbuf *txom )
Sends a “free-form” characteristic notification. This function consumes the supplied mbuf regardless of the outcome.
Parameter | Description |
---|---|
conn_handle | The connection over which to execute the procedure. |
chr_val_handle | The attribute handle to indicate in the outgoing notification. |
txom | The value to write to the characteristic. |
Value | Condition |
---|---|
0 | Success. |
Core return code | Unexpected error. |