pub type otNcpHdlcSendCallback = Option<unsafe extern "C" fn(aBuf: *const u8, aBufLength: u16) -> c_int>;
Expand description
Pointer is called to send HDLC encoded NCP data.
@param[in] aBuf A pointer to a buffer with an output. @param[in] aBufLength A length of the output data stored in the buffer.
@returns Number of bytes processed by the callback.
Aliased Type§
enum otNcpHdlcSendCallback {
None,
Some(unsafe extern "C" fn(_: *const u8, _: u16) -> i32),
}