9202 Commits

Author SHA1 Message Date
Milanka Ringwald
81f9e27569 mesh: mesh proxy server service skeleton 2019-07-20 08:50:23 +02:00
Milanka Ringwald
36e65730fa mesh: move oob information struct to provisioning.h 2019-07-20 08:50:23 +02:00
Matthias Ringwald
453c736fcd mesh: extract mesh_upper_transport_send_segmented_pdu 2019-07-20 08:50:23 +02:00
Matthias Ringwald
89f7b882de mesh: use MESH_NETWORK_ID for network pdus in advertisements 2019-07-20 08:50:23 +02:00
Matthias Ringwald
6c2163ba02 mesh: sort functions by layer 2019-07-20 08:50:23 +02:00
Matthias Ringwald
15b018cb86 mesh: notify lower transport when network pdu was sent, free memory in higher layer 2019-07-20 08:50:23 +02:00
Matthias Ringwald
f635d27a4d mesh: only provide mesh_network_send_pdu to allow for pdu sent callback 2019-07-20 08:50:23 +02:00
Matthias Ringwald
12560ee3f2 mesh: add mesh_network_callback_type_t to callbacks from mesh_network 2019-07-20 08:50:23 +02:00
Matthias Ringwald
4c8f56d7c4 mesh: deliver Mesh Beacons from ADV Bearer to Beacon and higher layers as MESH_BEACON_PACKET 2019-07-20 08:50:23 +02:00
Matthias Ringwald
33674932a6 mesh: deliver Network PDU from ADV Bearer to Network as MESH_NETWORK_PACKET 2019-07-20 08:50:23 +02:00
Matthias Ringwald
14fe90b179 mesh: add MESH_NETWORK_PACKET and MESH_BEACON_PACKET 2019-07-20 08:50:23 +02:00
Matthias Ringwald
b177cd1d67 mesh: send segmented access messsage prototype 2019-07-20 08:50:23 +02:00
Matthias Ringwald
4dcdf9cccd mesh: send segmented control message prototype 2019-07-20 08:50:23 +02:00
Milanka Ringwald
aa7a2e396e mesh: remove printf from mesh_provisioning_service and pb gatt 2019-07-20 08:50:23 +02:00
Milanka Ringwald
127b9caf59 mesh: extract pb_gatt 2019-07-20 08:50:23 +02:00
Milanka Ringwald
19d484afeb mesh: rename sar buffers 2019-07-20 08:50:23 +02:00
Milanka Ringwald
7dd36736a3 mesh: remove compile warnings for test files 2019-07-20 08:50:23 +02:00
Milanka Ringwald
870b3bb0eb mesh: rename pb_adv into pb_gatt in mesh_provisiong_service_server; provide dispatchers for open, send, close 2019-07-20 08:50:23 +02:00
Matthias Ringwald
e945e74d13 mesh: add/test more test messages 2019-07-20 08:50:23 +02:00
Matthias Ringwald
9dd3fa6189 mesh: pretty-print output 2019-07-20 08:50:23 +02:00
Matthias Ringwald
16c189fe03 mesh: prepare unsegmented acccess message in mesh_network_pdu 2019-07-20 08:50:23 +02:00
Matthias Ringwald
8f74cb4075 mesh: add mesh_network_setup_pdu and mesh_network_send_pdu 2019-07-20 08:50:23 +02:00
Matthias Ringwald
776114c518 mesh: disable ttl filter in network for now 2019-07-20 08:50:23 +02:00
Matthias Ringwald
6921754201 mesh: encrypt access pdu with application key 2019-07-20 08:50:23 +02:00
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