[][src]Type Definition openthread_sys::otNcpDelegateAllowPeekPoke

type otNcpDelegateAllowPeekPoke = Option<unsafe extern "C" fn(aAddress: u32, aCount: u16) -> bool>;

Defines delegate (function pointer) type to control behavior of peek/poke operation.

This delegate function is called to decide whether to allow peek or poke of a specific memory region. It is used if NCP support for peek/poke commands is enabled.

@param[in] aAddress Start address of memory region. @param[in] aCount Number of bytes to peek or poke.

@returns TRUE to allow peek/poke of the given memory region, FALSE otherwise.