273 Commits

Author SHA1 Message Date
Milanka Ringwald
9a85ed86d6 mesh: change function names to resemble those in Mesh spec 2019-07-20 08:50:33 +02:00
Matthias Ringwald
8eab9b2ba9 mesh: extract mesh_node_store_provisioning_data from test app 2019-07-20 08:50:33 +02:00
Matthias Ringwald
e18ba70aa9 mesh: load provisioning data in mesh_node_startup_from_tlv 2019-07-20 08:50:33 +02:00
Matthias Ringwald
f46a0f51ed mesh: extract mesh_node_startup_from_tlv from test app 2019-07-20 08:50:33 +02:00
Matthias Ringwald
bc9a9795bb mesh: extract mesh_access_setup_from_provisioning_data, mesh_access_setup_without_provisiong_data from test app 2019-07-20 08:50:33 +02:00
Matthias Ringwald
7b5b1264b4 mesh: add mesh_proxy_start_advertising_unprovisioned_device, mesh_proxy_stop_advertising_unprovisioned_device 2019-07-20 08:50:33 +02:00
Matthias Ringwald
3c98fbc84d mesh: add mesh_proxy_setup_advertising_unprovisioned to mesh_proxy 2019-07-20 08:50:33 +02:00
Matthias Ringwald
95a08d3af0 mesh: make setup_advertising_unprovisioned functional 2019-07-20 08:50:33 +02:00
Matthias Ringwald
ae6e6afbba mesh: delete test code 2019-07-20 08:50:33 +02:00
Matthias Ringwald
5639acaf77 mesh: mesh_restore_iv_index_and_sequence_number() loads and bumps sequence number 2019-07-20 08:50:33 +02:00
Matthias Ringwald
2e60b5d9a3 mesh: store iv + sequence number together 2019-07-20 08:50:33 +02:00
Matthias Ringwald
169e7827ce mesh: remove iv index from provisioning data 2019-07-20 08:50:33 +02:00
Matthias Ringwald
600d87833a mesh: mesh_transport_init -> mesh_upper_transport_init 2019-07-20 08:50:32 +02:00
Matthias Ringwald
85f6c8a0c0 mesh: use mesh_subnet_setup_for_netkey_index only on start and for tests 2019-07-20 08:50:32 +02:00
Matthias Ringwald
2fa98d7e52 mesh: move key refresh and secure beacon data from mesh_network_key_t to mesh_subnet_t 2019-07-20 08:50:32 +02:00
Matthias Ringwald
a2484a8470 mesh: update subnet based on network keys 2019-07-20 08:50:32 +02:00
Matthias Ringwald
ac7c0c0957 mesh: don't store primary network key in provisioning data 2019-07-20 08:50:32 +02:00
Milanka Ringwald
bc77818c2e mesh: move state def to mesh_generic_model.h 2019-07-20 08:50:31 +02:00
Matthias Ringwald
e2b16cca7d mesh: move proxy config message handling to mesh_proxy 2019-07-20 08:50:31 +02:00
Matthias Ringwald
f276878605 mesh: let network handle proxy configuration messages from gatt bearer 2019-07-20 08:50:31 +02:00
Matthias Ringwald
d00dae02bc mesh: pre-sort proxy configuration handling code in mesh.c 2019-07-20 08:50:31 +02:00
Matthias Ringwald
fd7ffe0047 mesh: use proxy_configuration_message instead of proxy_message 2019-07-20 08:50:31 +02:00
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
a59b27450e mesh: avoid redirect of mesh network messages via mesh.c 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
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
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
2b25ccf928 mesh: move event_handler from generich on off server to model 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
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
4b924f238a mesh: make start/stop advertisting with node id private to proxy 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
Matthias Ringwald
68bd3dd63e mesh: move advertising with network or node id to 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
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
Matthias Ringwald
ddb9c741e7 mesh: dump MeshOptions.ini for PTS on start 2019-07-20 08:50:29 +02:00
Matthias Ringwald
ae26178409 mesh: persist model publication 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
170a8cd882 mesh: store model subscriptions in tlv 2019-07-20 08:50:29 +02:00