9484 Commits

Author SHA1 Message Date
Matthias Ringwald
82b0bf4283 mesh: add MESH_PROXY_ events 2019-07-20 08:50:28 +02:00
Matthias Ringwald
8c8ddd64f8 mesh: use network nonce for network pdus received via gatt proxy 2019-07-20 08:50:28 +02:00
Matthias Ringwald
806057c8f5 mesh: USE_ADVERTISING_WITH_NODE_IDENTITY, disable advertisement when connected 2019-07-20 08:50:28 +02:00
Matthias Ringwald
2a825dbaba mesh: dump network config only in main app 2019-07-20 08:50:28 +02:00
Matthias Ringwald
9f877d16e1 mesh: stop provisioning timer on send provisioning complete 2019-07-20 08:50:28 +02:00
Matthias Ringwald
f098b58e4b mesh: enable PB_GATT advertisements on GATT disconnect 2019-07-20 08:50:28 +02:00
Matthias Ringwald
f5f4e290fd mesh: disable PB_GATT advertisement on GATT connection, start scanning only if ADV Bearer is used 2019-07-20 08:50:28 +02:00
Matthias Ringwald
4a05808fdd mesh: fix compile for USE_ADVERTISING_WITH_NODE_IDENTITY 2019-07-20 08:50:28 +02:00
Matthias Ringwald
8367c52c44 mesh: fix makefile build 2019-07-20 08:50:28 +02:00
Matthias Ringwald
3d54c6b784 mesh: add mesh.gatt 2019-07-20 08:50:28 +02:00
Matthias Ringwald
9d611858ed mesh: integrate gatt proxy service into mesh.c 2019-07-20 08:50:28 +02:00
Matthias Ringwald
e8af3a014e mesh: integrate pb_gatt into mesh.c 2019-07-20 08:50:28 +02:00
Matthias Ringwald
d22eb5b240 mesh: fix receive of provisioning pdus via gatt 2019-07-20 08:50:28 +02:00
Matthias Ringwald
0b2c76e9ae mesh: provide att db with mesh provisioning service 2019-07-20 08:50:28 +02:00
Matthias Ringwald
0f163b6ea8 mesh: model to appkey list 2019-07-20 08:50:28 +02:00
Matthias Ringwald
04cd7bd58d mesh: add model iterator / lookup 2019-07-20 08:50:28 +02:00
Matthias Ringwald
1d419a886f mesh: add appkey_indices to mesh_model_t using MAX_NR_MESH_APPKEYS_PER_MODEL 2019-07-20 08:50:28 +02:00
Matthias Ringwald
f7b1db751f mesh: Config Model Server - AppKey List - delete AppKeys upon NetKey delete 2019-07-20 08:50:28 +02:00
Matthias Ringwald
3e0443dd81 mesh: Config Model Server - AppKey List - Update - add new key at end 2019-07-20 08:50:27 +02:00
Matthias Ringwald
7faf776e67 mesh: Config NetKey Update adds key with key refresh flag 2019-07-20 08:50:27 +02:00
Matthias Ringwald
dcae3e948d mesh: lower transport clear outgoing pdu and notify upper layer on send failure, fix debug output 2019-07-20 08:50:27 +02:00
Matthias Ringwald
01496892a1 mesh: add new keys at end of key list, add key_refresh field 2019-07-20 08:50:27 +02:00
Matthias Ringwald
02b5f73ab5 mesh: Config Model Server - AppKey List - Update 2019-07-20 08:50:27 +02:00
Matthias Ringwald
a025147c99 mesh: respond with Invalid NetKey on AppKey Add that already exists but with different NetKey 2019-07-20 08:50:27 +02:00
Matthias Ringwald
beed9d444e meshL fix Config AppKey List and AppKey Add 2019-07-20 08:50:27 +02:00
Matthias Ringwald
130cd52bff mesh: Config Model Server - AppKey List - Get AppKey List 2019-07-20 08:50:27 +02:00
Matthias Ringwald
0fb966c375 mesh: fix u24/u32 template generator, disable incomple appkey storage 2019-07-20 08:50:27 +02:00
Matthias Ringwald
865da043a8 mesh: Config Model Server - AppKey List - Add AppKey, Delete AppKey 2019-07-20 08:50:27 +02:00
Matthias Ringwald
61b3b79889 mesh: remove const from key getters and iterators 2019-07-20 08:50:27 +02:00
Matthias Ringwald
1e891ec87b mesh: appkey management - update code to use add appkey instead of mesh_application_key_set 2019-07-20 08:50:27 +02:00
Matthias Ringwald
48dbbdaabd mesh: appkey management - add iterator to get all keys for a given netkey index 2019-07-20 08:50:27 +02:00
Matthias Ringwald
9572f83fe1 mesh: rename mesh_transport_key_aid_iterator to indicate AID filter 2019-07-20 08:50:27 +02:00
Matthias Ringwald
3f60e917b4 mesh: return status in mesh_upper_transport_setup_access_pdu_header 2019-07-20 08:50:27 +02:00
Matthias Ringwald
42f3f8dae0 mesh: remove unused fields from mesh_transport_key_and_virtual_address_iterator_t 2019-07-20 08:50:27 +02:00
Matthias Ringwald
7f00ba15e4 mesh: simplify mesh_transport_key_iterator 2019-07-20 08:50:27 +02:00
Matthias Ringwald
0cdba057f6 mesh: appkey management - key and virtual address iterator also filters on netkey_index 2019-07-20 08:50:27 +02:00
Matthias Ringwald
f23c7cad07 mesh: appkey management - update iterator to use linked list 2019-07-20 08:50:27 +02:00
Matthias Ringwald
f747e0fc9d mesh: pass netkey_index to mesh_application_key_set 2019-07-20 08:50:27 +02:00
Matthias Ringwald
8d3c795711 mesh: appkey management - add/delete key to/from linked list 2019-07-20 08:50:27 +02:00
Matthias Ringwald
01e2bf9489 mesh: provide memory pool for mesh_transport_keys 2019-07-20 08:50:27 +02:00
Matthias Ringwald
fe49119220 mesh: use mesh_transport_key in config_appkey_add 2019-07-20 08:50:27 +02:00
Matthias Ringwald
04c527dc21 mesh: add netkey_index to mesh_transport_key_t 2019-07-20 08:50:27 +02:00
Matthias Ringwald
042ce6c5b9 mesh: add mesh_transport_key_calc_aid 2019-07-20 08:50:27 +02:00
Matthias Ringwald
fa5e639f2c mesh: index -> appkey_index in mesh_transport_key_t 2019-07-20 08:50:27 +02:00
Matthias Ringwald
019580686c mesh: replace individual getters with getter for provisioning network key 2019-07-20 08:50:27 +02:00
Matthias Ringwald
fd35fd379e mesh: simulate resource limit for netkey list 2019-07-20 08:50:27 +02:00
Matthias Ringwald
350ee7e2ea mesh: store NetKey and IdentityKey in provisioning data 2019-07-20 08:50:27 +02:00
Matthias Ringwald
300c31f618 mesh: store NetKey in provisioning data 2019-07-20 08:50:27 +02:00
Matthias Ringwald
59988a1a07 mesh: avoid deleting last netkey, read keys as big-endian in access messages 2019-07-20 08:50:27 +02:00
Matthias Ringwald
a46516f1b8 mesh: dump netkey in mesh_network_key_derive 2019-07-20 08:50:27 +02:00