Commit Graph

9224 Commits

Author SHA1 Message Date
Matthias Ringwald
c956179d06 mesh: minimal test for mesh message decoding 2019-07-20 08:50:24 +02:00
Matthias Ringwald
4ee6a71aa9 mesh: extract mesh_transport 2019-07-20 08:50:24 +02:00
Matthias Ringwald
ae0fded623 mesh: fix headers 2019-07-20 08:50:24 +02:00
Matthias Ringwald
c66b1ca7ce mesh: move mesh nettwork getter into mesh_network 2019-07-20 08:50:24 +02:00
Matthias Ringwald
a0a1ee7ec3 mesh: fix akf/aid lookup for access message validation 2019-07-20 08:50:24 +02:00
Matthias Ringwald
2c2a98f169 mesh: dont free network pdus from network layer 2019-07-20 08:50:24 +02:00
Matthias Ringwald
a59413f37f mesh: limit retries for segmented upper transport message 2019-07-20 08:50:24 +02:00
Milanka Ringwald
e85388bcc4 mesh: calculate identity key 2019-07-20 08:50:23 +02:00
Milanka Ringwald
3886cd806e mesh: start setting up advertising with node identity 2019-07-20 08:50:23 +02:00
Milanka Ringwald
ff1bc96bd6 mesh: undo network ID flipping to connect with BlueNRG-Mesh 2019-07-20 08:50:23 +02:00
Milanka Ringwald
c6dc8338fb mesh: store/read provisionig info 2019-07-20 08:50:23 +02:00
Matthias Ringwald
5fee0b6b7c mesh: handle Segment Acknowledgement messages 2019-07-20 08:50:23 +02:00
Matthias Ringwald
133765d4a9 mesh: track unacknowledged segments in block ack 2019-07-20 08:50:23 +02:00
Matthias Ringwald
1e6b8b2ffb mesh: only resend unacknowledged segments 2019-07-20 08:50:23 +02:00
Matthias Ringwald
6078f959dc mesh: use central upper transport seq counter 2019-07-20 08:50:23 +02:00
Matthias Ringwald
1d1877852c mesh: use central upper transport seq counter 2019-07-20 08:50:23 +02:00
Matthias Ringwald
a3aa829c45 mesh: generate outgoing segmented network pdus on the fly 2019-07-20 08:50:23 +02:00
Matthias Ringwald
c191d3c542 mesh: extract mesh_upper_transport_setup_segment 2019-07-20 08:50:23 +02:00
Matthias Ringwald
7991f61b9d mesh: use seg_o as interator in mesh_upper_transport_send_segmented_pdu 2019-07-20 08:50:23 +02:00
Matthias Ringwald
83fe21d569 mesh: use mesh_upper_transport_send_segmented_pdu for segmented access and control messages 2019-07-20 08:50:23 +02:00
Milanka Ringwald
affaefe34c mesh: remove unused vars from test files 2019-07-20 08:50:23 +02:00
Milanka Ringwald
4f37a2df63 mesh: fix info 2019-07-20 08:50:23 +02:00
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