[][src]Function openthread_sys::otPlatBleL2capOnSduReceived

pub unsafe extern "C" fn otPlatBleL2capOnSduReceived(
    aInstance: *mut otInstance,
    aLocalCid: u16,
    aPeerCid: u16,
    aPacket: *mut otBleRadioPacket
)

The BLE driver calls this method to notify OpenThread that an L2CAP SDU has been received.

@note Platform layer is responsible for credits management and segmentation (MPS).

@param[in] aInstance The OpenThread instance structure. @param[in] aLocalCid The local channel endpoint ID value. @param[in] aPeerCid The peer channel endpoint ID value. @param[in] aPacket A pointer to the packet containing SDU.