31 Commits

Author SHA1 Message Date
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
Matthias Ringwald
5613a93c10 mesh: avoid flash delete + add for config_model_subscription_virtual_address_overwrite 2019-07-20 08:50:29 +02:00
Matthias Ringwald
c254ddf3da mesh: free virtual address when refcount == 0 after decrease refcount 2019-07-20 08:50:29 +02:00
Matthias Ringwald
80ff1c7703 mesh: streamline subscription handling 2019-07-20 08:50:29 +02:00
Matthias Ringwald
9115c8848a mesh: add ref_count to virtual addresses and update for subscriptions 2019-07-20 08:50:29 +02:00
Matthias Ringwald
c5b2420dc1 mesh: assign unique pseudo_dst to virtual addresses 2019-07-20 08:50:29 +02:00
Matthias Ringwald
c216d5d320 mesh: mesh_virtual_address_register returns mesh_virtual_address_t, only call add subscription if virtual address not already contained 2019-07-20 08:50:29 +02:00
Matthias Ringwald
7c18100b8e mesh: store AppKey List for all models 2019-07-20 08:50:29 +02:00
Matthias Ringwald
6eb2ec7108 mesh: add internal index to transport keys that is used to persist max MAX_NR_MESH_TRANSPORT_KEYS 2019-07-20 08:50:29 +02:00
Milanka Ringwald
38f5662853 mesh: get configuration server in mode function 2019-07-20 08:50:29 +02:00
Milanka Ringwald
1b338bd1f6 mesh: get configuration server in mode function 2019-07-20 08:50:29 +02:00
Matthias Ringwald
e6014a388b mesh: use unicast address of configuration server model for responses 2019-07-20 08:50:29 +02:00
Matthias Ringwald
a66a8cb39b mesh: store element ref in model 2019-07-20 08:50:29 +02:00
Matthias Ringwald
2ea7db52ab mesh: extract mesh_configuration_server 2019-07-20 08:50:29 +02:00