1721 Commits

Author SHA1 Message Date
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
Milanka Ringwald
9c80784a8b mesh: generic on off server get state 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
1e0992b52f mesh: virtual addresses - provide add/remove functions, use real iterator 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
1f45d60344 mesh: provide mesh_virtual_address structs via memory pool 2019-07-20 08:50:29 +02:00
Matthias Ringwald
761cd951fb mesh: fix compile (add btstack_memory_pool) 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
Matthias Ringwald
fbd63794de mesh: inline load app key into load app 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
Milanka Ringwald
206ab9522f mesh: add mesh_model_get_configuration_server 2019-07-20 08:50:29 +02:00
Matthias Ringwald
504b0c7ada mesh: update .gitignore 2019-07-20 08:50:29 +02:00
Matthias Ringwald
08594f0331 mesh: remove integrated examples 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
Matthias Ringwald
669135eb20 mesh: move Model To AppKey List to Mesh Access 2019-07-20 08:50:29 +02:00
Matthias Ringwald
df02743e80 mesh: move mesh access handling to mesh_access 2019-07-20 08:50:29 +02:00
Matthias Ringwald
54691d7b86 mesh: setup primary element in mesh_access_init 2019-07-20 08:50:29 +02:00
Matthias Ringwald
723bf6fbce mesh: move access message parser and builder to mesh_access 2019-07-20 08:50:29 +02:00
Matthias Ringwald
d05d6ea4d5 mesh: move element + model handling into mesh_access 2019-07-20 08:50:29 +02:00
Matthias Ringwald
7109c34721 mesh: add mesh_access 2019-07-20 08:50:29 +02:00
Matthias Ringwald
ec48607216 mesh: forward access messages to matching model for specified unicast address or active subscription 2019-07-20 08:50:29 +02:00
Matthias Ringwald
f2c8924c58 mesh: add operations to model 2019-07-20 08:50:29 +02:00
Milanka Ringwald
cb2719c894 mesh: server configuraiton heartbeat_subscription_set and get messages 2019-07-20 08:50:29 +02:00
Milanka Ringwald
faa85e7e9d mesh: config server subscription add virtual address message 2019-07-20 08:50:29 +02:00
Milanka Ringwald
e11386a862 mesh: implement config sever model subscription virtual address add 2019-07-20 08:50:29 +02:00
Milanka Ringwald
d6e460280f mesh: get the mesh_virtual_address_t for given uuid label 2019-07-20 08:50:29 +02:00
Milanka Ringwald
175e7b0471 mesh: config server subscription delete virtual address 2019-07-20 08:50:29 +02:00
Matthias Ringwald
96f484e8e8 mesh: delete app keys as well as model to app keys lists when 'delete provisioning' 2019-07-20 08:50:29 +02:00
Matthias Ringwald
51f4adc9f4 mesh: fix check for appkey_index within currently supported range 2019-07-20 08:50:29 +02:00
Milanka Ringwald
81dc2fe64a mesh: fix compile, use mesh model to send messages, target model for params 2019-07-20 08:50:29 +02:00
Milanka Ringwald
ff65abb41e mesh: add check for address types in add and overwrite subscription messages 2019-07-20 08:50:29 +02:00
Milanka Ringwald
667063f1a7 mesh: foundation config message sig and vendor model subscription get 2019-07-20 08:50:29 +02:00
Milanka Ringwald
5f6e8f7ce0 mesh: foundation message subscription_deleteall 2019-07-20 08:50:29 +02:00
Milanka Ringwald
7849b63391 mesh: foundation message subscription_overwrite 2019-07-20 08:50:29 +02:00
Matthias Ringwald
37849b31e5 mesh: warn when using AppKeys with high appkey index or using more models than the number of models that get persisted 2019-07-20 08:50:29 +02:00
Matthias Ringwald
f53a82f230 mesh: persist model to appkey binding 2019-07-20 08:50:29 +02:00
Matthias Ringwald
23278b5ce9 mesh: enumerate models 2019-07-20 08:50:29 +02:00