Home
last modified time | relevance | path

Searched refs:UINT16_TO_STREAM (Results 1 – 25 of 34) sorted by relevance

12

/hal_espressif-latest/components/bt/host/bluedroid/stack/hcic/
Dhciblecmds.c84 UINT16_TO_STREAM (pp, HCI_BLE_WRITE_LOCAL_SPT_FEAT); in btsnd_hcic_ble_set_local_used_feat()
105 UINT16_TO_STREAM (pp, HCI_BLE_WRITE_RANDOM_ADDR); in btsnd_hcic_ble_set_random_addr()
130 UINT16_TO_STREAM (pp, HCI_BLE_WRITE_ADV_PARAMS); in btsnd_hcic_ble_write_adv_params()
133 UINT16_TO_STREAM (pp, adv_int_min); in btsnd_hcic_ble_write_adv_params()
134 UINT16_TO_STREAM (pp, adv_int_max); in btsnd_hcic_ble_write_adv_params()
159 UINT16_TO_STREAM (pp, HCI_BLE_READ_ADV_CHNL_TX_POWER); in btsnd_hcic_ble_read_adv_chnl_tx_power()
185 UINT16_TO_STREAM (pp, HCI_BLE_WRITE_ADV_DATA); in btsnd_hcic_ble_set_adv_data()
218 UINT16_TO_STREAM (pp, HCI_BLE_WRITE_SCAN_RSP_DATA); in btsnd_hcic_ble_set_scan_rsp_data()
254 UINT16_TO_STREAM (pp, HCI_BLE_WRITE_ADV_ENABLE); in btsnd_hcic_ble_set_adv_enable()
278 UINT16_TO_STREAM (pp, HCI_BLE_WRITE_SCAN_PARAMS); in btsnd_hcic_ble_set_scan_params()
[all …]
Dhcicmds.c52 UINT16_TO_STREAM (pp, HCI_INQUIRY); in btsnd_hcic_inquiry()
76 UINT16_TO_STREAM (pp, HCI_INQUIRY_CANCEL); in btsnd_hcic_inq_cancel()
98 UINT16_TO_STREAM (pp, HCI_PERIODIC_INQUIRY_MODE); in btsnd_hcic_per_inq_mode()
101 UINT16_TO_STREAM (pp, max_period); in btsnd_hcic_per_inq_mode()
102 UINT16_TO_STREAM (pp, min_period); in btsnd_hcic_per_inq_mode()
124 UINT16_TO_STREAM (pp, HCI_EXIT_PERIODIC_INQUIRY_MODE); in btsnd_hcic_exit_per_inq()
152 UINT16_TO_STREAM (pp, HCI_CREATE_CONNECTION); in btsnd_hcic_create_conn()
159 UINT16_TO_STREAM (pp, packet_types); in btsnd_hcic_create_conn()
162 UINT16_TO_STREAM (pp, clock_offset); in btsnd_hcic_create_conn()
186 UINT16_TO_STREAM (pp, HCI_DISCONNECT); in btsnd_hcic_disconnect()
[all …]
/hal_espressif-latest/components/bt/host/bluedroid/stack/gatt/
Dgatt_sr_hash.c118 UINT16_TO_STREAM(p_data, p_attr->handle); in fill_database_info()
119 UINT16_TO_STREAM(p_data, p_attr->uuid); in fill_database_info()
123 UINT16_TO_STREAM(p_data, p_attr->handle); in fill_database_info()
124 UINT16_TO_STREAM(p_data, GATT_UUID_INCLUDE_SERVICE); in fill_database_info()
125 UINT16_TO_STREAM(p_data, p_attr->p_value->incl_handle.s_handle); in fill_database_info()
126 UINT16_TO_STREAM(p_data, p_attr->p_value->incl_handle.e_handle); in fill_database_info()
131 UINT16_TO_STREAM(p_data, p_attr->handle); in fill_database_info()
132 UINT16_TO_STREAM(p_data, GATT_UUID_CHAR_DECLARE); in fill_database_info()
134 UINT16_TO_STREAM(p_data, p_attr->p_value->char_decl.char_val_handle); in fill_database_info()
145 UINT16_TO_STREAM(p_data, p_attr->handle); in fill_database_info()
[all …]
Datt_protocol.c56 UINT16_TO_STREAM (p, rx_mtu); in attp_build_mtu_cmd()
115 UINT16_TO_STREAM(p, err_handle); in attp_build_err_cmd()
147 UINT16_TO_STREAM (p, s_hdl); in attp_build_browse_cmd()
148 UINT16_TO_STREAM (p, e_hdl); in attp_build_browse_cmd()
176 UINT16_TO_STREAM (p, p_value_type->s_handle); in attp_build_read_by_type_value_cmd()
177 UINT16_TO_STREAM (p, p_value_type->e_handle); in attp_build_read_by_type_value_cmd()
214 UINT16_TO_STREAM (p, *(p_handle + i)); in attp_build_read_multi_cmd()
243 UINT16_TO_STREAM (p, handle); in attp_build_handle_cmd()
247 UINT16_TO_STREAM (p, offset); in attp_build_handle_cmd()
308 UINT16_TO_STREAM (p, handle); in attp_build_value_cmd()
[all …]
Dgatt_sr.c355 UINT16_TO_STREAM(p, p_rsp->attr_value.len); in process_read_multi_var_rsp()
754 UINT16_TO_STREAM(p, p_rcb->s_hdl); in gatt_build_primary_service_rsp()
759UINT16_TO_STREAM(p, 0xFFFF); /* see GATT ERRATA 4065, 4063, ATT ERRATA 4062 */ in gatt_build_primary_service_rsp()
761 UINT16_TO_STREAM(p, p_rcb->e_hdl); in gatt_build_primary_service_rsp()
824 UINT16_TO_STREAM(p, p_attr->handle); in gatt_build_find_info_rsp()
825 UINT16_TO_STREAM(p, p_attr->uuid); in gatt_build_find_info_rsp()
827 UINT16_TO_STREAM(p, p_attr->handle); in gatt_build_find_info_rsp()
830 UINT16_TO_STREAM(p, p_attr->handle); in gatt_build_find_info_rsp()
Dgatt_db.c249 UINT16_TO_STREAM(p, p_attr16->p_value->char_decl.char_val_handle); in read_attr_value()
252 UINT16_TO_STREAM(p, ((tGATT_ATTR16 *)(p_attr16->p_next))->uuid); in read_attr_value()
272 UINT16_TO_STREAM(p, p_attr16->p_value->incl_handle.s_handle); in read_attr_value()
273 UINT16_TO_STREAM(p, p_attr16->p_value->incl_handle.e_handle); in read_attr_value()
276 UINT16_TO_STREAM(p, p_attr16->p_value->incl_handle.service_type.uu.uuid16); in read_attr_value()
370 UINT16_TO_STREAM (p, p_attr->handle); in gatts_db_read_attr_value_by_type()
Dgatt_auth.c60 UINT16_TO_STREAM(p, p_attr->handle); in gatt_sign_data()
Dgatt_main.c1070 UINT16_TO_STREAM (p, 1); in gatt_send_srv_chg_ind()
1071 UINT16_TO_STREAM (p, 0xFFFF); in gatt_send_srv_chg_ind()
Dgatt_api.c1777 UINT16_TO_STREAM(p, p_hlv->handle); //handle in GATTS_HandleMultiValueNotification()
1778 UINT16_TO_STREAM(p, p_hlv->length); //length in GATTS_HandleMultiValueNotification()
/hal_espressif-latest/components/bt/host/bluedroid/stack/l2cap/
Dl2c_utils.c433UINT16_TO_STREAM (p, (p_lcb->handle | (L2CAP_PKT_START_NON_FLUSHABLE << L2CAP_PKT_TYPE_SHIFT))); in l2cu_build_header()
438 UINT16_TO_STREAM (p, p_lcb->handle | l2cb.non_flushable_pbf); in l2cu_build_header()
440 UINT16_TO_STREAM (p, (p_lcb->handle | (L2CAP_PKT_START << L2CAP_PKT_TYPE_SHIFT))); in l2cu_build_header()
444 UINT16_TO_STREAM (p, len + L2CAP_PKT_OVERHEAD + L2CAP_CMD_OVERHEAD); in l2cu_build_header()
445 UINT16_TO_STREAM (p, len + L2CAP_CMD_OVERHEAD); in l2cu_build_header()
452 UINT16_TO_STREAM (p, L2CAP_BLE_SIGNALLING_CID); in l2cu_build_header()
458 UINT16_TO_STREAM (p, L2CAP_SIGNALLING_CID); in l2cu_build_header()
464 UINT16_TO_STREAM (p, len); in l2cu_build_header()
520 UINT16_TO_STREAM (p, reason); in l2cu_send_peer_cmd_reject()
523 UINT16_TO_STREAM (p, p1); in l2cu_send_peer_cmd_reject()
[all …]
Dl2c_main.c88 UINT16_TO_STREAM (p, 0x0050 | (L2CAP_PKT_START << 12) | (2 << 14));
93 UINT16_TO_STREAM (p, acl_data_size);
95 UINT16_TO_STREAM (p, p_buf->len);
99 UINT16_TO_STREAM (p, p_buf->len - L2CAP_PKT_OVERHEAD);
100 UINT16_TO_STREAM (p, L2CAP_CONNECTIONLESS_CID);
101 UINT16_TO_STREAM (p, psm);
Dl2c_fcr.c451 UINT16_TO_STREAM (p, ctrl_word); in prepare_I_frame()
457 UINT16_TO_STREAM (p, p_buf->len + L2CAP_FCS_LEN - L2CAP_PKT_OVERHEAD); in prepare_I_frame()
465 UINT16_TO_STREAM (p, fcs); in prepare_I_frame()
539 UINT16_TO_STREAM (p, L2CAP_FCR_OVERHEAD + L2CAP_FCS_LEN); in l2c_fcr_send_S_frame()
540 UINT16_TO_STREAM (p, p_ccb->remote_cid); in l2c_fcr_send_S_frame()
541 UINT16_TO_STREAM (p, ctrl_word); in l2c_fcr_send_S_frame()
547 UINT16_TO_STREAM (p, fcs); in l2c_fcr_send_S_frame()
551 UINT16_TO_STREAM (p, L2CAP_FCR_OVERHEAD); in l2c_fcr_send_S_frame()
1616 UINT16_TO_STREAM (p, p_xmit->len - L2CAP_PKT_OVERHEAD); in l2c_fcr_get_next_xmit_sdu_seg()
1618 UINT16_TO_STREAM (p, p_ccb->remote_cid); in l2c_fcr_get_next_xmit_sdu_seg()
[all …]
Dl2c_csm.c1242 UINT16_TO_STREAM (p, p_buf->len - L2CAP_PKT_OVERHEAD); in l2c_enqueue_peer_data()
1243 UINT16_TO_STREAM (p, p_ccb->remote_cid); in l2c_enqueue_peer_data()
Dl2c_ucd.c411 UINT16_TO_STREAM (p, psm); in L2CA_UcdDataWrite()
/hal_espressif-latest/components/bt/host/bluedroid/hci/
Dhci_packet_factory.c62 UINT16_TO_STREAM(stream, num); in make_set_adv_report_flow_control()
63 UINT16_TO_STREAM(stream, lost_threshold); in make_set_adv_report_flow_control()
73 UINT16_TO_STREAM(stream, acl_size); in make_host_buffer_size()
75 UINT16_TO_STREAM(stream, acl_count); in make_host_buffer_size()
76 UINT16_TO_STREAM(stream, sco_count); in make_host_buffer_size()
187 UINT16_TO_STREAM(stream, SuggestedMaxTxOctets); in make_ble_write_suggested_default_data_length()
188 UINT16_TO_STREAM(stream, SuggestedMaxTxTime); in make_ble_write_suggested_default_data_length()
241 UINT16_TO_STREAM(stream, opcode); in make_command()
Dpacket_fragmenter.c103 UINT16_TO_STREAM(stream, max_data_size); in fragment_and_dispatch()
112 UINT16_TO_STREAM(stream, continuation_handle); in fragment_and_dispatch()
113 UINT16_TO_STREAM(stream, remaining_length - HCI_ACL_PREAMBLE_SIZE); in fragment_and_dispatch()
189 UINT16_TO_STREAM(stream, full_length - HCI_ACL_PREAMBLE_SIZE); in reassemble_and_dispatch()
/hal_espressif-latest/components/bt/host/bluedroid/btc/profile/std/dis/
Ddis_profile.c180 UINT16_TO_STREAM(p, dis_cb.dis_value.pnp_id.vendor_id); in dis_s_read_attr_value()
181 UINT16_TO_STREAM(p, dis_cb.dis_value.pnp_id.product_id); in dis_s_read_attr_value()
182 UINT16_TO_STREAM(p, dis_cb.dis_value.pnp_id.product_version); in dis_s_read_attr_value()
/hal_espressif-latest/components/bt/host/bluedroid/stack/btm/
Dbtm_ble_adv_filter.c602 UINT16_TO_STREAM(p, p_manu_data->company_id); in btm_ble_update_pf_manu_data()
611 UINT16_TO_STREAM (p, p_manu_data->company_id_mask); in btm_ble_update_pf_manu_data()
830 UINT16_TO_STREAM(p, p_uuid_cond->uuid.uu.uuid16); in btm_ble_update_uuid_filter()
845 UINT16_TO_STREAM(p, p_uuid_cond->p_uuid_mask->uuid16_mask); in btm_ble_update_uuid_filter()
1043 UINT16_TO_STREAM(p, p_filt_params->feat_seln); in BTM_BleAdvFilterParamSetup()
1045 UINT16_TO_STREAM(p, p_filt_params->logic_type); in BTM_BleAdvFilterParamSetup()
1055 UINT16_TO_STREAM(p, p_filt_params->found_timeout); in BTM_BleAdvFilterParamSetup()
1061 UINT16_TO_STREAM(p, p_filt_params->lost_timeout); in BTM_BleAdvFilterParamSetup()
1064 UINT16_TO_STREAM(p, p_filt_params->num_of_tracking_entries); in BTM_BleAdvFilterParamSetup()
Dbtm_ble_multi_adv.c264 UINT16_TO_STREAM (pp, p_params->adv_int_min); in btm_ble_multi_adv_set_params()
265 UINT16_TO_STREAM (pp, p_params->adv_int_max); in btm_ble_multi_adv_set_params()
Dbtm_ble_gap.c2251 UINT16_TO_STREAM(p, p_data->appearance); in btm_ble_build_adv_data()
2320 UINT16_TO_STREAM(p, *(p_data->p_services->p_uuid + i)); in btm_ble_build_adv_data()
2405 UINT16_TO_STREAM(p, p_data->p_service_data->service_uuid.uu.uuid16); in btm_ble_build_adv_data()
2428 UINT16_TO_STREAM(p, p_data->int_range.low); in btm_ble_build_adv_data()
2429 UINT16_TO_STREAM(p, p_data->int_range.hi); in btm_ble_build_adv_data()
/hal_espressif-latest/components/bt/host/bluedroid/stack/gap/
Dgap_ble.c242 UINT16_TO_STREAM(p, p_db_attr->attr_value.icon); in gap_read_attr_value()
247 UINT16_TO_STREAM(p, p_db_attr->attr_value.conn_param.int_min); /* int_min */ in gap_read_attr_value()
248 UINT16_TO_STREAM(p, p_db_attr->attr_value.conn_param.int_max); /* int_max */ in gap_read_attr_value()
249 UINT16_TO_STREAM(p, p_db_attr->attr_value.conn_param.latency); /* latency */ in gap_read_attr_value()
250 UINT16_TO_STREAM(p, p_db_attr->attr_value.conn_param.sp_tout); /* sp_tout */ in gap_read_attr_value()
/hal_espressif-latest/components/bt/host/bluedroid/bta/gatt/
Dbta_gatts_utils.c53 UINT16_TO_STREAM(p, uuid_16); in bta_gatt_convert_uuid16_to_uuid128()
/hal_espressif-latest/components/bt/host/bluedroid/btc/profile/std/battery/
Dbattery_prf.c533 UINT16_TO_STREAM(pp, p_rsp->clt_cfg); in Battery_Rsp()
/hal_espressif-latest/components/bt/host/bluedroid/stack/include/stack/
Dbt_types.h234 #define UINT16_TO_STREAM(p, u16) {*(p)++ = (UINT8)(u16); *(p)++ = (UINT8)((u16) >> 8);} macro
/hal_espressif-latest/components/bt/host/bluedroid/bta/hh/
Dbta_hh_le.c902 UINT16_TO_STREAM(pp, clt_cfg_value); in bta_hh_le_write_char_clt_cfg()
2698 UINT16_TO_STREAM(p, p_buf->le_scpp_update.scan_int); in bta_hh_le_update_scpp()
2699 UINT16_TO_STREAM(p, p_buf->le_scpp_update.scan_win); in bta_hh_le_update_scpp()

12