Home
last modified time | relevance | path

Searched refs:rawData (Results 1 – 7 of 7) sorted by relevance

/device/soc/beken/bk7235/hals/communication/bluetooth/services/src/
Dble_test.c430 StartAdvRawData rawData; in ble_test_main() local
431 rawData.advDataLen=sizeof(ohos_adv_data); in ble_test_main()
432 rawData.rspDataLen=sizeof(ohos_adv_rsp_data); in ble_test_main()
433 rawData.advData= os_malloc(rawData.advDataLen); in ble_test_main()
434 memcpy(rawData.advData,ohos_adv_data,rawData.advDataLen); in ble_test_main()
435 rawData.rspData= os_malloc(rawData.rspDataLen); in ble_test_main()
436 memcpy(rawData.rspData,ohos_adv_rsp_data,rawData.rspDataLen); in ble_test_main()
445 BleStartAdvEx(&advId, rawData, advParam); in ble_test_main()
Dohos_bt_hal.c417 int BleStartAdvEx(int *advId, const StartAdvRawData rawData, BleAdvParams advParam) in BleStartAdvEx() argument
427 memcpy(&(hal_adv.advData[0]), &(rawData.advData[0]), rawData.advDataLen); in BleStartAdvEx()
428 hal_adv.advDataLen = rawData.advDataLen; in BleStartAdvEx()
429 memcpy(&(hal_adv.respData[0]), &(rawData.rspData[0]), rawData.rspDataLen); in BleStartAdvEx()
430 hal_adv.respDataLen = rawData.rspDataLen; in BleStartAdvEx()
/device/soc/winnermicro/hals/communication/bt_lite/ble/source/
Dnble.c711 int BleStartAdvEx(int *advId, const StartAdvRawData rawData, BleAdvParams advParam) in BleStartAdvEx() argument
727 g_adv_raw_data = rawData; in BleStartAdvEx()
732 if (rawData.advDataLen) { in BleStartAdvEx()
733 rc = ble_gap_adv_set_data(rawData.advData, rawData.advDataLen); in BleStartAdvEx()
737 if (rawData.rspDataLen) { in BleStartAdvEx()
738 rc = ble_gap_adv_rsp_set_data(rawData.rspData, rawData.rspDataLen); in BleStartAdvEx()
/device/soc/asrmicro/asr582x/liteos_m/sdk/drivers/ble_src/
Dharmony_ble_adpter.c594 int BleStartAdvEx(int *advId, const StartAdvRawData rawData, BleAdvParams advParam) in BleStartAdvEx() argument
596 print_log("harmony : %s %d %d\r\n", __FUNCTION__, rawData.advDataLen, rawData.rspDataLen); in BleStartAdvEx()
622 advdata.advdataLen = rawData.advDataLen; in BleStartAdvEx()
623 scandata.respdataLen = rawData.rspDataLen; in BleStartAdvEx()
624 memmove(advdata.advdata, rawData.advData, advdata.advdataLen); in BleStartAdvEx()
625 memmove(scandata.respdata, rawData.rspData, scandata.respdataLen); in BleStartAdvEx()
/device/soc/esp/esp32/components/nvs_flash/src/
Dnvs_types.hpp76 uint8_t rawData[32]; member
Dnvs_page.cpp261 std::fill_n(item.rawData, ENTRY_SIZE, 0xff); in writeItem()
262 memcpy(item.rawData, static_cast<const uint8_t*>(data) + left, tail); in writeItem()
310 memcpy(dst, ditem.rawData, willCopy); in readItem()
363 if (memcmp(dst, ditem.rawData, willCopy)) { in cmpItem()
/device/soc/asrmicro/asr582x/liteos_m/sdk/drivers/ble_inc/
Dohos_bt_gatt.h467 int BleStartAdvEx(int *advId, const StartAdvRawData rawData, BleAdvParams advParam);