1943 Commits

Author SHA1 Message Date
Matthias Ringwald
5c6f2e73f8 mesh: use element_index instead of element_address in mesh_element_t 2019-07-20 08:50:30 +02:00
Matthias Ringwald
4b924f238a mesh: make start/stop advertisting with node id private to proxy 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
Milanka Ringwald
fcf3eb548f mesh: add application triggered mesh_generic_on_off_server_update_value 2019-07-20 08:50:30 +02:00
Milanka Ringwald
09878d7ad7 mesh: enumerate state model ids and update reasons 2019-07-20 08:50:30 +02:00
Milanka Ringwald
27c4ce3264 mesh: fix appkey index in generic_server_send_message, define two sepparate access messages for submitting generic on off status message 2019-07-20 08:50:30 +02:00
Matthias Ringwald
68bd3dd63e mesh: move advertising with network or node id to mesh_proxy 2019-07-20 08:50:30 +02:00
Matthias Ringwald
e89cad5737 mesh: add mesh_proxy 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
4517f741ac mesh: add internal index to network keys 2019-07-20 08:50:30 +02:00
Matthias Ringwald
859d0ce23e mesh: print details for state update event 2019-07-20 08:50:29 +02:00
Matthias Ringwald
96aa6966d1 mesh: fix state update emit 2019-07-20 08:50:29 +02:00
Milanka Ringwald
e874e56d99 mesh: register packet handler with generic on off server, draft implementation of generic_on_off_set_handler message 2019-07-20 08:50:29 +02:00
Milanka Ringwald
acb226f8c0 mesh: add function to emit MESH_SUBEVENT_STATE_UPDATE_BOOL event 2019-07-20 08:50:29 +02:00
Matthias Ringwald
917d546478 mesh: remove redundant argument 2019-07-20 08:50:29 +02:00
Matthias Ringwald
ddb9c741e7 mesh: dump MeshOptions.ini for PTS on start 2019-07-20 08:50:29 +02:00
Matthias Ringwald
9260d3331a mesh: fix loading of app keys 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
cbc8da7c60 mesh: validate appkey index for access messages 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
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