710 Commits

Author SHA1 Message Date
Matthias Ringwald
a5a7b6da93 mesh: fix compile 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
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
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
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
Matthias Ringwald
e18ba70aa9 mesh: load provisioning data in mesh_node_startup_from_tlv 2019-07-20 08:50:33 +02:00
Matthias Ringwald
f46a0f51ed mesh: extract mesh_node_startup_from_tlv from test app 2019-07-20 08:50:33 +02:00
Matthias Ringwald
bc9a9795bb mesh: extract mesh_access_setup_from_provisioning_data, mesh_access_setup_without_provisiong_data from test app 2019-07-20 08:50:33 +02:00
Matthias Ringwald
ef986d08fc mesh: fix compile warnings 2019-07-20 08:50:33 +02:00
Matthias Ringwald
7b5b1264b4 mesh: add mesh_proxy_start_advertising_unprovisioned_device, mesh_proxy_stop_advertising_unprovisioned_device 2019-07-20 08:50:33 +02:00
Matthias Ringwald
3c98fbc84d mesh: add mesh_proxy_setup_advertising_unprovisioned to mesh_proxy 2019-07-20 08:50:33 +02:00
Matthias Ringwald
95a08d3af0 mesh: make setup_advertising_unprovisioned functional 2019-07-20 08:50:33 +02:00
Matthias Ringwald
ae6e6afbba mesh: delete test code 2019-07-20 08:50:33 +02:00
Matthias Ringwald
bef5591bee mesh: fix load/store iv index + seq number 2019-07-20 08:50:33 +02:00
Matthias Ringwald
bbcc1f8674 mesh: store sequence number every MESH_SEQUENCE_NUMBER_STORAGE_INTERVAL 2019-07-20 08:50:33 +02:00
Matthias Ringwald
84b8c4a9e4 mesh: add hook to track seq number updates 2019-07-20 08:50:33 +02:00