28 Commits

Author SHA1 Message Date
Milanka Ringwald
d5b798e5cb mesh: set publish model and publish function 2019-07-20 08:50:32 +02:00
Milanka Ringwald
9aa5ff1ae8 mesh: extract publish function from existing status message code 2019-07-20 08:50:32 +02:00
Milanka Ringwald
4d81908018 mesh: call mesh_access_state_changed on change 2019-07-20 08:50:32 +02:00
Milanka Ringwald
c2a5dc789b mesh: move state def to mesh_generic_model.h 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
Matthias Ringwald
d1cd978cd1 mesh: mesh_transport -> mesh_upper_transport 2019-07-20 08:50:31 +02:00
Matthias Ringwald
cbb391cd7c mesh: move mesh_transport to ble/mesh 2019-07-20 08:50:31 +02:00
Milanka Ringwald
92c33ebfc3 mesh: generic on off client 2019-07-20 08:50:30 +02:00
Milanka Ringwald
1a17f28bfd mesh: move message IDs to mesh_generic_model.h 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
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
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
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
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
5c6f2e73f8 mesh: use element_index instead of element_address in mesh_element_t 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
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
9c80784a8b mesh: generic on off server get state 2019-07-20 08:50:29 +02:00