256 Commits

Author SHA1 Message Date
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
Matthias Ringwald
1472fa8d5c mesh: persist virtual addresses in tlv 2019-07-20 08:50:29 +02:00
Matthias Ringwald
c216d5d320 mesh: mesh_virtual_address_register returns mesh_virtual_address_t, only call add subscription if virtual address not already contained 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
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
ec48607216 mesh: forward access messages to matching model for specified unicast address or active subscription 2019-07-20 08:50:29 +02:00
Matthias Ringwald
f2c8924c58 mesh: add operations to model 2019-07-20 08:50:29 +02:00
Milanka Ringwald
cb2719c894 mesh: server configuraiton heartbeat_subscription_set and get messages 2019-07-20 08:50:29 +02:00
Milanka Ringwald
faa85e7e9d mesh: config server subscription add virtual address message 2019-07-20 08:50:29 +02:00
Milanka Ringwald
e11386a862 mesh: implement config sever model subscription virtual address add 2019-07-20 08:50:29 +02:00
Milanka Ringwald
175e7b0471 mesh: config server subscription delete virtual address 2019-07-20 08:50:29 +02:00
Matthias Ringwald
96f484e8e8 mesh: delete app keys as well as model to app keys lists when 'delete provisioning' 2019-07-20 08:50:29 +02:00
Matthias Ringwald
51f4adc9f4 mesh: fix check for appkey_index within currently supported range 2019-07-20 08:50:29 +02:00