2062 Commits

Author SHA1 Message Date
Matthias Ringwald
efc82b7308 mesh: only restart timer if there are transitions active 2019-07-20 08:50:30 +02:00
Matthias Ringwald
f8517ec7b4 mesh: use base type for transition callback 2019-07-20 08:50:30 +02:00
Milanka Ringwald
07e07526f7 mesh: set model when adding transition 2019-07-20 08:50:30 +02:00
Milanka Ringwald
08c82f9b83 mesh: keep active transitions in list, handle transitions with one timer 2019-07-20 08:50:30 +02:00
Milanka Ringwald
617a1deb87 mesh: extract base transition struct 2019-07-20 08:50:30 +02:00
Milanka Ringwald
27a2526ec0 mesh: add pointer to model to mesh_transition_bool_t 2019-07-20 08:50:30 +02:00
Milanka Ringwald
2b25ccf928 mesh: move event_handler from generich on off server to model 2019-07-20 08:50:30 +02:00
Matthias Ringwald
b9ccacabde mesh: store beacon_interval_ms in mesh_network_key_t 2019-07-20 08:50:30 +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
84d5ed818f mesh: store heartbeat subscripion in mesh_configuration_server_model_context_t 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
Milanka Ringwald
c8e621a544 mesh: get and set generic on off server value from app; state transition draft 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
b761c42513 mesh: use identity key from network key in mesh proxy 2019-07-20 08:50:30 +02:00
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