riot_sys

Function ble_gatts_notify_custom

Source
pub unsafe extern "C" fn ble_gatts_notify_custom(
    conn_handle: u16,
    att_handle: u16,
    om: *mut os_mbuf,
) -> c_int
Expand description

Sends a “free-form” characteristic notification. This function consumes the supplied mbuf regardless of the outcome.

@param conn_handle The connection over which to execute the procedure. @param chr_val_handle The attribute handle to indicate in the outgoing notification. @param txom The value to write to the characteristic.

@return 0 on success; nonzero on failure.