33 Commits

Author SHA1 Message Date
Matthias Ringwald
0563d7ddc8 mesh: add publish_now to model_publication_t 2019-07-20 08:50:31 +02:00
Matthias Ringwald
24678bce17 mesh: add basic support for model publication (mesh_publish_state_t function define) 2019-07-20 08:50:31 +02:00
Matthias Ringwald
77ba3d3f9f mesh: move src/ble/mesh to src/mesh 2019-07-20 08:50:31 +02:00
Milanka Ringwald
16d1335912 mesh: implement get next transaction id, helper function mesh_access_time_gdtt2ms 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
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
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
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
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
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
Milanka Ringwald
09878d7ad7 mesh: enumerate state model ids and update reasons 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
Milanka Ringwald
acb226f8c0 mesh: add function to emit MESH_SUBEVENT_STATE_UPDATE_BOOL event 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
80ff1c7703 mesh: streamline subscription handling 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
206ab9522f mesh: add mesh_model_get_configuration_server 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