1943 Commits

Author SHA1 Message Date
Matthias Ringwald
917dc5c7e7 mesh: track gatt bearer connection state, only use if proxy is enabled 2019-07-20 08:50:31 +02:00
Matthias Ringwald
4662af4a88 mesh: streamline adv + gatt baerer api: network pdu, provisioning pdu, beacon 2019-07-20 08:50:31 +02:00
Matthias Ringwald
a59b27450e mesh: avoid redirect of mesh network messages via mesh.c 2019-07-20 08:50:31 +02:00
Matthias Ringwald
452750bf56 mesh: disable adv bearer again 2019-07-20 08:50:31 +02:00
Matthias Ringwald
48e5459ca0 mesh: support gatt-only config in mesh_message_test 2019-07-20 08:50:31 +02:00
Matthias Ringwald
51ae8f0aee mesh: register for mesh beacons to avoid crash, temp enable adv bearer 2019-07-20 08:50:31 +02:00
Matthias Ringwald
cad631fe75 mesh: fix compile 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
ad28fd3478 mesh: removed left overs from mesh_upper_transport.h 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
Matthias Ringwald
52d6e800ce mesh: start sending Secure Network Beacon after provisioning and on start 2019-07-20 08:50:31 +02:00
Matthias Ringwald
491c14d193 mesh: send secure network beacon over gatt, too 2019-07-20 08:50:30 +02:00
Matthias Ringwald
1380be7766 mesh: fix regression from 9115a3f5 2019-07-20 08:50:30 +02:00
Matthias Ringwald
d3f5f493d1 mesh: improve naming in mesh_proxy 2019-07-20 08:50:30 +02:00
Milanka Ringwald
92c33ebfc3 mesh: generic on off client 2019-07-20 08:50:30 +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
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