63 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
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
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
Matthias Ringwald
82eb991862 mesh: add version field to transport keys 2019-07-20 08:50:32 +02:00
Matthias Ringwald
84339629f0 mesh: A NetKey shall not be deleted from the NetKey List using a message secured with this NetKey 2019-07-20 08:50:32 +02:00
Matthias Ringwald
2951b4690d mesh: trigger key refresh transitions via secure network beacons 2019-07-20 08:50:32 +02:00
Matthias Ringwald
7bddfece57 mesh: revoke old netkey on entering key refresh phase 3 2019-07-20 08:50:32 +02:00
Matthias Ringwald
0647177ff5 mesh: update subnet directly in netkey update handler 2019-07-20 08:50:32 +02:00
Matthias Ringwald
c375509f50 mesh: create subnet directly in netkey add handler 2019-07-20 08:50:32 +02:00
Matthias Ringwald
0f0f44ede9 mesh: delete subnet on netkey delete in config server / remove from mesh_subnet_update_for_netkey_index helper 2019-07-20 08:50:32 +02:00
Matthias Ringwald
2b7de14bb0 mesh: move advertisement_with_network_id from mesh_network_key_t to mesh_subnet_t 2019-07-20 08:50:32 +02:00
Matthias Ringwald
2fa98d7e52 mesh: move key refresh and secure beacon data from mesh_network_key_t to mesh_subnet_t 2019-07-20 08:50:32 +02:00
Matthias Ringwald
d0d5f831a5 mesh: update subnet on network key update and delete 2019-07-20 08:50:32 +02:00
Matthias Ringwald
a2484a8470 mesh: update subnet based on network keys 2019-07-20 08:50:32 +02:00
Matthias Ringwald
49006b93a8 mesh: persist network key on add, delete from storage on delete 2019-07-20 08:50:32 +02:00
Matthias Ringwald
b0a92bc4f6 mesh: bump mesh network key version if key with same netkey index already exists 2019-07-20 08:50:32 +02:00
Matthias Ringwald
6aeeab2de1 mesh: restart publication on config server messages 2019-07-20 08:50:32 +02:00
Matthias Ringwald
becd79c1a0 mesh: on delete appkey, remove from Model to AppKey list and stop publication if AppKey is used for that 2019-07-20 08:50:31 +02:00
Matthias Ringwald
b2f65f9f1b mesh: extract mesh_configuration_server_delete_appkey 2019-07-20 08:50:31 +02:00
Matthias Ringwald
77ba3d3f9f mesh: move src/ble/mesh to src/mesh 2019-07-20 08:50:31 +02:00
Matthias Ringwald
d1cd978cd1 mesh: mesh_transport -> mesh_upper_transport 2019-07-20 08:50:31 +02:00
Matthias Ringwald
cbb391cd7c mesh: move mesh_transport to ble/mesh 2019-07-20 08:50:31 +02:00
Matthias Ringwald
7f6a0379f1 mesh: call mesh_configuration_server_feature_changed on relay and proxy changes via config messages 2019-07-20 08:50:30 +02:00
Matthias Ringwald
f18cf9fece mesh: add mesh_configuration_server_feature_changed 2019-07-20 08:50:30 +02:00
Matthias Ringwald
81bba9f534 mesh: store heartbeat publication in mesh_configuration_server_model_context_t 2019-07-20 08:50:30 +02:00
Matthias Ringwald
fc5f1fd0a5 mesh: support heartbeat publication forever 2019-07-20 08:50:30 +02:00
Matthias Ringwald
d08f1cf0bc mesh: use linear count 2019-07-20 08:50:30 +02:00
Matthias Ringwald
6c53a54d20 mesh: store period_ms in hearbeat publication state 2019-07-20 08:50:30 +02:00
Matthias Ringwald
e65ae0419a mesh: send active features in hearbeat transport pdu 2019-07-20 08:50:30 +02:00
Matthias Ringwald
0e9fe84441 mesh: add mesh_node_reset 2019-07-20 08:50:30 +02:00
Matthias Ringwald
ad9347bb4d mesh: extract mesh_proxy_set_advertising_with_node_id from config server 2019-07-20 08:50:30 +02:00
Matthias Ringwald
af6e0db766 mesh: add mesh_proxy_get_advertising_with_node_id_status to call from configuration server 2019-07-20 08:50:30 +02:00
Matthias Ringwald
09de233823 mesh: persist foundation state 2019-07-20 08:50:30 +02:00
Matthias Ringwald
9162eb2998 mesh: persist network keys 2019-07-20 08:50:30 +02:00
Matthias Ringwald
917d546478 mesh: remove redundant argument 2019-07-20 08:50:29 +02:00
Matthias Ringwald
acfb20a951 mesh: fix model == null crash in mesh_configuration_server 2019-07-20 08:50:29 +02:00
Matthias Ringwald
ae26178409 mesh: persist model publication 2019-07-20 08:50:29 +02:00
Matthias Ringwald
ce4a8c7954 mesh: increase/decrease ref count field when used as publication dest 2019-07-20 08:50:29 +02:00
Matthias Ringwald
fc2f04cead mesh: create virtual address for config_model_publication_virtual_address 2019-07-20 08:50:29 +02:00
Matthias Ringwald
dfacc5914e mesh: streamline temp and global data of config server model 2019-07-20 08:50:29 +02:00
Matthias Ringwald
3951c677a0 mesh: collect helper and globals 2019-07-20 08:50:29 +02:00
Matthias Ringwald
170a8cd882 mesh: store model subscriptions in tlv 2019-07-20 08:50:29 +02:00
Matthias Ringwald
1472fa8d5c mesh: persist virtual addresses in tlv 2019-07-20 08:50:29 +02:00