21 Commits

Author SHA1 Message Date
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