9542 Commits

Author SHA1 Message Date
Matthias Ringwald
d05d6ea4d5 mesh: move element + model handling into mesh_access 2019-07-20 08:50:29 +02:00
Matthias Ringwald
7109c34721 mesh: add 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
d6e460280f mesh: get the mesh_virtual_address_t for given uuid label 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
e7b3961b0a mesh: add helper funcitons for checking address types 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
Matthias Ringwald
46d04902e3 mesh: keep elements in mesh_elements list 2019-07-20 08:50:28 +02:00
Matthias Ringwald
25e11a72bf mesh: Config Model Publication - use publication model stored in model 2019-07-20 08:50:28 +02:00
Matthias Ringwald
a540ba2eb0 mesh: use mesh_access_model_for_address_and_model_identifier when model identifier is used in access messsage 2019-07-20 08:50:28 +02:00
Matthias Ringwald
d9faa84246 mesh: Composition Data Status - use list of registered models 2019-07-20 08:50:28 +02:00
Matthias Ringwald
c64283a098 mesh: support 'm' format specifier in access message builder, use mesh_access_parser_get_model_identifier where possible 2019-07-20 08:50:28 +02:00
Milanka Ringwald
8aabb544e5 mesh: use uint32_t model_identifier in model 2019-07-20 08:50:28 +02:00
Matthias Ringwald
fb56b85482 mesh: re-write advertising with node identity 2019-07-20 08:50:28 +02:00
Milanka Ringwald
5c19cfd699 mesh: use uint32_t model_identifier in config server message handlers 2019-07-20 08:50:28 +02:00
Milanka Ringwald
63057b819b mesh: impleent foundation message subscription_delete, update subscription_add 2019-07-20 08:50:28 +02:00
Milanka Ringwald
2914e30a2b mesh: draft implementation of low_power_node_poll_timeout_get foundation message 2019-07-20 08:50:28 +02:00
Matthias Ringwald
b654bbce1d mesh: enable advertisements for all subnets 2019-07-20 08:50:28 +02:00
Milanka Ringwald
9f28212e97 mesh: implement draft key_refresh_phase_set foundation message 2019-07-20 08:50:28 +02:00
Matthias Ringwald
d314e6f19d mesh: set advertisement_with_network_id when adding/updating network keys 2019-07-20 08:50:28 +02:00
Milanka Ringwald
da7a2b6df2 mesh: implement key_refresh_phase_get foundation message 2019-07-20 08:50:28 +02:00
Matthias Ringwald
a406d8c208 mesh: fix loading provisioning data 2019-07-20 08:50:28 +02:00
Matthias Ringwald
574ec93036 mesh: remove mesh_network_key_list_add_from_provisioning_data from mesh_keys.h 2019-07-20 08:50:28 +02:00
Matthias Ringwald
ff1c8a81b3 mesh: extract gatt_bearer_setup_advertising_with_network_id 2019-07-20 08:50:28 +02:00
Matthias Ringwald
94a4ac9a13 mesh: allow to provide list of connectable advertisements in adv_bearer 2019-07-20 08:50:28 +02:00
Milanka Ringwald
7535d2caf6 mesh: implement config_node_identity_set message 2019-07-20 08:50:28 +02:00
Milanka Ringwald
fb817b0522 mesh: if proxy server is not enabled, return status ADVERTISEMENTS NOT SUPPORTED in node identity status message 2019-07-20 08:50:28 +02:00
Milanka Ringwald
7bd12f9f48 mesh: rename mesh events to start with MESH_SUBEVENT 2019-07-20 08:50:28 +02:00
Milanka Ringwald
9e3cc73e4f mesh: implement Config Node Identity Get message 2019-07-20 08:50:28 +02:00
Matthias Ringwald
c4409fc5cf mesh: mesh_message_test - avoid two netkeys with same netkey index 2019-07-20 08:50:28 +02:00