[−][src]Function openthread_sys::otPlatBleGapScanResponseSet
pub unsafe extern "C" fn otPlatBleGapScanResponseSet(
aInstance: *mut otInstance,
aScanResponse: *const u8,
aScanResponseLength: u8
) -> otError
Sets BLE Scan Response packet content.
@note This function shall be used only for BLE Peripheral role.
@param[in] aInstance The OpenThread instance structure. @param[in] aScanResponse A pointer to scan response data in raw format. @param[in] aScanResponseLength The size of scan response data. Shall not exceed OT_BLE_SCAN_RESPONSE_MAX_LENGTH.
@retval ::OT_ERROR_NONE Scan response data has been successfully set. @retval ::OT_ERROR_INVALID_ARGS Invalid scan response data has been supplied.