flipperzero_sys

Function rpc_session_set_buffer_is_empty_callback

Source
pub unsafe extern "C" fn rpc_session_set_buffer_is_empty_callback(
    session: *mut RpcSession,
    callback: RpcBufferIsEmptyCallback,
)
Expand description

Set callback to notify that buffer is empty

ยงArguments

  • session - pointer to RpcSession descriptor
  • callback - callback to notify client that buffer is empty (can be NULL)
  • context - context to pass to callback