2062 Commits

Author SHA1 Message Date
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
Matthias Ringwald
5639acaf77 mesh: mesh_restore_iv_index_and_sequence_number() loads and bumps sequence number 2019-07-20 08:50:33 +02:00
Matthias Ringwald
6f14746dca mesh: move iv index and update state to mesh_iv_index_seq_number 2019-07-20 08:50:33 +02:00
Matthias Ringwald
d69d22e2c7 mesh: remove call got get sequence number for printf 2019-07-20 08:50:33 +02:00
Matthias Ringwald
6e131f4b89 mesh: rename sequence number functions mesh_sequence_number_x 2019-07-20 08:50:33 +02:00
Matthias Ringwald
04875b115d mesh: move sequence number to mesh_iv_index_seq_number 2019-07-20 08:50:33 +02:00
Matthias Ringwald
2e60b5d9a3 mesh: store iv + sequence number together 2019-07-20 08:50:33 +02:00
Matthias Ringwald
7f01082ee5 mesh: persist iv updates to TLV 2019-07-20 08:50:33 +02:00
Matthias Ringwald
169e7827ce mesh: remove iv index from provisioning data 2019-07-20 08:50:33 +02:00
Matthias Ringwald
a37c5519bb mesh: add load/store iv index 2019-07-20 08:50:33 +02:00
Milanka Ringwald
80f2b78770 mesh: use mesh_access_send_[un]acknowledged_pdu 2019-07-20 08:50:33 +02:00
Milanka Ringwald
9a6a784cda mesh: use mesh_access_send_[un]acknowledged_pdu 2019-07-20 08:50:33 +02:00
Matthias Ringwald
0882d02cd2 mesh: implement IV Index Recovery procedure 2019-07-20 08:50:33 +02:00
Matthias Ringwald
d0c07177da mesh: emit MESH_SUBEVENT_MESSAGE_NOT_ACKNOWLEDGED if expected reply was not received 2019-07-20 08:50:33 +02:00
Milanka Ringwald
2a243a1054 mesh: draft health server 2019-07-20 08:50:33 +02:00
Milanka Ringwald
8286504ad7 mesh: implement move set message for generic level client 2019-07-20 08:50:33 +02:00
Milanka Ringwald
5cb141632f mesh: implement mesh_generic_level_client_set_delta_value 2019-07-20 08:50:33 +02:00