1976 Commits

Author SHA1 Message Date
Milanka Ringwald
1a17f28bfd mesh: move message IDs to mesh_generic_model.h 2019-07-20 08:50:30 +02:00
Matthias Ringwald
f576ee26ea mesh: add security beaon state to network key 2019-07-20 08:50:30 +02:00
Matthias Ringwald
c9de66827c mesh: fix compile 2019-07-20 08:50:30 +02:00
Matthias Ringwald
73084c3a89 mesh: move secure network beacon code to beacon implementation 2019-07-20 08:50:30 +02:00
Matthias Ringwald
ae2ceb265b mesh: extract mesh_secure_network_beacon_send_adv 2019-07-20 08:50:30 +02:00
Milanka Ringwald
29e6496ca2 mesh: add MODEL_STATE_ID_GENERIC_LEVEL, rename packet_handler in model struct 2019-07-20 08:50:30 +02:00
Milanka Ringwald
8fe8381d81 mesh: add ABORT to model state update reason 2019-07-20 08:50:30 +02:00
Milanka Ringwald
159711f8b0 mesh: use initial value for generic_level_handle_set_delta_message 2019-07-20 08:50:30 +02:00
Milanka Ringwald
f649fbc8b3 mesh: introduce transaction status 2019-07-20 08:50:30 +02:00
Milanka Ringwald
4963ec13ad mesh: generic_level_handle_set_delta and set_move messages 2019-07-20 08:50:30 +02:00
Milanka Ringwald
805c8faa82 mesh: implement generic_level_set_handler 2019-07-20 08:50:30 +02:00
Milanka Ringwald
75416392b9 mesh: implement mesh_generic_level_status_message and generic_level_get_handler 2019-07-20 08:50:30 +02:00
Milanka Ringwald
8593fc47a1 mesh: implement generic_on_off_set_unacknowledged_handler 2019-07-20 08:50:30 +02:00
Milanka Ringwald
0c9668ac37 mesh: cleanup mesh transition implementation, add transition setup to mesh_generic_on_off_server_set_value 2019-07-20 08:50:30 +02:00
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