621 Commits

Author SHA1 Message Date
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
Milanka Ringwald
82ed29d491 mesh: responsability for transaction id control moved to client code 2019-07-20 08:50:33 +02:00
Milanka Ringwald
f346d6e034 mesh: health server health_fault_get_handler implementation 2019-07-20 08:50:33 +02:00
Matthias Ringwald
9ca0fe87d6 mesh: implement mesh_access_acknowledged_run 2019-07-20 08:50:33 +02:00
Matthias Ringwald
f8023fbe2c mesh: use 'acknowledged message..' term 2019-07-20 08:50:33 +02:00
Matthias Ringwald
139df7718e mesh: remove outgoing message if message with expected opcode from dest is received 2019-07-20 08:50:32 +02:00
Matthias Ringwald
b551f24da1 mesh: add fields for acknowledged access messages, register for transport sent 2019-07-20 08:50:32 +02:00
Matthias Ringwald
bc0f9682e0 mesh: introduce mesh_access_send_unacknowledged_pdu and mesh_access_send_acknowledged_pdu 2019-07-20 08:50:32 +02:00
Matthias Ringwald
600d87833a mesh: mesh_transport_init -> mesh_upper_transport_init 2019-07-20 08:50:32 +02:00
Matthias Ringwald
b98d42d698 mesh: deliver messages addressed to ALL_X group addresses 2019-07-20 08:50:32 +02:00
Matthias Ringwald
93bb2d2c93 mesh: reset sequence numbers on transition from iv update active to normal 2019-07-20 08:50:32 +02:00
Matthias Ringwald
c520adb916 mesh: validate iv index + active flag in secure network beacon before processing 2019-07-20 08:50:32 +02:00
Matthias Ringwald
5d8695d635 mesh: transition norml -> iv update active -> normal via secure network beacons 2019-07-20 08:50:32 +02:00
Matthias Ringwald
39cb0081ea mesh: remove transition code from generic client 2019-07-20 08:50:32 +02:00
Matthias Ringwald
8907eb9d57 mesh: add mesh_generic_x_publish_value convenience functions that sends set unacknowledged message to publication address 2019-07-20 08:50:32 +02:00
Matthias Ringwald
0fd43b5dcd mesh: remove unused code and prototypes 2019-07-20 08:50:32 +02:00
Matthias Ringwald
bcfc308d7d mesh: use in16_t for generic level 2019-07-20 08:50:32 +02:00
Matthias Ringwald
d42a4bd47f mesh: fix mesh_transport_key_iterator_init 2019-07-20 08:50:32 +02:00
Matthias Ringwald
dc9cb285dc mesh: delete old app keys on key refresh phase 3 2019-07-20 08:50:32 +02:00
Matthias Ringwald
b8e8e52c28 mesh: extract mesh_access_key_refresh_revoke_keys(subnet) 2019-07-20 08:50:32 +02:00
Matthias Ringwald
48cef04012 mesh: increase version in netkey update 2019-07-20 08:50:32 +02:00
Matthias Ringwald
8b7bf63915 mesh: init version on app key add and increase on app key update 2019-07-20 08:50:32 +02:00
Matthias Ringwald
d438275376 mesh: split config_appkey_add_or_udpate_aid into config_appkey_add_aid and config_appkey_update_aid 2019-07-20 08:50:32 +02:00
Matthias Ringwald
7e0d4039ec mesh: pass mesh_transport_key_t to mesh_store_app_key 2019-07-20 08:50:32 +02:00