241 Commits

Author SHA1 Message Date
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
Milanka Ringwald
81dc2fe64a mesh: fix compile, use mesh model to send messages, target model for params 2019-07-20 08:50:29 +02:00
Milanka Ringwald
ff65abb41e mesh: add check for address types in add and overwrite subscription messages 2019-07-20 08:50:29 +02:00
Milanka Ringwald
667063f1a7 mesh: foundation config message sig and vendor model subscription get 2019-07-20 08:50:29 +02:00
Milanka Ringwald
5f6e8f7ce0 mesh: foundation message subscription_deleteall 2019-07-20 08:50:29 +02:00
Milanka Ringwald
7849b63391 mesh: foundation message subscription_overwrite 2019-07-20 08:50:29 +02:00
Matthias Ringwald
37849b31e5 mesh: warn when using AppKeys with high appkey index or using more models than the number of models that get persisted 2019-07-20 08:50:29 +02:00
Matthias Ringwald
f53a82f230 mesh: persist model to appkey binding 2019-07-20 08:50:29 +02:00
Matthias Ringwald
23278b5ce9 mesh: enumerate models 2019-07-20 08:50:29 +02:00
Matthias Ringwald
f912ec937d mesh: add mesh_delete_app_key, mesh_delete_app_keys, delete all app keys on provisioning complete 2019-07-20 08:50:28 +02:00
Matthias Ringwald
5a6c27d70d mesh: persist application keys 2019-07-20 08:50:28 +02:00
Matthias Ringwald
91a8eb3ab2 mesh: enable proxy advertisements on start 2019-07-20 08:50:28 +02:00
Matthias Ringwald
c6edba33c2 mesh: set app key flag for new application keys 2019-07-20 08:50:28 +02:00
Matthias Ringwald
103eca9e1d mesh: fix access message parser for network messages, set unicast address in primary element from provisioning data 2019-07-20 08:50:28 +02:00
Matthias Ringwald
bf1932e2cb mesh: add generic on/off model, support 'm' for transport messages, lookup element 2019-07-20 08:50:28 +02:00
Matthias Ringwald
cc5d3d6fbe mesh: fix setup of test models 2019-07-20 08:50:28 +02:00