Home
last modified time | relevance | path

Searched refs:UINT8_TO_STREAM (Results 1 – 24 of 24) sorted by relevance

/hal_espressif-3.4.0/examples/bluetooth/hci/hci_common_component/
Dbt_hci_common.c14 UINT8_TO_STREAM (buf, H4_TYPE_COMMAND); in make_cmd_set_evt_mask()
16 UINT8_TO_STREAM (buf, HCIC_PARAM_SIZE_SET_EVENT_MASK); in make_cmd_set_evt_mask()
24 UINT8_TO_STREAM (buf, H4_TYPE_COMMAND); in make_cmd_ble_set_scan_enable()
26 UINT8_TO_STREAM (buf, HCIC_PARAM_SIZE_BLE_WRITE_SCAN_ENABLE); in make_cmd_ble_set_scan_enable()
27 UINT8_TO_STREAM (buf, scan_enable); in make_cmd_ble_set_scan_enable()
28 UINT8_TO_STREAM (buf, filter_duplicates); in make_cmd_ble_set_scan_enable()
36 UINT8_TO_STREAM (buf, H4_TYPE_COMMAND); in make_cmd_ble_set_scan_params()
38 UINT8_TO_STREAM (buf, HCIC_PARAM_SIZE_BLE_WRITE_SCAN_PARAM); in make_cmd_ble_set_scan_params()
39 UINT8_TO_STREAM (buf, scan_type); in make_cmd_ble_set_scan_params()
42 UINT8_TO_STREAM (buf, own_addr_type); in make_cmd_ble_set_scan_params()
[all …]
/hal_espressif-3.4.0/components/bt/host/bluedroid/stack/hcic/
Dhciblecmds.c107 UINT8_TO_STREAM (pp, HCIC_PARAM_SIZE_WRITE_RANDOM_ADDR_CMD); in btsnd_hcic_ble_set_random_addr()
132 UINT8_TO_STREAM (pp, HCIC_PARAM_SIZE_BLE_WRITE_ADV_PARAMS ); in btsnd_hcic_ble_write_adv_params()
136 UINT8_TO_STREAM (pp, adv_type); in btsnd_hcic_ble_write_adv_params()
137 UINT8_TO_STREAM (pp, addr_type_own); in btsnd_hcic_ble_write_adv_params()
138 UINT8_TO_STREAM (pp, addr_type_dir); in btsnd_hcic_ble_write_adv_params()
140 UINT8_TO_STREAM (pp, channel_map); in btsnd_hcic_ble_write_adv_params()
141 UINT8_TO_STREAM (pp, adv_filter_policy); in btsnd_hcic_ble_write_adv_params()
161 UINT8_TO_STREAM (pp, HCIC_PARAM_SIZE_READ_CMD); in btsnd_hcic_ble_read_adv_chnl_tx_power()
187 UINT8_TO_STREAM (pp, HCIC_PARAM_SIZE_BLE_WRITE_ADV_DATA + 1); in btsnd_hcic_ble_set_adv_data()
197 UINT8_TO_STREAM (pp, data_len); in btsnd_hcic_ble_set_adv_data()
[all …]
Dhcicmds.c55 UINT8_TO_STREAM (pp, HCIC_PARAM_SIZE_INQUIRY); in btsnd_hcic_inquiry()
58 UINT8_TO_STREAM (pp, duration); in btsnd_hcic_inquiry()
59 UINT8_TO_STREAM (pp, response_cnt); in btsnd_hcic_inquiry()
79 UINT8_TO_STREAM (pp, HCIC_PARAM_SIZE_INQ_CANCEL); in btsnd_hcic_inq_cancel()
101 UINT8_TO_STREAM (pp, HCIC_PARAM_SIZE_PER_INQ_MODE); in btsnd_hcic_per_inq_mode()
106 UINT8_TO_STREAM (pp, duration); in btsnd_hcic_per_inq_mode()
107 UINT8_TO_STREAM (pp, response_cnt); in btsnd_hcic_per_inq_mode()
127 UINT8_TO_STREAM (pp, HCIC_PARAM_SIZE_EXIT_PER_INQ); in btsnd_hcic_exit_per_inq()
156 UINT8_TO_STREAM (pp, HCIC_PARAM_SIZE_CREATE_CONN); in btsnd_hcic_create_conn()
158 UINT8_TO_STREAM (pp, (HCIC_PARAM_SIZE_CREATE_CONN - 1)); in btsnd_hcic_create_conn()
[all …]
/hal_espressif-3.4.0/components/bt/host/bluedroid/stack/btm/
Dbtm_ble_adv_filter.c467 UINT8_TO_STREAM(p, BTM_BLE_META_PF_LOCAL_NAME); in btm_ble_update_pf_local_name()
468 UINT8_TO_STREAM(p, action); in btm_ble_update_pf_local_name()
471 UINT8_TO_STREAM(p, filt_index); in btm_ble_update_pf_local_name()
564 UINT8_TO_STREAM(p, BTM_BLE_META_PF_SRVC_DATA); in btm_ble_update_pf_manu_data()
566 UINT8_TO_STREAM(p, BTM_BLE_META_PF_MANU_DATA); in btm_ble_update_pf_manu_data()
569 UINT8_TO_STREAM(p, action); in btm_ble_update_pf_manu_data()
572 UINT8_TO_STREAM(p, filt_index); in btm_ble_update_pf_manu_data()
726 UINT8_TO_STREAM(p, BTM_BLE_META_PF_ADDR); in btm_ble_update_addr_filter()
727 UINT8_TO_STREAM(p, action); in btm_ble_update_addr_filter()
730 UINT8_TO_STREAM(p, filt_index); in btm_ble_update_addr_filter()
[all …]
Dbtm_ble_multi_adv.c206 UINT8_TO_STREAM (pp, BTM_BLE_MULTI_ADV_ENB); in btm_ble_enable_multi_adv()
207 UINT8_TO_STREAM (pp, enb); in btm_ble_enable_multi_adv()
208 UINT8_TO_STREAM (pp, inst_id); in btm_ble_enable_multi_adv()
262 UINT8_TO_STREAM(pp, BTM_BLE_MULTI_ADV_SET_PARAM); in btm_ble_multi_adv_set_params()
266 UINT8_TO_STREAM (pp, p_params->adv_type); in btm_ble_multi_adv_set_params()
270 UINT8_TO_STREAM (pp, BLE_ADDR_RANDOM); in btm_ble_multi_adv_set_params()
275 UINT8_TO_STREAM (pp, BLE_ADDR_PUBLIC); in btm_ble_multi_adv_set_params()
282 UINT8_TO_STREAM (pp, 0); in btm_ble_multi_adv_set_params()
288 UINT8_TO_STREAM (pp, p_params->channel_map); in btm_ble_multi_adv_set_params()
293 UINT8_TO_STREAM (pp, p_params->adv_filter_policy); in btm_ble_multi_adv_set_params()
[all …]
Dbtm_ble_batchscan.c318 UINT8_TO_STREAM (pp, BTM_BLE_BATCH_SCAN_READ_RESULTS); in btm_ble_read_batchscan_reports()
319 UINT8_TO_STREAM (pp, scan_mode); in btm_ble_read_batchscan_reports()
489 UINT8_TO_STREAM (pp, BTM_BLE_BATCH_SCAN_SET_STORAGE_PARAM); in btm_ble_set_storage_config()
490 UINT8_TO_STREAM (pp, batch_scan_full_max); in btm_ble_set_storage_config()
491 UINT8_TO_STREAM (pp, batch_scan_trunc_max); in btm_ble_set_storage_config()
492 UINT8_TO_STREAM (pp, batch_scan_notify_threshold); in btm_ble_set_storage_config()
533 UINT8_TO_STREAM (pp_scan, BTM_BLE_BATCH_SCAN_SET_PARAMS); in btm_ble_set_batchscan_param()
534 UINT8_TO_STREAM (pp_scan, scan_mode); in btm_ble_set_batchscan_param()
537 UINT8_TO_STREAM (pp_scan, addr_type); in btm_ble_set_batchscan_param()
538 UINT8_TO_STREAM (pp_scan, discard_rule); in btm_ble_set_batchscan_param()
[all …]
Dbtm_ble_privacy.c445 UINT8_TO_STREAM(p, BTM_BLE_META_REMOVE_IRK_ENTRY); in btm_ble_remove_resolving_list_entry()
446 UINT8_TO_STREAM(p, p_dev_rec->ble.static_addr_type); in btm_ble_remove_resolving_list_entry()
485 UINT8_TO_STREAM(p, BTM_BLE_META_CLEAR_IRK_LIST); in btm_ble_clear_resolving_list()
523 UINT8_TO_STREAM(p, BTM_BLE_META_READ_IRK_ENTRY); in btm_ble_read_resolving_list_entry()
524 UINT8_TO_STREAM(p, p_dev_rec->ble.resolving_list_index); in btm_ble_read_resolving_list_entry()
641 UINT8_TO_STREAM(p, BTM_BLE_META_IRK_ENABLE); in btm_ble_vendor_enable_irk_feature()
642 UINT8_TO_STREAM(p, enable ? 0x01 : 0x00); in btm_ble_vendor_enable_irk_feature()
802 UINT8_TO_STREAM(p, BTM_BLE_META_ADD_IRK_ENTRY); in btm_ble_resolving_list_load_dev()
804 UINT8_TO_STREAM(p, p_dev_rec->ble.static_addr_type); in btm_ble_resolving_list_load_dev()
Dbtm_ble_gap.c416 UINT8_TO_STREAM(pp_scan, scan_type); in btm_ble_send_extended_scan_params()
419 UINT8_TO_STREAM(pp_scan, addr_type_own); in btm_ble_send_extended_scan_params()
420 UINT8_TO_STREAM(pp_scan, scan_filter_policy); in btm_ble_send_extended_scan_params()
Dbtm_sco.c439 UINT8_TO_STREAM (p, (UINT8)p_buf->len); in BTM_WriteScoData()
/hal_espressif-3.4.0/components/bt/host/bluedroid/hci/
Dhci_packet_factory.c52 UINT8_TO_STREAM(stream, enable); in make_set_c2h_flow_control()
62 UINT8_TO_STREAM(stream, enable); in make_set_adv_report_flow_control()
75 UINT8_TO_STREAM(stream, sco_size); in make_host_buffer_size()
107 UINT8_TO_STREAM(stream, page_number); in make_read_local_extended_features()
117 UINT8_TO_STREAM(stream, mode); in make_write_simple_pairing_mode()
127 UINT8_TO_STREAM(stream, mode); in make_write_secure_connections_host_support()
147 UINT8_TO_STREAM(stream, supported_host); in make_ble_write_host_support()
148 UINT8_TO_STREAM(stream, simultaneous_host); in make_ble_write_host_support()
209 UINT8_TO_STREAM(stream, enable); in make_write_sync_flow_control_enable()
219 UINT8_TO_STREAM(stream, enable); in make_write_default_erroneous_data_report()
[all …]
/hal_espressif-3.4.0/components/bt/host/bluedroid/stack/smp/
Dsmp_utils.c423 UINT8_TO_STREAM (p, cmd_code); in smp_build_pairing_cmd()
424 UINT8_TO_STREAM (p, p_cb->local_io_capability); in smp_build_pairing_cmd()
425 UINT8_TO_STREAM (p, p_cb->loc_oob_flag); in smp_build_pairing_cmd()
426 UINT8_TO_STREAM (p, p_cb->loc_auth_req); in smp_build_pairing_cmd()
427 UINT8_TO_STREAM (p, p_cb->loc_enc_size); in smp_build_pairing_cmd()
428 UINT8_TO_STREAM (p, p_cb->local_i_key); in smp_build_pairing_cmd()
429 UINT8_TO_STREAM (p, p_cb->local_r_key); in smp_build_pairing_cmd()
456 UINT8_TO_STREAM (p, SMP_OPCODE_CONFIRM); in smp_build_confirm_cmd()
483 UINT8_TO_STREAM (p, SMP_OPCODE_RAND); in smp_build_rand_cmd()
509 UINT8_TO_STREAM (p, SMP_OPCODE_ENCRYPT_INFO); in smp_build_encrypt_info_cmd()
[all …]
Dsmp_keys.c490 UINT8_TO_STREAM(p, op_code); in smp_concatenate_local()
491 UINT8_TO_STREAM(p, p_cb->local_io_capability); in smp_concatenate_local()
492 UINT8_TO_STREAM(p, p_cb->loc_oob_flag); in smp_concatenate_local()
493 UINT8_TO_STREAM(p, p_cb->loc_auth_req); in smp_concatenate_local()
494 UINT8_TO_STREAM(p, p_cb->loc_enc_size); in smp_concatenate_local()
495 UINT8_TO_STREAM(p, p_cb->local_i_key); in smp_concatenate_local()
496 UINT8_TO_STREAM(p, p_cb->local_r_key); in smp_concatenate_local()
510 UINT8_TO_STREAM(p, op_code); in smp_concatenate_peer()
511 UINT8_TO_STREAM(p, p_cb->peer_io_caps); in smp_concatenate_peer()
512 UINT8_TO_STREAM(p, p_cb->peer_oob_flag); in smp_concatenate_peer()
[all …]
/hal_espressif-3.4.0/components/bt/host/bluedroid/stack/gatt/
Datt_protocol.c55 UINT8_TO_STREAM (p, op_code); in attp_build_mtu_cmd()
83 UINT8_TO_STREAM (p, op_code); in attp_build_exec_write_cmd()
87 UINT8_TO_STREAM (p, flag); in attp_build_exec_write_cmd()
113 UINT8_TO_STREAM (p, GATT_RSP_ERROR); in attp_build_err_cmd()
114 UINT8_TO_STREAM (p, cmd_code); in attp_build_err_cmd()
116 UINT8_TO_STREAM (p, reason); in attp_build_err_cmd()
144 UINT8_TO_STREAM (p, op_code); in attp_build_browse_cmd()
173 UINT8_TO_STREAM (p, GATT_REQ_FIND_TYPE_VALUE); in attp_build_read_by_type_value_cmd()
209 UINT8_TO_STREAM (p, GATT_REQ_READ_MULTI); in attp_build_read_multi_cmd()
238 UINT8_TO_STREAM (p, op_code); in attp_build_handle_cmd()
[all …]
Dgatt_auth.c59 UINT8_TO_STREAM(p, GATT_SIGN_CMD_WRITE); in gatt_sign_data()
Dgatt_db.c250 UINT8_TO_STREAM(p, p_attr16->p_value->char_decl.property); in read_attr_value()
/hal_espressif-3.4.0/components/bt/host/bluedroid/stack/l2cap/
Dl2c_utils.c458 UINT8_TO_STREAM (p, cmd); in l2cu_build_header()
459 UINT8_TO_STREAM (p, id); in l2cu_build_header()
694 UINT8_TO_STREAM (p, L2CAP_CFG_TYPE_MTU); in l2cu_send_peer_config_req()
695 UINT8_TO_STREAM (p, L2CAP_CFG_MTU_OPTION_LEN); in l2cu_send_peer_config_req()
699 UINT8_TO_STREAM (p, L2CAP_CFG_TYPE_FLUSH_TOUT); in l2cu_send_peer_config_req()
700 UINT8_TO_STREAM (p, L2CAP_CFG_FLUSH_OPTION_LEN); in l2cu_send_peer_config_req()
704 UINT8_TO_STREAM (p, L2CAP_CFG_TYPE_QOS); in l2cu_send_peer_config_req()
705 UINT8_TO_STREAM (p, L2CAP_CFG_QOS_OPTION_LEN); in l2cu_send_peer_config_req()
706 UINT8_TO_STREAM (p, p_cfg->qos.qos_flags); in l2cu_send_peer_config_req()
707 UINT8_TO_STREAM (p, p_cfg->qos.service_type); in l2cu_send_peer_config_req()
[all …]
/hal_espressif-3.4.0/components/bt/host/bluedroid/btc/profile/std/battery/
Dbattery_prf.c547 UINT8_TO_STREAM(pp, p_rsp->ba_level); in Battery_Rsp()
561 UINT8_TO_STREAM(pp, p_rsp->rpt_ref.rpt_id); in Battery_Rsp()
562 UINT8_TO_STREAM(pp, p_rsp->rpt_ref.rpt_type); in Battery_Rsp()
/hal_espressif-3.4.0/examples/bluetooth/hci/hci_common_component/include/
Dbt_hci_common.h52 #define UINT8_TO_STREAM(p, u8) {*(p)++ = (uint8_t)(u8);} macro
/hal_espressif-3.4.0/components/bt/host/bluedroid/bta/dm/
Dbta_dm_act.c4026 UINT8_TO_STREAM(p, local_name_len + 1); in bta_dm_set_eir()
4027 UINT8_TO_STREAM(p, data_type); in bta_dm_set_eir()
4053 UINT8_TO_STREAM(p, num_uuid * LEN_UUID_16 + 1); in bta_dm_set_eir()
4054 UINT8_TO_STREAM(p, data_type); in bta_dm_set_eir()
4093 UINT8_TO_STREAM(p_length, num_uuid * LEN_UUID_16 + 1); in bta_dm_set_eir()
4094 UINT8_TO_STREAM(p_type, data_type); in bta_dm_set_eir()
4125 UINT8_TO_STREAM(p_length, num_uuid * LEN_UUID_32 + 1); in bta_dm_set_eir()
4126 UINT8_TO_STREAM(p_type, data_type); in bta_dm_set_eir()
4155 UINT8_TO_STREAM(p_length, num_uuid * LEN_UUID_128 + 1); in bta_dm_set_eir()
4156 UINT8_TO_STREAM(p_type, data_type); in bta_dm_set_eir()
[all …]
/hal_espressif-3.4.0/components/bt/host/bluedroid/btc/profile/std/dis/
Ddis_profile.c179 UINT8_TO_STREAM(p, dis_cb.dis_value.pnp_id.vendor_id_src); in dis_s_read_attr_value()
/hal_espressif-3.4.0/components/bt/host/bluedroid/stack/avct/
Davct_lcb_act.c565 UINT8_TO_STREAM(p, nosp); in avct_lcb_send_msg()
/hal_espressif-3.4.0/components/bt/host/bluedroid/stack/gap/
Dgap_ble.c256 UINT8_TO_STREAM(p, p_db_attr->attr_value.addr_resolution); in gap_read_attr_value()
/hal_espressif-3.4.0/components/bt/host/bluedroid/stack/include/stack/
Dbt_types.h235 #define UINT8_TO_STREAM(p, u8) {*(p)++ = (UINT8)(u8);} macro
/hal_espressif-3.4.0/components/bt/host/bluedroid/bta/hh/
Dbta_hh_le.c1826 UINT8_TO_STREAM(pp, p_rpt->rpt_id); in bta_hh_le_proc_get_rpt_cmpl()