Matthias Ringwald
|
2951b4690d
|
mesh: trigger key refresh transitions via secure network beacons
|
2019-07-20 08:50:32 +02:00 |
|
Matthias Ringwald
|
89e0288a85
|
mesh: accept secure network beacons for old and new keys
|
2019-07-20 08:50:32 +02:00 |
|
Matthias Ringwald
|
569f13d032
|
mesh: accept secure network beacons with old and new keys for rate calculation
|
2019-07-20 08:50:32 +02:00 |
|
Matthias Ringwald
|
7bddfece57
|
mesh: revoke old netkey on entering key refresh phase 3
|
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
|
0647177ff5
|
mesh: update subnet directly in netkey update handler
|
2019-07-20 08:50:32 +02:00 |
|
Matthias Ringwald
|
c375509f50
|
mesh: create subnet directly in netkey add handler
|
2019-07-20 08:50:32 +02:00 |
|
Matthias Ringwald
|
0f0f44ede9
|
mesh: delete subnet on netkey delete in config server / remove from mesh_subnet_update_for_netkey_index helper
|
2019-07-20 08:50:32 +02:00 |
|
Matthias Ringwald
|
f6238b21cd
|
mesh: fix compile
|
2019-07-20 08:50:32 +02:00 |
|
Matthias Ringwald
|
bdf219b229
|
mesh: use key from mesh_subnet_get_outgoing_network_key for beacon rx/tx, network tx, advertising with network id
|
2019-07-20 08:50:32 +02:00 |
|
Matthias Ringwald
|
8adad2d3ba
|
mesh: mesh_subnet_update_for_netkey_index
|
2019-07-20 08:50:32 +02:00 |
|
Matthias Ringwald
|
9a470f7ba0
|
mesh: make mesh_subnet_get_outgoing_network_key public
|
2019-07-20 08:50:32 +02:00 |
|
Matthias Ringwald
|
d134d597d2
|
mesh: mesh_subnet_get_outgoing_network_key picks outgoing network key
|
2019-07-20 08:50:32 +02:00 |
|
Matthias Ringwald
|
2b7de14bb0
|
mesh: move advertisement_with_network_id from mesh_network_key_t to mesh_subnet_t
|
2019-07-20 08:50:32 +02:00 |
|
Matthias Ringwald
|
e378fa650f
|
mesh: move node_id_advertisement_running from mesh_network_key_t to mesh_subnet_ta
|
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
|
b1dda14141
|
mesh: remove subnet without keys, set key refresh idle if only single key
|
2019-07-20 08:50:32 +02:00 |
|
Matthias Ringwald
|
d0d5f831a5
|
mesh: update subnet on network key update and delete
|
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 |
|
Matthias Ringwald
|
de7d11c030
|
mesh: dd mesh_subnet_iterator, add mesh_subnet_for_netkey_index
|
2019-07-20 08:50:32 +02:00 |
|
Matthias Ringwald
|
01122b73ee
|
mesh: add mesh_subnet_t
|
2019-07-20 08:50:32 +02:00 |
|
Milanka Ringwald
|
e3e31eb0c9
|
mesh: generic level client code
|
2019-07-20 08:50:32 +02:00 |
|
Matthias Ringwald
|
49006b93a8
|
mesh: persist network key on add, delete from storage on delete
|
2019-07-20 08:50:32 +02:00 |
|
Matthias Ringwald
|
ca586e9e01
|
mesh: fix compile warnings in mesh_proxy.c
|
2019-07-20 08:50:32 +02:00 |
|
Matthias Ringwald
|
b0a92bc4f6
|
mesh: bump mesh network key version if key with same netkey index already exists
|
2019-07-20 08:50:32 +02:00 |
|
Matthias Ringwald
|
c82bae6612
|
mesh: add version field to mesh_network_key_t
|
2019-07-20 08:50:32 +02:00 |
|
Milanka Ringwald
|
d5b798e5cb
|
mesh: set publish model and publish function
|
2019-07-20 08:50:32 +02:00 |
|
Milanka Ringwald
|
9aa5ff1ae8
|
mesh: extract publish function from existing status message code
|
2019-07-20 08:50:32 +02:00 |
|
Milanka Ringwald
|
4d81908018
|
mesh: call mesh_access_state_changed on change
|
2019-07-20 08:50:32 +02:00 |
|
Matthias Ringwald
|
6aeeab2de1
|
mesh: restart publication on config server messages
|
2019-07-20 08:50:32 +02:00 |
|
Matthias Ringwald
|
3c33c940a7
|
mesh: add mesh_model_publication_stop
|
2019-07-20 08:50:31 +02:00 |
|
Matthias Ringwald
|
947da55084
|
mesh: implement model publication mechanism in mesh_model_publication_run
|
2019-07-20 08:50:31 +02:00 |
|
Matthias Ringwald
|
4b77c15480
|
mesh: add mesh_model_publication_run
|
2019-07-20 08:50:31 +02:00 |
|
Matthias Ringwald
|
0563d7ddc8
|
mesh: add publish_now to model_publication_t
|
2019-07-20 08:50:31 +02:00 |
|
Matthias Ringwald
|
7c8ffd3dee
|
mesh: use next_timeout_ms in mesh_secure_network_beacon_run
|
2019-07-20 08:50:31 +02:00 |
|
Milanka Ringwald
|
b0702c812b
|
mesh: fix range in add_and_clip_int16
|
2019-07-20 08:50:31 +02:00 |
|
Milanka Ringwald
|
0d9cf833a3
|
mesh: define mesh_generic_on_off_client_publish_value
|
2019-07-20 08:50:31 +02:00 |
|
Milanka Ringwald
|
87b3ac30c4
|
mesh: defined MESH_SUBEVENT_GENERIC_LEVEL_STATUS
|
2019-07-20 08:50:31 +02:00 |
|
Milanka Ringwald
|
718bf0fc6a
|
mesh: move struct definition to mesh_generic_model.h
|
2019-07-20 08:50:31 +02:00 |
|
Milanka Ringwald
|
353f45a0f9
|
mesh: store values into state
|
2019-07-20 08:50:31 +02:00 |
|
Milanka Ringwald
|
bc77818c2e
|
mesh: move state def to mesh_generic_model.h
|
2019-07-20 08:50:31 +02:00 |
|
Milanka Ringwald
|
c2a5dc789b
|
mesh: move state def to mesh_generic_model.h
|
2019-07-20 08:50:31 +02:00 |
|
Matthias Ringwald
|
24678bce17
|
mesh: add basic support for model publication (mesh_publish_state_t function define)
|
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
|
becd79c1a0
|
mesh: on delete appkey, remove from Model to AppKey list and stop publication if AppKey is used for that
|
2019-07-20 08:50:31 +02:00 |
|
Matthias Ringwald
|
b2f65f9f1b
|
mesh: extract mesh_configuration_server_delete_appkey
|
2019-07-20 08:50:31 +02:00 |
|
Matthias Ringwald
|
31a6a8527c
|
mesh: don't send netework pdu over gatt bearer if received from there
|
2019-07-20 08:50:31 +02:00 |
|