99 Commits

Author SHA1 Message Date
Matthias Ringwald
9782639032 mesh: load flags from provisioning data stored in tlv 2019-07-20 08:50:35 +02:00
Matthias Ringwald
155bc8e611 mesh: fix load/bump iv+seq number in mesh 2019-07-20 08:50:35 +02:00
Matthias Ringwald
90a35d67b3 mesh: rework iv/seq persistence code 2019-07-20 08:50:35 +02:00
Matthias Ringwald
5c16ff479d mesh: mark iv index + seq persistent private 2019-07-20 08:50:35 +02:00
Matthias Ringwald
8639e30d7e mesh: move security beacon handling to mesh 2019-07-20 08:50:35 +02:00
Matthias Ringwald
4848a4bc74 mesh: remove individual getters from provisioning_device 2019-07-20 08:50:35 +02:00
Matthias Ringwald
0728b042e0 mesh: implement attention timer in mesh 2019-07-20 08:50:35 +02:00
Matthias Ringwald
cc639358ce mesh: remove Attention Timer state from provisioning device, only emit attention timer start/stop events 2019-07-20 08:50:35 +02:00
Matthias Ringwald
70d1feb4f8 mesh: always generate random device uuid 2019-07-20 08:50:35 +02:00
Matthias Ringwald
166cce4d32 mesh: let lower transport skip already ack'ed segments on ack timeout 2019-07-20 08:50:35 +02:00
Matthias Ringwald
8caec89a37 mesh: hide local functions in mesh 2019-07-20 08:50:35 +02:00
Matthias Ringwald
aa1e3c7273 mesh: move provisioning data load/store and node reset to mesh 2019-07-20 08:50:35 +02:00
Matthias Ringwald
d4c397cd4a mesh: move load/store model publication to mesh from configuration server 2019-07-20 08:50:35 +02:00
Matthias Ringwald
41787a596f mesh: move load/store model subscriptions to mesh from configuration server 2019-07-20 08:50:35 +02:00
Matthias Ringwald
380f8b85c8 mesh: move virtual address utility functions to mesh from configuration server 2019-07-20 08:50:35 +02:00
Matthias Ringwald
0d42a0592d mesh: move model utility functions to mesh_node from access 2019-07-20 08:50:35 +02:00
Matthias Ringwald
812ef2e382 mesh: move model contains subscription load/store to mesh from access 2019-07-20 08:50:35 +02:00
Matthias Ringwald
a0253209c2 mesh: move iv index + seq number load/store to mesh from access 2019-07-20 08:50:35 +02:00
Matthias Ringwald
a55e84a9c0 mesh: move foundation load/store to mesh from access 2019-07-20 08:50:35 +02:00
Matthias Ringwald
726dac53ea mesh: move model to appkey laod/store to mesh from access 2019-07-20 08:50:35 +02:00
Matthias Ringwald
68d9ac2397 mesh: move appkey laod/store to mesh from access 2019-07-20 08:50:35 +02:00
Matthias Ringwald
663808079b mesh: move netkey laod/store to mesh from access 2019-07-20 08:50:35 +02:00
Matthias Ringwald
9d29a5e252 mesh: add missing functions 2019-07-20 08:50:34 +02:00
Matthias Ringwald
56305cc23c mesh: reset list of appkeys boound to model 2019-07-20 08:50:34 +02:00
Matthias Ringwald
0c98c714e8 mesh: fix model callback registration 2019-07-20 08:50:34 +02:00
Matthias Ringwald
8ef657c601 mesh: fix callbacks to model packet handler, fix access message dispatching 2019-07-20 08:50:34 +02:00
Matthias Ringwald
5f84574095 mesh: fix restore of iv index from tlv 2019-07-20 08:50:34 +02:00
Matthias Ringwald
9a193117b9 mesh: move mesh_access_setup.. to mesh.c 2019-07-20 08:50:34 +02:00
Matthias Ringwald
b7430106b0 mesh: config server - fix subscription loop iterations, avoid warning for tag constant 2019-07-20 08:50:34 +02:00
Matthias Ringwald
d9f831d840 mesh: remove unused netkey var 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
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
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
4407d0bb1b mesh: fix prototypes 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
6f175e0393 mesh: add mesh_node_set_element_location 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
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
ef986d08fc mesh: fix compile warnings 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