10023 Commits

Author SHA1 Message Date
Matthias Ringwald
94dc8eb321 esp32: add mesh support 2019-07-20 08:50:34 +02:00
Matthias Ringwald
f8962c62f0 mesh: add reason to MESH_SUBEVENT_PB_TRANSPORT_LINK_CLOSED 2019-07-20 08:50:34 +02:00
Matthias Ringwald
2533fc8e27 mesh: fix provisioning_emit_output_oob_event and provisioning_emit_attention_timer_event 2019-07-20 08:50:34 +02:00
Matthias Ringwald
2983fbcb5f mesh: fix unused, shadowing, signed compares 2019-07-20 08:50:34 +02:00
Matthias Ringwald
85417dcb2e mesh: remove test/mesh from example/Makefile.inc 2019-07-20 08:50:34 +02:00
Matthias Ringwald
321e3a3cdd mesh: use mesh_access_send_unacknowledged_pdu instead of mesh_upper_transport_send_access_pdu 2019-07-20 08:50:34 +02:00
Matthias Ringwald
a5a7b6da93 mesh: fix compile 2019-07-20 08:50:34 +02:00
Matthias Ringwald
8cc6e3fb53 mesh: remove rfcomm.h includes, crc8 not used 2019-07-20 08:50:34 +02:00
Matthias Ringwald
f4854a5efb mesh: move mesh files to src/mesh, update includes 2019-07-20 08:50:34 +02:00
Matthias Ringwald
cf862b3640 mesh: mesh_node_demo general example 2019-07-20 08:50:34 +02:00
Matthias Ringwald
4407d0bb1b mesh: fix prototypes 2019-07-20 08:50:34 +02:00
Matthias Ringwald
7911e10992 mesh: setup default models in mesh_init 2019-07-20 08:50:34 +02:00
Matthias Ringwald
c796b3e5b1 mesh: enable gatt proxy advertisements in mesh.c 2019-07-20 08:50:34 +02:00
Matthias Ringwald
039d111d2b mesh: handle provisioning complete in mesh.c 2019-07-20 08:50:34 +02:00
Matthias Ringwald
e9ea9d588d mesh: collect init code in mesh_init 2019-07-20 08:50:34 +02:00
Matthias Ringwald
5bc1bfd55c mesh: add mesh.h as main interface to mesh stack 2019-07-20 08:50:34 +02:00
Matthias Ringwald
3c42f19488 mesh: rename mesh to mesh_pts 2019-07-20 08:50:34 +02:00
Matthias Ringwald
d522ad6469 mesh: rename mesh to mesh_pts 2019-07-20 08:50:34 +02:00
Matthias Ringwald
312b7ff890 mesh: fix setup of primary network key from tlv 2019-07-20 08:50:34 +02:00
Matthias Ringwald
58a4c3985a mesh: generate random device uuid on start 2019-07-20 08:50:34 +02:00
Matthias Ringwald
39cd8755fb mesh: mesh_node_get_device_uuid returns NULL if not set 2019-07-20 08:50:34 +02:00
Matthias Ringwald
d6915e6f98 mesh: add mesh includes to btstack.h 2019-07-20 08:50:34 +02:00
Matthias Ringwald
8d6bf5eb54 mesh: extract mesh_node_setup_default_models 2019-07-20 08:50:34 +02:00
Matthias Ringwald
6f175e0393 mesh: add mesh_node_set_element_location 2019-07-20 08:50:34 +02:00
Matthias Ringwald
454184387b mesh: start sending unprovisioned device beacons from mesh_node_startup_from_tlv if no provisioning data available 2019-07-20 08:50:34 +02:00
Matthias Ringwald
264f8e120e mesh: mesh_proxy_start_advertising_unprovisioned_device gets device uuid from mesh_node 2019-07-20 08:50:34 +02:00
Matthias Ringwald
936cc64e19 mesh: mesh_access_setup_without_provisiong_data gets device uuid from mesh_node 2019-07-20 08:50:34 +02:00
Matthias Ringwald
8936a14384 mesh: pb_adv gets device uuid from mesh_node 2019-07-20 08:50:34 +02:00
Matthias Ringwald
54274a7650 mesh: pb_gatt_init without device uuid 2019-07-20 08:50:34 +02:00
Matthias Ringwald
d0e44c14ee mesh: add mesh_node_get/set_device_uuid 2019-07-20 08:50:34 +02:00
Matthias Ringwald
c0f27bf2a7 mesh: move gap config to main 2019-07-20 08:50:34 +02:00
Matthias Ringwald
320a7de48c mesh: sort code in mesh.c 2019-07-20 08:50:34 +02:00
Matthias Ringwald
a87e78cf94 mesh: store provisioning data in mesh_node_store_provisioning_data 2019-07-20 08:50:34 +02:00
Matthias Ringwald
c0956dd0a8 mesh: store provisioning data in mesh_node_store_provisioning_data 2019-07-20 08:50:34 +02:00
Matthias Ringwald
2d97f8bb25 mesh: add network key to provisioning data 2019-07-20 08:50:34 +02:00
Matthias Ringwald
6c38b88869 mesh: add iv_index to provisioning data 2019-07-20 08:50:34 +02:00
Matthias Ringwald
d46d01aaa4 mesh: use provisioning_device_data_get 2019-07-20 08:50:33 +02:00
Matthias Ringwald
3639ab3512 mesh: add provisioning_device_data_get 2019-07-20 08:50:33 +02:00
Matthias Ringwald
561e608914 mesh: use mesh_persistent_provisioning_data_t for tlv 2019-07-20 08:50:33 +02:00
Matthias Ringwald
fc07d5143c mesh: skip deleting old data on provisioning 2019-07-20 08:50:33 +02:00
Matthias Ringwald
8b2768949c mesh: init mesh_node 2019-07-20 08:50:33 +02:00
Matthias Ringwald
001c65e028 mesh: prefix mesh_node functions 2019-07-20 08:50:33 +02:00
Matthias Ringwald
e4058622b0 mesh: add mesh_element_count and use in mesh_network 2019-07-20 08:50:33 +02:00
Matthias Ringwald
e8625ff1d4 mesh: move node->element management to mesh_node 2019-07-20 08:50:33 +02:00
Matthias Ringwald
683cf298e3 mesh: move mesh_node into src/mesh 2019-07-20 08:50:33 +02:00
Matthias Ringwald
a6fcac7c46 mesh: only use mesh_node_primary_element_address_get 2019-07-20 08:50:33 +02:00
Matthias Ringwald
0e329b411b mesh: add mesh_node to collect node state 2019-07-20 08:50:33 +02:00
Milanka Ringwald
a0f170a870 mesh: health server health_fault_get_handler 2019-07-20 08:50:33 +02:00
Milanka Ringwald
9a85ed86d6 mesh: change function names to resemble those in Mesh spec 2019-07-20 08:50:33 +02:00
Matthias Ringwald
8eab9b2ba9 mesh: extract mesh_node_store_provisioning_data from test app 2019-07-20 08:50:33 +02:00