riot_sys

Function ble_gatts_indicate_custom

Source
pub unsafe extern "C" fn ble_gatts_indicate_custom(
    conn_handle: u16,
    chr_val_handle: u16,
    txom: *mut os_mbuf,
) -> c_int
Expand description

Sends a “free-form” characteristic indication. The provided mbuf contains the indication payload. 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 value attribute handle of the characteristic to include in the outgoing indication. @param txom The data to include in the indication.

@return 0 on success; nonzero on failure.