9178 Commits

Author SHA1 Message Date
Matthias Ringwald
731d77a002 mesh: send segmented acknowledgement message using CTL=1 2019-07-20 08:50:23 +02:00
Matthias Ringwald
1cbc4a36a7 mesh: fix mesh_network_seq getter 2019-07-20 08:50:23 +02:00
Milanka Ringwald
339c5cba81 mesh: fix event len for MESH_PB_TRANSPORT_LINK_CLOSED/OPEN, store conn type in provisioning device, prepare dispatch 2019-07-20 08:50:23 +02:00
Milanka Ringwald
26ecb6246e mesh: add type pb_type_t, rename ADV to TRANSPORT in events 2019-07-20 08:50:23 +02:00
Milanka Ringwald
beeedc4565 mesh: add pb_adv_cid to pb_adv_send_pdu 2019-07-20 08:50:23 +02:00
Milanka Ringwald
323c8bf909 mesh: pb-gatt send segmented msgs 2019-07-20 08:50:23 +02:00
Milanka Ringwald
2bf4d0f45f mesh: provisioning device, adapt for gatt 2019-07-20 08:50:23 +02:00
Milanka Ringwald
0214327469 mesh: gatt provisioning service, reassebmle segmented PDU message 2019-07-20 08:50:23 +02:00
Milanka Ringwald
119c1fd49c mesh: start pb gatt 2019-07-20 08:50:23 +02:00
Matthias Ringwald
d3a9936bfc mesh: add Incomplete Message Timer 2019-07-20 08:50:23 +02:00
Milanka Ringwald
684716aa90 mesh: mesh_provisioning_service, extract get instance 2019-07-20 08:50:23 +02:00
Milanka Ringwald
14c1379256 mesh: gatt provisioning service - send a Proxy PDU message containing Provisioning PDU from a Provisioning Server 2019-07-20 08:50:23 +02:00
Milanka Ringwald
a1435edea8 mesh: define maz size of proxy PDU 2019-07-20 08:50:23 +02:00
Matthias Ringwald
26f452ddcd mesh: send Segment Acknowledgement Message 2019-07-20 08:50:23 +02:00
Milanka Ringwald
777f7d8daf mesh: start mesh_provisioning_service 2019-07-20 08:50:23 +02:00
Matthias Ringwald
cf81b30ac1 mesh: fix rebase 2019-07-20 08:50:23 +02:00
Matthias Ringwald
25447df22f mesh: reassemble segmented transport messages 2019-07-20 08:50:22 +02:00
Matthias Ringwald
df5d954deb mesh: use mesh_transport_pdu instead of mesh_access_pdu 2019-07-20 08:50:22 +02:00
Matthias Ringwald
0d374fc949 mesh: validate TransMIC for segmented access messsages 2019-07-20 08:50:22 +02:00
Matthias Ringwald
14eb258619 mesh: store appkey_index in message 2019-07-20 08:50:22 +02:00
Matthias Ringwald
898500f031 mesh: add mesh_access_pdu_t and provide memory pool 2019-07-20 08:50:22 +02:00
Matthias Ringwald
1cbafa7ff4 mesh: set AID for PTS Application Key 2019-07-20 08:50:22 +02:00
Matthias Ringwald
9daf21078b mesh: forward unsegmented control message to upper transport 2019-07-20 08:50:22 +02:00
Matthias Ringwald
4555e0ac16 mesh: support device key for upper transport message decoding 2019-07-20 08:50:22 +02:00
Matthias Ringwald
b3511cb46b mesh: provide access to provisioned device key 2019-07-20 08:50:22 +02:00
Matthias Ringwald
2f2eced698 mesh: iterate over application keys with matching aid 2019-07-20 08:50:22 +02:00
Matthias Ringwald
29dbcb61f0 mesh: extract mesh_lower_transport_process_message_done 2019-07-20 08:50:22 +02:00
Matthias Ringwald
fec314ce4b mesh: implement mesh_transport_run() that processes incoming network pdus 2019-07-20 08:50:22 +02:00
Matthias Ringwald
aacf960d48 mesh: introduce application key list 2019-07-20 08:50:22 +02:00
Matthias Ringwald
44c5d856a0 mesh: add #ENABLE_MESH 2019-07-20 08:50:22 +02:00
Matthias Ringwald
fb618bbc51 mesh: validate TransMIC for Unsegmented Access messages 2019-07-20 08:50:22 +02:00
Matthias Ringwald
8b15b9f640 mesh: provide setter for higher layer mesage handler in mesh_network 2019-07-20 08:50:22 +02:00
Matthias Ringwald
cb4abe7572 mesh: forward validated network pdu to transport layer before relaying 2019-07-20 08:50:22 +02:00
Matthias Ringwald
233d8706eb mesh: extract setup code from provisioning data 2019-07-20 08:50:22 +02:00
Matthias Ringwald
20f42475df mesh: fix compile mesh_network 2019-07-20 08:50:22 +02:00
Matthias Ringwald
fdf47f7cca mesh: ouput filter drops messages with TTL <= 1 mesh_network 2019-07-20 08:50:22 +02:00
Matthias Ringwald
2264eafe8f mesh: store unicast addr in provisioning data 2019-07-20 08:50:22 +02:00
Matthias Ringwald
bcb111ffa5 mesh: relay messages in mesh_network 2019-07-20 08:50:22 +02:00
Matthias Ringwald
17caa1929d mesh: store netkey_index in mesh_network_pdu for received packets 2019-07-20 08:50:22 +02:00
Matthias Ringwald
4e08d4b43d mesh: store netkey_index in mesh_network_pdu for outgoing packets 2019-07-20 08:50:22 +02:00
Matthias Ringwald
909b261375 mesh: add network cache in mesh_network 2019-07-20 08:50:22 +02:00
Matthias Ringwald
bf051c5d2b mesh: serialize crypto calls in mesh_network 2019-07-20 08:50:22 +02:00
Matthias Ringwald
f90df679aa mesh: global iv_index in mesh_network, fix test 2019-07-20 08:50:22 +02:00
Matthias Ringwald
8742314971 mesh: sort globals in mesh_network 2019-07-20 08:50:22 +02:00
Matthias Ringwald
9cc32c6c71 mesh: extract mesh_network 2019-07-20 08:50:22 +02:00
Matthias Ringwald
63cdf6b794 mesh: use mesh_network_key for encode/decode 2019-07-20 08:50:22 +02:00
Matthias Ringwald
c0a711d937 mesh: define mesh_network_key and add provide memory pool for it 2019-07-20 08:50:22 +02:00
Matthias Ringwald
27c7f61e55 mesh: print TTL, log if no network key found 2019-07-20 08:50:22 +02:00
Matthias Ringwald
1f2a88929d mesh: print ttl 2019-07-20 08:50:22 +02:00
Matthias Ringwald
568e37651a mesh: validate src/dst addr on receive 2019-07-20 08:50:22 +02:00