Function otPlatBleGattServerOnWriteRequest

Source
pub unsafe extern "C" fn otPlatBleGattServerOnWriteRequest(
    aInstance: *mut otInstance,
    aHandle: u16,
    aPacket: *mut otBleRadioPacket,
)
Expand description

The BLE driver calls this method to notify OpenThread that an ATT Write Request packet has been received.

@note This function shall be used only for GATT Server.

@param[in] aInstance The OpenThread instance structure. @param[in] aHandle The handle of the attribute to be written. @param[in] aPacket A pointer to the packet contains value to be written to the attribute.