/Zephyr-latest/subsys/bluetooth/host/classic/ |
D | sdp.c | 670 net_buf_add_u8(resp_buf, SDP_SS_CONT_STATE_SIZE); in sdp_svc_search_req() 671 net_buf_add_u8(resp_buf, cont_state); in sdp_svc_search_req() 691 net_buf_add_u8(resp_buf, 0); in sdp_svc_search_req() 732 net_buf_add_u8(buf, elem->type); in copy_attribute() 736 net_buf_add_u8(buf, elem->data_size); in copy_attribute() 761 net_buf_add_u8(buf, *((uint8_t *)elem->data)); in copy_attribute() 882 net_buf_add_u8(sad->rsp_buf, BT_SDP_UINT16); in select_attrs() 1156 net_buf_add_u8(rsp_buf, BT_SDP_SEQ8); in sdp_svc_att_req() 1157 net_buf_add_u8(rsp_buf, 0); in sdp_svc_att_req() 1164 net_buf_add_u8(rsp_buf, 1); in sdp_svc_att_req() [all …]
|
D | avdtp.c | 290 net_buf_add_u8(rsp_buf, error_code); in avdtp_discover_handler() 393 net_buf_add_u8(rsp_buf, error_code); in avdtp_get_capabilities_handler() 486 net_buf_add_u8(rsp_buf, BT_AVDTP_SERVICE_MEDIA_CODEC); in avdtp_process_configuration() 488 net_buf_add_u8(rsp_buf, 0); in avdtp_process_configuration() 490 net_buf_add_u8(rsp_buf, error_code); in avdtp_process_configuration() 598 net_buf_add_u8(rsp_buf, error_code); in avdtp_open_handler() 672 net_buf_add_u8(rsp_buf, error_code); in avdtp_start_handler() 746 net_buf_add_u8(rsp_buf, error_code); in avdtp_close_handler() 817 net_buf_add_u8(rsp_buf, error_code); in avdtp_suspend_handler() 887 net_buf_add_u8(rsp_buf, error_code); in avdtp_abort_handler() [all …]
|
D | rfcomm.c | 346 net_buf_add_u8(buf, fcs); in rfcomm_send_sabm() 367 net_buf_add_u8(buf, fcs); in rfcomm_send_disc() 514 net_buf_add_u8(buf, fcs); in rfcomm_send_dm() 653 net_buf_add_u8(buf, fcs); in rfcomm_send_ua() 674 net_buf_add_u8(buf, fcs); in rfcomm_send_msc() 695 net_buf_add_u8(buf, fcs); in rfcomm_send_rls() 711 net_buf_add_u8(buf, fcs); in rfcomm_send_rpn() 727 net_buf_add_u8(buf, fcs); in rfcomm_send_test() 740 net_buf_add_u8(buf, cmd_type); in rfcomm_send_nsc() 743 net_buf_add_u8(buf, fcs); in rfcomm_send_nsc() [all …]
|
D | a2dp.c | 132 net_buf_add_u8(rsp_buf, BT_AVDTP_SERVICE_MEDIA_TRANSPORT); in a2dp_get_capabilities_ind() 133 net_buf_add_u8(rsp_buf, 0); in a2dp_get_capabilities_ind() 135 net_buf_add_u8(rsp_buf, BT_AVDTP_SERVICE_MEDIA_CODEC); in a2dp_get_capabilities_ind() 138 net_buf_add_u8(rsp_buf, ep->codec_cap->len + 2U); in a2dp_get_capabilities_ind() 140 net_buf_add_u8(rsp_buf, sep->sep_info.media_type << 4U); in a2dp_get_capabilities_ind() 142 net_buf_add_u8(rsp_buf, ep->codec_type); in a2dp_get_capabilities_ind()
|
D | l2cap_br.c | 706 net_buf_add_u8(buf, BT_L2CAP_CONF_OPT_MTU); in l2cap_br_conf_add_mtu() 707 net_buf_add_u8(buf, sizeof(mtu)); in l2cap_br_conf_add_mtu() 713 net_buf_add_u8(buf, opt->type & BT_L2CAP_CONF_MASK); in l2cap_br_conf_add_opt() 714 net_buf_add_u8(buf, opt->len); in l2cap_br_conf_add_opt()
|
/Zephyr-latest/subsys/bluetooth/mesh/shell/ |
D | hci.c | 40 net_buf_add_u8(buf, BT_HCI_OC_MESH_ADVERTISE); in cmd_mesh_adv() 68 net_buf_add_u8(buf, BT_HCI_OC_MESH_ADVERTISE_CANCEL); in cmd_mesh_adv()
|
/Zephyr-latest/tests/bsim/bluetooth/host/att/sequential/tester/src/ |
D | main.c | 194 net_buf_add_u8(buf, BT_ATT_OP_WRITE_RSP); in send_write_rsp() 472 net_buf_add_u8(buf, BT_HCI_LE_ADV_ENABLE); in start_adv() 531 net_buf_add_u8(buf, op); in gatt_write() 547 net_buf_add_u8(buf, BT_ATT_OP_NOTIFY); in gatt_notify() 561 net_buf_add_u8(buf, BT_ATT_OP_INDICATE); in gatt_indicate()
|
/Zephyr-latest/subsys/usb/device/class/ |
D | bluetooth.c | 373 net_buf_add_u8(rsp, BT_HCI_VS_USB_H2_MODE); in vs_read_usb_transport_mode() 374 net_buf_add_u8(rsp, BT_HCI_VS_USB_H4_MODE); in vs_read_usb_transport_mode()
|
/Zephyr-latest/tests/bsim/bluetooth/host/l2cap/reassembly/peer/src/ |
D | peer.c | 417 net_buf_add_u8(buf, BT_HCI_LE_ADV_ENABLE); in start_adv() 526 net_buf_add_u8(buf, BT_ATT_OP_NOTIFY); in gatt_notify() 542 net_buf_add_u8(att_packet, BT_ATT_OP_NOTIFY); in gatt_notify_without_last_fragment()
|
/Zephyr-latest/tests/bsim/bluetooth/host/misc/disconnect/tester/src/ |
D | main.c | 178 net_buf_add_u8(buf, BT_ATT_OP_WRITE_RSP); in send_write_rsp() 450 net_buf_add_u8(buf, BT_HCI_LE_ADV_ENABLE); in start_adv() 509 net_buf_add_u8(buf, BT_ATT_OP_NOTIFY); in gatt_notify()
|
/Zephyr-latest/tests/bsim/bluetooth/host/att/pipeline/tester/src/ |
D | main.c | 200 net_buf_add_u8(buf, BT_ATT_OP_WRITE_RSP); in send_write_rsp() 496 net_buf_add_u8(buf, BT_HCI_LE_ADV_ENABLE); in start_adv() 555 net_buf_add_u8(buf, op); in gatt_write()
|
/Zephyr-latest/subsys/mgmt/mcumgr/transport/src/ |
D | smp_shell.c | 160 net_buf_add_u8(data->buf, byte); in smp_shell_rx_bytes()
|
/Zephyr-latest/tests/bsim/bluetooth/host/iso/frag/src/ |
D | broadcaster.c | 44 net_buf_add_u8(buf, 0x11); in send_data()
|
/Zephyr-latest/tests/bsim/bluetooth/host/l2cap/send_on_connect/src/ |
D | main_l2cap_send_on_connect.c | 39 (void)net_buf_add_u8(buf, DATA_BYTE_VAL); in chan_connected_cb()
|
/Zephyr-latest/subsys/bluetooth/host/ |
D | adv.c | 331 net_buf_add_u8(buf, BT_HCI_LE_ADV_ENABLE); in bt_le_adv_set_enable_legacy() 333 net_buf_add_u8(buf, BT_HCI_LE_ADV_DISABLE); in bt_le_adv_set_enable_legacy() 360 net_buf_add_u8(buf, BT_HCI_LE_ADV_ENABLE); in bt_le_adv_set_enable_ext() 362 net_buf_add_u8(buf, BT_HCI_LE_ADV_DISABLE); in bt_le_adv_set_enable_ext() 365 net_buf_add_u8(buf, 1); in bt_le_adv_set_enable_ext() 367 net_buf_add_u8(buf, adv->handle); in bt_le_adv_set_enable_ext() 369 net_buf_add_u8(buf, param ? param->num_events : 0); in bt_le_adv_set_enable_ext()
|
D | cs.c | 534 net_buf_add_u8(buf, num_channels); in bt_le_cs_start_test() 541 net_buf_add_u8(buf, params->override_config_0.not_set.channel_selection_type); in bt_le_cs_start_test() 542 net_buf_add_u8(buf, params->override_config_0.not_set.ch3c_shape); in bt_le_cs_start_test() 543 net_buf_add_u8(buf, params->override_config_0.not_set.ch3c_jump); in bt_le_cs_start_test()
|
/Zephyr-latest/samples/bluetooth/hci_uart_async/src/ |
D | hci_uart_async.c | 153 net_buf_add_u8(buf, BT_HCI_H4_EVT); in send_hw_error()
|
/Zephyr-latest/drivers/net/ |
D | slip.c | 294 slip->ptr = net_buf_add_u8(slip->last, c); in slip_input_byte()
|
/Zephyr-latest/subsys/usb/device_next/ |
D | usbd_ch9.c | 605 net_buf_add_u8(buf, ascii7_str[i]); in string_ascii7_to_utf16le() 843 net_buf_add_u8(buf, cfg); in sreq_get_configuration() 894 net_buf_add_u8(buf, cur_alt); in sreq_get_interface()
|
/Zephyr-latest/subsys/usb/device_next/class/ |
D | usbd_hid.c | 189 net_buf_add_u8(buf, duration); in handle_get_idle() 327 net_buf_add_u8(buf, ddata->protocol); in handle_get_protocol()
|
/Zephyr-latest/doc/services/net_buf/ |
D | index.rst | 77 uint8_t *net_buf_add_u8(struct net_buf *buf, uint8_t value);
|
/Zephyr-latest/samples/net/wpan_serial/src/ |
D | main.c | 133 net_buf_add_u8(buf, c); in slip_process_byte()
|
/Zephyr-latest/subsys/net/lib/dns/ |
D | dns_pack.c | 524 net_buf_add_u8(buf, '.'); in dns_unpack_name()
|
/Zephyr-latest/tests/bluetooth/host_long_adv_recv/src/ |
D | main.c | 325 net_buf_add_u8(buf, 1); /* Number of reports */ in adv_report_evt()
|
/Zephyr-latest/subsys/bluetooth/mesh/ |
D | friend.c | 351 net_buf_add_u8(buf, (info->iv_index & 1) << 7); /* Will be reset in encryption */ in create_friend_pdu() 354 net_buf_add_u8(buf, info->ttl | 0x80); in create_friend_pdu() 356 net_buf_add_u8(buf, info->ttl); in create_friend_pdu()
|