pub unsafe extern "C" fn otPlatRadioEnableCsl(
aInstance: *mut otInstance,
aCslPeriod: u32,
aShortAddr: otShortAddress,
aExtAddr: *const otExtAddress,
) -> otError
Expand description
Enable or disable CSL receiver.
@param[in] aInstance The OpenThread instance structure. @param[in] aCslPeriod CSL period, 0 for disabling CSL. CSL period is in unit of 10 symbols. @param[in] aShortAddr The short source address of CSL receiver’s peer. @param[in] aExtAddr The extended source address of CSL receiver’s peer.
@note Platforms should use CSL peer addresses to include CSL IE when generating enhanced acks.
@retval OT_ERROR_NOT_IMPLEMENTED Radio driver doesn’t support CSL. @retval OT_ERROR_FAILED Other platform specific errors. @retval OT_ERROR_NONE Successfully enabled or disabled CSL.