Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/examples/bluetooth/esp_ble_mesh/common_components/fast_provisioning/
Dble_mesh_fast_prov_server_model.c168 net_buf_simple_add_u8(msg, 0x01); /* invalid ctx_flags */ in example_fast_prov_server_recv_msg()
191 net_buf_simple_add_u8(msg, 0x01); /* too large match value length */ in example_fast_prov_server_recv_msg()
209 net_buf_simple_add_u8(msg, 0x00); /* action succeed */ in example_fast_prov_server_recv_msg()
212 net_buf_simple_add_u8(msg, 0x04); /* action already in progress */ in example_fast_prov_server_recv_msg()
228 net_buf_simple_add_u8(msg, status_unicast); in example_fast_prov_server_recv_msg()
236 net_buf_simple_add_u8(msg, 0x01); /* not a group address */ in example_fast_prov_server_recv_msg()
243 net_buf_simple_add_u8(msg, 0x02); /* add group address failed */ in example_fast_prov_server_recv_msg()
252 net_buf_simple_add_u8(msg, 0x01); /* not a unicast address */ in example_fast_prov_server_recv_msg()
260 net_buf_simple_add_u8(msg, 0x01); /* action failed */ in example_fast_prov_server_recv_msg()
265 net_buf_simple_add_u8(msg, 0x03); /* none action */ in example_fast_prov_server_recv_msg()
[all …]
Dble_mesh_fast_prov_operation.c457 net_buf_simple_add_u8(msg, set->flags); in example_send_fast_prov_info_set()
475 net_buf_simple_add_u8(msg, set->action); in example_send_fast_prov_info_set()
/hal_espressif-3.6.0/components/bt/esp_ble_mesh/mesh_models/client/
Dlighting_client.c812 net_buf_simple_add_u8(msg, set->tid); in light_set_state()
814 net_buf_simple_add_u8(msg, set->trans_time); in light_set_state()
815 net_buf_simple_add_u8(msg, set->delay); in light_set_state()
824 net_buf_simple_add_u8(msg, set->tid); in light_set_state()
826 net_buf_simple_add_u8(msg, set->trans_time); in light_set_state()
827 net_buf_simple_add_u8(msg, set->delay); in light_set_state()
853 net_buf_simple_add_u8(msg, set->tid); in light_set_state()
855 net_buf_simple_add_u8(msg, set->trans_time); in light_set_state()
856 net_buf_simple_add_u8(msg, set->delay); in light_set_state()
866 net_buf_simple_add_u8(msg, set->tid); in light_set_state()
[all …]
Dgeneric_client.c746 net_buf_simple_add_u8(msg, set->onoff); in gen_set_state()
747 net_buf_simple_add_u8(msg, set->tid); in gen_set_state()
749 net_buf_simple_add_u8(msg, set->trans_time); in gen_set_state()
750 net_buf_simple_add_u8(msg, set->delay); in gen_set_state()
760 net_buf_simple_add_u8(msg, set->tid); in gen_set_state()
762 net_buf_simple_add_u8(msg, set->trans_time); in gen_set_state()
763 net_buf_simple_add_u8(msg, set->delay); in gen_set_state()
773 net_buf_simple_add_u8(msg, set->tid); in gen_set_state()
775 net_buf_simple_add_u8(msg, set->trans_time); in gen_set_state()
776 net_buf_simple_add_u8(msg, set->delay); in gen_set_state()
[all …]
Dtime_scene_client.c380 net_buf_simple_add_u8(&msg, get->index); in time_scene_get_state()
411 net_buf_simple_add_u8(msg, set->sub_second); in time_scene_set_state()
412 net_buf_simple_add_u8(msg, set->uncertainty); in time_scene_set_state()
414 net_buf_simple_add_u8(msg, set->time_zone_offset); in time_scene_set_state()
420 net_buf_simple_add_u8(msg, set->time_zone_offset_new); in time_scene_set_state()
434 net_buf_simple_add_u8(msg, set->time_role); in time_scene_set_state()
449 net_buf_simple_add_u8(msg, set->tid); in time_scene_set_state()
451 net_buf_simple_add_u8(msg, set->trans_time); in time_scene_set_state()
452 net_buf_simple_add_u8(msg, set->delay); in time_scene_set_state()
Dsensor_client.c386net_buf_simple_add_u8(msg, act->status_trigger_type << 7 | act->fast_cadence_period_divisor); in sensor_act_state()
389 net_buf_simple_add_u8(msg, act->status_min_interval); in sensor_act_state()
/hal_espressif-3.6.0/components/bt/esp_ble_mesh/mesh_core/
Dcfg_srv.c57 net_buf_simple_add_u8(buf, elem->model_count); in comp_add_elem()
58 net_buf_simple_add_u8(buf, elem->vnd_model_count); in comp_add_elem()
141 net_buf_simple_add_u8(sdu, page); in dev_comp_data_get()
453 net_buf_simple_add_u8(&msg, status); in app_key_add()
488 net_buf_simple_add_u8(&msg, status); in app_key_update()
573 net_buf_simple_add_u8(&msg, status); in app_key_del()
618 net_buf_simple_add_u8(&msg, status); in app_key_get()
663 net_buf_simple_add_u8(&msg, bt_mesh_beacon_get()); in beacon_get()
703 net_buf_simple_add_u8(&msg, bt_mesh_beacon_get()); in beacon_set()
721 net_buf_simple_add_u8(&msg, bt_mesh_default_ttl_get()); in default_ttl_get()
[all …]
Dcfg_cli.c693 net_buf_simple_add_u8(&msg, val); in send_msg_with_u8()
768 net_buf_simple_add_u8(&msg, relay); in bt_mesh_cfg_relay_set()
769 net_buf_simple_add_u8(&msg, retransmit); in bt_mesh_cfg_relay_set()
940 net_buf_simple_add_u8(&msg, pub->ttl); in bt_mesh_cfg_mod_pub_set()
941 net_buf_simple_add_u8(&msg, pub->period); in bt_mesh_cfg_mod_pub_set()
942 net_buf_simple_add_u8(&msg, pub->transmit); in bt_mesh_cfg_mod_pub_set()
964 net_buf_simple_add_u8(&msg, sub->period); in bt_mesh_cfg_hb_sub_set()
986 net_buf_simple_add_u8(&msg, pub->count); in bt_mesh_cfg_hb_pub_set()
987 net_buf_simple_add_u8(&msg, pub->period); in bt_mesh_cfg_hb_pub_set()
988 net_buf_simple_add_u8(&msg, pub->ttl); in bt_mesh_cfg_hb_pub_set()
[all …]
Dhealth_srv.c71 net_buf_simple_add_u8(msg, fault); in health_get_fault_value()
104 net_buf_simple_add_u8(msg, srv->test.prev_test_id); in health_send_fault_status()
233 net_buf_simple_add_u8(&msg, time); in send_attention_status()
281 net_buf_simple_add_u8(&msg, model->pub->period_div); in send_health_period_status()
358 net_buf_simple_add_u8(msg, srv->test.prev_test_id); in health_get_current()
Dhealth_cli.c251 net_buf_simple_add_u8(&msg, attention); in bt_mesh_health_attention_set()
271 net_buf_simple_add_u8(&msg, divisor); in bt_mesh_health_period_set()
282 net_buf_simple_add_u8(&msg, test_id); in bt_mesh_health_fault_test()
Dprov.c562 net_buf_simple_add_u8(buf, type); in prov_buf_init()
570 net_buf_simple_add_u8(&buf, err); in prov_send_fail_msg()
594 net_buf_simple_add_u8(&buf, bt_mesh_elem_count()); in prov_invite()
600 net_buf_simple_add_u8(&buf, prov->oob_pub_key); in prov_invite()
603 net_buf_simple_add_u8(&buf, prov->static_val ? BIT(0) : 0x00); in prov_invite()
606 net_buf_simple_add_u8(&buf, prov->output_size); in prov_invite()
612 net_buf_simple_add_u8(&buf, prov->input_size); in prov_invite()
Dbeacon.c107 net_buf_simple_add_u8(buf, BEACON_TYPE_SECURE); in bt_mesh_beacon_create()
115 net_buf_simple_add_u8(buf, flags); in bt_mesh_beacon_create()
Dfoundation.h168 net_buf_simple_add_u8(buf, idx2 >> 4); in key_idx_pack()
Dproxy_server.c279 net_buf_simple_add_u8(buf, CFG_FILTER_STATUS); in send_filter_status()
282 net_buf_simple_add_u8(buf, 0x00); in send_filter_status()
284 net_buf_simple_add_u8(buf, 0x01); in send_filter_status()
Dprovisioner_prov.c1647 net_buf_simple_add_u8(buf, type);
1671 net_buf_simple_add_u8(&buf, prov->prov_attention);
1798 net_buf_simple_add_u8(&buf, prov->prov_algorithm);
1799 net_buf_simple_add_u8(&buf, pub_key_oob);
1800 net_buf_simple_add_u8(&buf, auth_method);
1801 net_buf_simple_add_u8(&buf, auth_action);
1802 net_buf_simple_add_u8(&buf, auth_size);
Dproxy_client.c900 net_buf_simple_add_u8(buf, cfg->opcode); in send_proxy_cfg()
903 net_buf_simple_add_u8(buf, cfg->set.filter_type); in send_proxy_cfg()
Daccess.c721 net_buf_simple_add_u8(msg, opcode); in bt_mesh_model_msg_init()
727 net_buf_simple_add_u8(msg, ((opcode >> 16) & 0xff)); in bt_mesh_model_msg_init()
/hal_espressif-3.6.0/components/bt/esp_ble_mesh/mesh_models/server/
Dtime_scene_server.c81 net_buf_simple_add_u8(msg, srv->state->time.subsecond); in send_time_status()
89 net_buf_simple_add_u8(msg, srv->state->time.uncertainty); in send_time_status()
92 net_buf_simple_add_u8(msg, srv->state->time.time_zone_offset_curr); in send_time_status()
98 net_buf_simple_add_u8(msg, srv->state->time.subsecond); in send_time_status()
99 net_buf_simple_add_u8(msg, srv->state->time.uncertainty); in send_time_status()
102 net_buf_simple_add_u8(msg, srv->state->time.time_zone_offset_curr); in send_time_status()
109 net_buf_simple_add_u8(msg, srv->state->time.time_zone_offset_curr); in send_time_status()
110 net_buf_simple_add_u8(msg, srv->state->time.time_zone_offset_new); in send_time_status()
114 net_buf_simple_add_u8(msg, srv->state->time.time_zone_offset_curr); in send_time_status()
115 net_buf_simple_add_u8(msg, srv->state->time.time_zone_offset_new); in send_time_status()
[all …]
Dsensor_server.c57 net_buf_simple_add_u8(msg, state->descriptor.measure_period); in send_sensor_descriptor_status()
58 net_buf_simple_add_u8(msg, state->descriptor.update_interval); in send_sensor_descriptor_status()
76 net_buf_simple_add_u8(msg, state->descriptor.measure_period); in send_sensor_descriptor_status()
77 net_buf_simple_add_u8(msg, state->descriptor.update_interval); in send_sensor_descriptor_status()
130 net_buf_simple_add_u8(msg, mpid); in send_sensor_data_status()
159 net_buf_simple_add_u8(msg, mpid); in send_sensor_data_status()
172 net_buf_simple_add_u8(msg, mpid); in send_sensor_data_status()
242 net_buf_simple_add_u8(msg, (state->cadence->trigger_type << 7) | in send_sensor_cadence_status()
262 net_buf_simple_add_u8(msg, state->cadence->min_interval); in send_sensor_cadence_status()
408 net_buf_simple_add_u8(msg, item->access); in send_sensor_setting_status()
Dgeneric_server.c78 net_buf_simple_add_u8(msg, srv->state.onoff); in send_gen_onoff_status()
81 net_buf_simple_add_u8(msg, srv->state.target_onoff); in send_gen_onoff_status()
82 net_buf_simple_add_u8(msg, srv->transition.remain_time); in send_gen_onoff_status()
258 net_buf_simple_add_u8(msg, BLE_MESH_UNKNOWN_REMAIN_TIME); in send_gen_level_status()
262 net_buf_simple_add_u8(msg, srv->transition.remain_time); in send_gen_level_status()
679 net_buf_simple_add_u8(msg, srv->state.trans_time); in send_gen_def_trans_time_status()
788 net_buf_simple_add_u8(msg, srv->state->onpowerup); in send_gen_onpowerup_status()
793 net_buf_simple_add_u8(msg, srv->state->onpowerup); in send_gen_onpowerup_status()
951 net_buf_simple_add_u8(msg, srv->transition.remain_time); in send_gen_power_level_status()
970 net_buf_simple_add_u8(msg, srv->state->status_code); in send_gen_power_level_status()
[all …]
Dlighting_server.c85 net_buf_simple_add_u8(msg, srv->actual_transition.remain_time); in send_light_lightness_status()
95 net_buf_simple_add_u8(msg, srv->linear_transition.remain_time); in send_light_lightness_status()
116 net_buf_simple_add_u8(msg, srv->state->status_code); in send_light_lightness_status()
121 net_buf_simple_add_u8(msg, srv->state->status_code); in send_light_lightness_status()
584 net_buf_simple_add_u8(msg, srv->transition.remain_time); in send_light_ctl_status()
591 net_buf_simple_add_u8(msg, srv->state->status_code); in send_light_ctl_status()
596 net_buf_simple_add_u8(msg, srv->state->status_code); in send_light_ctl_status()
623 net_buf_simple_add_u8(msg, srv->transition.remain_time); in send_light_ctl_status()
1150 net_buf_simple_add_u8(msg, srv->transition.remain_time); in send_light_hsl_status()
1158 net_buf_simple_add_u8(msg, srv->transition.remain_time); in send_light_hsl_status()
[all …]
/hal_espressif-3.6.0/components/bt/esp_ble_mesh/mesh_common/include/
Dmesh_buf.h233 uint8_t *net_buf_simple_add_u8(struct net_buf_simple *buf, uint8_t val);
1104 #define net_buf_add_u8(buf, val) net_buf_simple_add_u8(&(buf)->b, val)
/hal_espressif-3.6.0/examples/bluetooth/esp_ble_mesh/ble_mesh_sensor_model/sensor_server/main/
Dmain.c157 net_buf_simple_add_u8(&sensor_data_0, indoor_temp); in prov_complete()
158 net_buf_simple_add_u8(&sensor_data_1, outdoor_temp); in prov_complete()
/hal_espressif-3.6.0/components/bt/esp_ble_mesh/mesh_common/
Dmesh_buf.c56 uint8_t *net_buf_simple_add_u8(struct net_buf_simple *buf, uint8_t val) in net_buf_simple_add_u8() function