Home
last modified time | relevance | path

Searched refs:offset (Results 1 – 25 of 221) sorted by relevance

123456789

/hal_espressif-3.7.0/components/spi_flash/test_apps/flash_encryption/main/
Dtest_flash_encryption.c30 static void test_encrypted_write(size_t offset, const uint8_t *data, size_t length);
31 static void verify_erased_flash(size_t offset, size_t length);
51 static void verify_erased_flash(size_t offset, size_t length) in verify_erased_flash() argument
54 printf("verify erased 0x%x - 0x%x\n", offset, offset + length); in verify_erased_flash()
56 esp_flash_read(NULL, readback, offset, length)); in verify_erased_flash()
111 static void test_encrypted_write(size_t offset, const uint8_t *data, size_t length) in test_encrypted_write() argument
114 printf("encrypt %d bytes at 0x%x\n", length, offset); in test_encrypted_write()
116 esp_flash_write_encrypted(NULL, offset, data, length)); in test_encrypted_write()
119 esp_flash_read_encrypted(NULL, offset, readback, length)); in test_encrypted_write()
145 uint32_t offset = 0; variable
[all …]
/hal_espressif-3.7.0/components/spi_flash/test/
Dtest_spi_flash.c26 uint32_t offset; member
47 const uint32_t sector = start / SPI_FLASH_SEC_SIZE + ctx->offset; in flash_test_task()
61 for (uint32_t offset = 0; offset < SPI_FLASH_SEC_SIZE; offset += 4) { in flash_test_task() local
62 …if (esp_flash_write(NULL, (const uint8_t *) &val, sector * SPI_FLASH_SEC_SIZE + offset, 4) != ESP_… in flash_test_task()
63 printf("Write failed at offset=%d\r\n", offset); in flash_test_task()
73 for (uint32_t offset = 0; offset < SPI_FLASH_SEC_SIZE; offset += 4) { in flash_test_task() local
74 …if (esp_flash_read(NULL, (uint8_t *) &val_read, sector * SPI_FLASH_SEC_SIZE + offset, 4) != ESP_OK… in flash_test_task()
75 printf("Read failed at offset=%d\r\n", offset); in flash_test_task()
80 printf("Read invalid value=%08x at offset=%d\r\n", val_read, offset); in flash_test_task()
96 { .offset = 0x10 + 6, .done = done },
[all …]
/hal_espressif-3.7.0/components/bt/host/bluedroid/stack/avrc/
Davrc_api.c105 return (UINT8 *)(p_pkt + 1) + p_pkt->offset; in avrc_get_data_ptr()
120 const int offset = MAX(AVCT_MSG_OFFSET, p_pkt->offset); in avrc_copy_packet() local
123 (BT_HDR *)osi_malloc((UINT16)(BT_HDR_SIZE + offset + pkt_len)); in avrc_copy_packet()
128 p_pkt_copy->offset = offset; in avrc_copy_packet()
160 p_orig_data = ((UINT8 *)(p_fcb->p_fmsg + 1) + p_fcb->p_fmsg->offset); in avrc_prep_end_frag()
165 p_pkt_new->offset += (AVRC_MAX_CTRL_DATA_LEN - AVRC_VENDOR_HDR_SIZE - AVRC_MIN_META_HDR_SIZE); in avrc_prep_end_frag()
166 p_data = (UINT8 *)(p_pkt_new + 1) + p_pkt_new->offset; in avrc_prep_end_frag()
201 int offset_len = MAX(AVCT_MSG_OFFSET, p_pkt->offset); in avrc_send_continue_frag()
206 p_pkt->offset = AVCT_MSG_OFFSET; in avrc_send_continue_frag()
209 p_old = (UINT8 *)(p_pkt_old + 1) + p_pkt_old->offset; in avrc_send_continue_frag()
[all …]
Davrc_opt.c64 p_cmd->offset = AVCT_MSG_OFFSET; in avrc_vendor_msg()
65 p_data = (UINT8 *)(p_cmd + 1) + p_cmd->offset; in avrc_vendor_msg()
73 p_cmd->len = (UINT16) (p_data + p_msg->vendor_len - (UINT8 *)(p_cmd + 1) - p_cmd->offset); in avrc_vendor_msg()
106 p_cmd->offset = AVCT_MSG_OFFSET; in AVRC_UnitCmd()
107 p_data = (UINT8 *)(p_cmd + 1) + p_cmd->offset; in AVRC_UnitCmd()
113 p_cmd->len = p_data + AVRC_UNIT_OPRND_BYTES - (UINT8 *)(p_cmd + 1) - p_cmd->offset; in AVRC_UnitCmd()
150 p_cmd->offset = AVCT_MSG_OFFSET; in AVRC_SubCmd()
151 p_data = (UINT8 *)(p_cmd + 1) + p_cmd->offset; in AVRC_SubCmd()
158 p_cmd->len = p_data + AVRC_SUB_OPRND_BYTES - (UINT8 *)(p_cmd + 1) - p_cmd->offset; in AVRC_SubCmd()
Davrc_bld_ct.c50 p_start = (UINT8 *)(p_pkt + 1) + p_pkt->offset; in avrc_bld_next_cmd()
82 p_start = (UINT8 *)(p_pkt + 1) + p_pkt->offset; in avrc_bld_set_abs_volume_cmd()
108 p_start = (UINT8 *)(p_pkt + 1) + p_pkt->offset; in avrc_bld_register_change_notfn()
134 UINT16 offset = 0; in avrc_bld_init_cmd_buffer() local
137 offset = AVRC_MSG_PASS_THRU_OFFSET; in avrc_bld_init_cmd_buffer()
141 offset = AVRC_MSG_VENDOR_OFFSET; in avrc_bld_init_cmd_buffer()
152 p_pkt->offset = offset; in avrc_bld_init_cmd_buffer()
153 p_data = (UINT8 *)(p_pkt + 1) + p_pkt->offset; in avrc_bld_init_cmd_buffer()
192 p_start = (UINT8 *)(p_pkt + 1) + p_pkt->offset; in avrc_bld_set_player_value_cmd()
222 p_start = (UINT8 *)(p_pkt + 1) + p_pkt->offset; in avrc_bld_get_element_attr_cmd()
[all …]
Davrc_bld_tg.c60 p_start = (UINT8 *)(p_pkt + 1) + p_pkt->offset; in avrc_bld_get_capability_rsp()
119 p_start = (UINT8 *)(p_pkt + 1) + p_pkt->offset; in avrc_bld_list_app_settings_attr_rsp()
166 p_start = (UINT8 *)(p_pkt + 1) + p_pkt->offset; in avrc_bld_list_app_settings_values_rsp()
217 p_start = (UINT8 *)(p_pkt + 1) + p_pkt->offset; in avrc_bld_get_cur_app_setting_value_rsp()
289 p_start = (UINT8 *)(p_pkt + 1) + p_pkt->offset; in avrc_bld_app_setting_text_rsp()
296 len_left = BT_DEFAULT_BUFFER_SIZE - BT_HDR_SIZE - p_pkt->offset - p_pkt->len; in avrc_bld_app_setting_text_rsp()
436 p_start = (UINT8 *)(p_pkt + 1) + p_pkt->offset; in avrc_bld_get_elem_attrs_rsp()
485 p_start = (UINT8 *)(p_pkt + 1) + p_pkt->offset; in avrc_bld_get_play_status_rsp()
518 p_start = (UINT8 *)(p_pkt + 1) + p_pkt->offset; in avrc_bld_notify_rsp()
653 p_data = (UINT8 *)(p_pkt + 1) + p_pkt->offset; in avrc_bld_group_navigation_rsp()
[all …]
/hal_espressif-3.7.0/components/bt/host/bluedroid/stack/gatt/
Datt_protocol.c58 p_buf->offset = L2CAP_MIN_OFFSET; in attp_build_mtu_cmd()
80 p_buf->offset = L2CAP_MIN_OFFSET; in attp_build_exec_write_cmd()
118 p_buf->offset = L2CAP_MIN_OFFSET; in attp_build_err_cmd()
143 p_buf->offset = L2CAP_MIN_OFFSET; in attp_build_browse_cmd()
172 p_buf->offset = L2CAP_MIN_OFFSET; in attp_build_read_by_type_value_cmd()
208 p_buf->offset = L2CAP_MIN_OFFSET; in attp_build_read_multi_cmd()
230 BT_HDR *attp_build_handle_cmd(UINT8 op_code, UINT16 handle, UINT16 offset) in attp_build_handle_cmd() argument
238 p_buf->offset = L2CAP_MIN_OFFSET; in attp_build_handle_cmd()
247 UINT16_TO_STREAM (p, offset); in attp_build_handle_cmd()
271 p_buf->offset = L2CAP_MIN_OFFSET; in attp_build_opcode_cmd()
[all …]
Dgatt_sr.c196 p_buf->offset = L2CAP_MIN_OFFSET; in process_read_multi_rsp()
197 p = (UINT8 *)(p_buf + 1) + p_buf->offset; in process_read_multi_rsp()
317 p_buf->offset = L2CAP_MIN_OFFSET; in process_read_multi_var_rsp()
318 p = (UINT8 *)(p_buf + 1) + p_buf->offset; in process_read_multi_var_rsp()
544 …memcpy(queue_data->p_attr->p_value->attr_val.attr_val+queue_data->offset, queue_data->value, queue… in gatt_process_exec_write_req()
739 if (p_msg->offset == 0) { in gatt_build_primary_service_rsp()
742 p_msg->offset = handle_len; in gatt_build_primary_service_rsp()
745 *p ++ = (UINT8)p_msg->offset; /* length byte */ in gatt_build_primary_service_rsp()
750 if (p_msg->len + p_msg->offset <= p_tcb->payload_size && in gatt_build_primary_service_rsp()
751 handle_len == p_msg->offset) { in gatt_build_primary_service_rsp()
[all …]
/hal_espressif-3.7.0/components/bt/host/bluedroid/hci/
Dpacket_fragmenter.c75 uint8_t *stream = packet->data + packet->offset; in fragment_and_dispatch()
106 packet->offset += max_data_size; in fragment_and_dispatch()
111 stream = packet->data + packet->offset; in fragment_and_dispatch()
141 uint8_t *stream = packet->data + packet->offset; in reassemble_and_dispatch()
176 partial_packet->offset = packet->len; in reassemble_and_dispatch()
178 memcpy(partial_packet->data, packet->data + packet->offset, packet->len); in reassemble_and_dispatch()
195 packet->offset += HCI_ACL_PREAMBLE_SIZE; // skip ACL preamble in reassemble_and_dispatch()
197 uint16_t projected_offset = partial_packet->offset + packet->len; in reassemble_and_dispatch()
200 packet->len = partial_packet->len - partial_packet->offset; in reassemble_and_dispatch()
205 partial_packet->data + partial_packet->offset, in reassemble_and_dispatch()
[all …]
/hal_espressif-3.7.0/components/bt/host/bluedroid/bta/hf_client/
Dbta_hf_client_at.c631 int offset; in bta_hf_client_parse_uint32() local
633 res = sscanf(buffer, "%u%n", &value, &offset); in bta_hf_client_parse_uint32()
638 buffer += offset; in bta_hf_client_parse_uint32()
659 int offset; in bta_hf_client_parse_cind_values() local
662 while ((res = sscanf(buffer, "%u%n", &value, &offset)) > 0) { in bta_hf_client_parse_cind_values()
666 buffer += offset; in bta_hf_client_parse_cind_values()
687 int offset; in bta_hf_client_parse_cind_list() local
698 … while ((res = sscanf(buffer, "(\"%128[^\"]\",(%u%*[-,]%u))%n", name, &min, &max, &offset)) > 2) { in bta_hf_client_parse_cind_list()
700 buffer += offset; in bta_hf_client_parse_cind_list()
789 int offset; in bta_hf_client_parse_ciev() local
[all …]
/hal_espressif-3.7.0/components/bt/host/bluedroid/stack/hcic/
Dhcicmds.c50 p->offset = 0; in btsnd_hcic_inquiry()
75 p->offset = 0; in btsnd_hcic_inq_cancel()
96 p->offset = 0; in btsnd_hcic_per_inq_mode()
123 p->offset = 0; in btsnd_hcic_exit_per_inq()
150 p->offset = 0; in btsnd_hcic_create_conn()
184 p->offset = 0; in btsnd_hcic_disconnect()
209 p->offset = 0; in btsnd_hcic_add_SCO_conn()
234 p->offset = 0; in btsnd_hcic_create_conn_cancel()
257 p->offset = 0; in btsnd_hcic_accept_conn()
282 p->offset = 0; in btsnd_hcic_reject_conn()
[all …]
Dhciblecmds.c82 p->offset = 0; in btsnd_hcic_ble_set_local_used_feat()
103 p->offset = 0; in btsnd_hcic_ble_set_random_addr()
128 p->offset = 0; in btsnd_hcic_ble_write_adv_params()
157 p->offset = 0; in btsnd_hcic_ble_read_adv_chnl_tx_power()
183 p->offset = 0; in btsnd_hcic_ble_set_adv_data()
216 p->offset = 0; in btsnd_hcic_ble_set_scan_rsp_data()
252 p->offset = 0; in btsnd_hcic_ble_set_adv_enable()
276 p->offset = 0; in btsnd_hcic_ble_set_scan_params()
303 p->offset = 0; in btsnd_hcic_ble_set_scan_enable()
334 p->offset = 0; in btsnd_hcic_ble_create_ll_conn()
[all …]
/hal_espressif-3.7.0/components/bt/host/bluedroid/stack/rfcomm/
Drfc_ts_frames.c54 p_buf->offset = L2CAP_MIN_OFFSET; in rfc_send_sabme()
87 p_buf->offset = L2CAP_MIN_OFFSET; in rfc_send_ua()
120 p_buf->offset = L2CAP_MIN_OFFSET; in rfc_send_dm()
153 p_buf->offset = L2CAP_MIN_OFFSET; in rfc_send_disc()
182 p_buf->offset -= RFCOMM_CTRL_FRAME_LEN; in rfc_send_buf_uih()
184 p_buf->offset--; in rfc_send_buf_uih()
194 p_buf->offset--; in rfc_send_buf_uih()
197 p_data = (UINT8 *)(p_buf + 1) + p_buf->offset; in rfc_send_buf_uih()
216 p_data = (UINT8 *)(p_buf + 1) + p_buf->offset + p_buf->len++; in rfc_send_buf_uih()
218 *p_data = RFCOMM_UIH_FCS ((UINT8 *)(p_buf + 1) + p_buf->offset, dlci); in rfc_send_buf_uih()
[all …]
/hal_espressif-3.7.0/components/bt/host/bluedroid/external/sbc/decoder/srce/
Dsynthesis-sbc.c266 OI_UINT offset = context->common.filterBufferOffset; in OI_SBC_SynthFrame_80() local
271 if (offset == 0) { in OI_SBC_SynthFrame_80()
276 offset = context->common.filterBufferLen - 80; in OI_SBC_SynthFrame_80()
278 offset -= 1 * 8; in OI_SBC_SynthFrame_80()
282 DCT2_8(context->common.filterBuffer[ch] + offset, s); in OI_SBC_SynthFrame_80()
283 SYNTH80(pcm + ch, context->common.filterBuffer[ch] + offset, pcmStrideShift); in OI_SBC_SynthFrame_80()
288 context->common.filterBufferOffset = offset; in OI_SBC_SynthFrame_80()
297 OI_UINT offset = context->common.filterBufferOffset; in OI_SBC_SynthFrame_4SB() local
302 if (offset == 0) { in OI_SBC_SynthFrame_4SB()
307 offset = context->common.filterBufferLen - 80; in OI_SBC_SynthFrame_4SB()
[all …]
/hal_espressif-3.7.0/components/hal/esp32/include/hal/
Ddac_ll.h172 static inline void dac_ll_cw_set_dc_offset(dac_channel_t channel, int8_t offset) in dac_ll_cw_set_dc_offset() argument
176 offset = -offset; in dac_ll_cw_set_dc_offset()
178 HAL_FORCE_MODIFY_U32_REG_FIELD(SENS.sar_dac_ctrl2, dac_dc1, offset); in dac_ll_cw_set_dc_offset()
181 offset = -offset; in dac_ll_cw_set_dc_offset()
183 HAL_FORCE_MODIFY_U32_REG_FIELD(SENS.sar_dac_ctrl2, dac_dc2, offset); in dac_ll_cw_set_dc_offset()
Dmmu_ll.h147 uint32_t offset = 0; in mmu_ll_get_entry_id() local
153 offset = 0; in mmu_ll_get_entry_id()
157 offset = 64; in mmu_ll_get_entry_id()
161 offset = 128; in mmu_ll_get_entry_id()
165 offset = 192; in mmu_ll_get_entry_id()
170 offset = MMU_LL_PSRAM_ENTRY_START_ID; in mmu_ll_get_entry_id()
177 return offset + ((vaddr & vaddr_mask) >> shift_code); in mmu_ll_get_entry_id()
/hal_espressif-3.7.0/components/bt/host/bluedroid/stack/avct/
Davct_lcb_act.c63 p = (UINT8 *)(p_buf + 1) + p_buf->offset; in avct_lcb_msg_asmbl()
99 sizeof(BT_HDR) + p_buf->offset + p_buf->len); in avct_lcb_msg_asmbl()
104 p = (UINT8 *)(p_lcb->p_rx_msg + 1) + p_lcb->p_rx_msg->offset; in avct_lcb_msg_asmbl()
110 p_lcb->p_rx_msg->offset += p_lcb->p_rx_msg->len; in avct_lcb_msg_asmbl()
133 p_buf->offset += AVCT_HDR_LEN_CONT; in avct_lcb_msg_asmbl()
137 if ((p_lcb->p_rx_msg->offset + p_buf->len) > buf_len) { in avct_lcb_msg_asmbl()
146 memcpy((UINT8 *)(p_lcb->p_rx_msg + 1) + p_lcb->p_rx_msg->offset, in avct_lcb_msg_asmbl()
147 (UINT8 *)(p_buf + 1) + p_buf->offset, p_buf->len); in avct_lcb_msg_asmbl()
150 p_lcb->p_rx_msg->offset -= p_lcb->p_rx_msg->len; in avct_lcb_msg_asmbl()
155 p_lcb->p_rx_msg->offset += p_buf->len; in avct_lcb_msg_asmbl()
[all …]
/hal_espressif-3.7.0/components/wpa_supplicant/esp_supplicant/src/crypto/
Dcrypto_mbedtls-bignum.c79 int num_bytes, offset; in crypto_bignum_to_bin() local
92 offset = padlen - num_bytes; in crypto_bignum_to_bin()
94 offset = 0; in crypto_bignum_to_bin()
97 os_memset(buf, 0, offset); in crypto_bignum_to_bin()
98 …MBEDTLS_MPI_CHK(mbedtls_mpi_write_binary((mbedtls_mpi *) a, buf + offset, mbedtls_mpi_size((mbedtl… in crypto_bignum_to_bin()
100 return num_bytes + offset; in crypto_bignum_to_bin()
273 int num_bytes, offset; in crypto_bignum_to_string() local
283 offset = padlen - num_bytes; in crypto_bignum_to_string()
285 offset = 0; in crypto_bignum_to_string()
288 os_memset(buf, 0, offset); in crypto_bignum_to_string()
[all …]
/hal_espressif-3.7.0/components/hal/esp32s2/include/hal/
Ddac_ll.h193 static inline void dac_ll_cw_set_dc_offset(dac_channel_t channel, int8_t offset) in dac_ll_cw_set_dc_offset() argument
197 offset = -offset; in dac_ll_cw_set_dc_offset()
199 HAL_FORCE_MODIFY_U32_REG_FIELD(SENS.sar_dac_ctrl2, dac_dc1, offset); in dac_ll_cw_set_dc_offset()
202 offset = -offset; in dac_ll_cw_set_dc_offset()
204 HAL_FORCE_MODIFY_U32_REG_FIELD(SENS.sar_dac_ctrl2, dac_dc2, offset); in dac_ll_cw_set_dc_offset()
Dmmu_ll.h142 uint32_t offset = 0; in mmu_ll_get_entry_id() local
145 offset = PRO_CACHE_IBUS2_MMU_START / 4; in mmu_ll_get_entry_id()
147 offset = PRO_CACHE_IBUS0_MMU_START / 4; in mmu_ll_get_entry_id()
149 offset = PRO_CACHE_IBUS1_MMU_START / 4; in mmu_ll_get_entry_id()
151 offset = PRO_CACHE_DBUS2_MMU_START / 4; in mmu_ll_get_entry_id()
153 offset = PRO_CACHE_DBUS1_MMU_START / 4; in mmu_ll_get_entry_id()
155 offset = PRO_CACHE_DBUS0_MMU_START / 4; in mmu_ll_get_entry_id()
160 return offset + ((vaddr & MMU_VADDR_MASK) >> 16); in mmu_ll_get_entry_id()
/hal_espressif-3.7.0/components/mbedtls/test_apps/main/
Dtest_aes.c425 size_t offset = 0; in aes_ctr_stream_test() local
431 mbedtls_aes_crypt_ctr(&ctx, length, &offset, nonce, in aes_ctr_stream_test()
442 offset = 0; in aes_ctr_stream_test()
446 mbedtls_aes_crypt_ctr(&ctx, length, &offset, nonce, in aes_ctr_stream_test()
528 size_t offset = 0; variable
532 mbedtls_aes_crypt_ofb(&ctx, length, &offset, iv, plaintext + idx, chipertext + idx);
540 offset = 0;
544 mbedtls_aes_crypt_ofb(&ctx, length, &offset, iv, chipertext + idx, decryptedtext + idx);
701 size_t offset = 0; variable
706 …mbedtls_aes_crypt_cfb128(&ctx, MBEDTLS_AES_ENCRYPT, length, &offset, iv, plaintext + idx, chiperte…
[all …]
/hal_espressif-3.7.0/components/xtensa/include/xtensa/
Dcacheasm.h317 .macro icache_invalidate_line ar, offset
319 ihi \ar, \offset // invalidate icache line
371 .macro icache_lock_line ar, offset
373 ipfl \ar, \offset /* prefetch and lock icache line */
407 .macro icache_unlock_line ar, offset
409 ihu \ar, \offset /* unlock icache line */
590 .macro dcache_invalidate_line ar, offset
592 dhi \ar, \offset
644 .macro dcache_writeback_line ar, offset
646 dhwb \ar, \offset
[all …]
/hal_espressif-3.7.0/components/bootloader_support/src/
Dbootloader_utility.c107 if (ota_info->offset == 0) { in read_otadata()
117 ESP_LOGD(TAG, "OTA data offset 0x%"PRIx32, ota_info->offset); in read_otadata()
118 ota_select_map = bootloader_mmap(ota_info->offset, ota_info->size); in read_otadata()
120 …ESP_LOGE(TAG, "bootloader_mmap(0x%"PRIx32", 0x%"PRIx32") failed", ota_info->offset, ota_info->size… in read_otadata()
133 if (partition == NULL || app_desc == NULL || partition->offset == 0) { in bootloader_common_get_partition_description()
139 const uint8_t *image = bootloader_mmap(partition->offset, mmap_size); in bootloader_common_get_partition_description()
141 … ESP_LOGE(TAG, "bootloader_mmap(0x%"PRIx32", 0x%"PRIx32") failed", partition->offset, mmap_size); in bootloader_common_get_partition_description()
227 esp_efuse_init_virtual_mode_in_flash(partition->pos.offset, partition->pos.size); in bootloader_utility_load_partition_table()
242 partition->pos.offset, partition->pos.size); in bootloader_utility_load_partition_table()
286 static esp_err_t write_otadata(esp_ota_select_entry_t *otadata, uint32_t offset, bool write_encrypt… in write_otadata() argument
[all …]
/hal_espressif-3.7.0/tools/esptool_py/docs/en/espefuse/
Dburn-block-data-cmd.rst20 * ``--offset``. Byte offset in the eFuse block.
22 …ample:** Write to eFuse BLOCK3 from binary file ``device_id.bin``, starting at eFuse byte offset 6:
26 > espefuse.py -p PORT burn_block_data --offset 6 BLOCK3 device_id.bin
29 …[03] BLOCK3 size=32 bytes, offset=06 - > [00 00 00 00 00 00 00 01 02 03 04 05 06 07 …
58 …f the eFuse block can be written at a time. The ``--offset`` argument allows writing to a byte off…
/hal_espressif-3.7.0/components/bt/host/bluedroid/btc/profile/std/gatt/
Dbtc_gattc.c227 static esp_gatt_status_t btc_gattc_check_valid_param(int num, uint16_t offset) in btc_gattc_check_valid_param() argument
231 } else if (offset >= num) { in btc_gattc_check_valid_param()
239 … uint16_t offset, void *result, btgatt_db_element_t *db) in btc_gattc_fill_gatt_db_conversion() argument
242 uint16_t db_size = (count + offset > num) ? (num - offset) : count; in btc_gattc_fill_gatt_db_conversion()
248 … svc_result->is_primary = (db[offset + i].type == BTGATT_DB_PRIMARY_SERVICE) ? true : false; in btc_gattc_fill_gatt_db_conversion()
249 svc_result->start_handle = db[offset + i].start_handle; in btc_gattc_fill_gatt_db_conversion()
250 svc_result->end_handle = db[offset + i].end_handle; in btc_gattc_fill_gatt_db_conversion()
251 btc128_to_bta_uuid(&bta_uuid, db[offset + i].uuid.uu); in btc_gattc_fill_gatt_db_conversion()
260 char_result->char_handle = db[offset + i].attribute_handle; in btc_gattc_fill_gatt_db_conversion()
261 char_result->properties = db[offset + i].properties; in btc_gattc_fill_gatt_db_conversion()
[all …]

123456789