27 Commits

Author SHA1 Message Date
Matthias Ringwald
2908c9e636 test/mesh: report gatt packets as sent to avoid memory leak in unit test 2020-08-21 18:22:37 +02:00
Matthias Ringwald
df71a9a479 mesh: fix compile warnings 2020-08-08 19:47:49 +02:00
Matthias Ringwald
4802c66d6b mesh: rework setup and send of upper transport control pdus 2020-08-08 19:47:48 +02:00
Matthias Ringwald
734bae6528 mesh: replace mesh_upper_transport_setup_access_pdu with message builder 2020-08-08 19:47:48 +02:00
Matthias Ringwald
2ddfd9e22b mesh: remove mesh_access_pdu_t getters 2020-08-08 19:47:48 +02:00
Matthias Ringwald
43d07e7f35 mesh: allocate network pdu for outgoing unsegmented access message in run function 2020-08-08 19:47:48 +02:00
Matthias Ringwald
e4121a3476 mesh: remove mesh_unsegmented_pdu_t 2020-08-08 19:47:48 +02:00
Matthias Ringwald
a97cf70aa5 mesh: use mesh_upper_transport_pdu for outgoing segmented control 2020-08-08 19:47:48 +02:00
Matthias Ringwald
8ec600ff6d mesh: use mesh_network_pdu/unsegmented_control for unsegmented control 2020-08-08 19:47:48 +02:00
Matthias Ringwald
1b51af657a mesh: use only segments in mesh_upper_transport_pdu_t, use mesh_upper_transport_pdu for unsegmented access 2020-08-08 19:47:48 +02:00
Matthias Ringwald
242605fa4f mesh: use mesh_upper_transport_pdu_t for segmented access message 2020-08-08 19:47:48 +02:00
Matthias Ringwald
5131e19543 mesh: store unsegmented control message in mesh-control-pdu for incoming 2020-08-08 19:47:48 +02:00
Matthias Ringwald
ba660d4251 mesh: remove mesh_transport_pdu_t from lower and upper transport 2020-08-08 19:47:48 +02:00
Matthias Ringwald
b1a7ae8f2c mesh: use mesh_access_pdu_t for outgoing segmented access messages 2020-08-08 19:47:48 +02:00
Matthias Ringwald
7a0b74888e mesh: remove mesh_upper_transport_set_higher_layer_handler, deliver pdu sent via corresponding access/control handlers 2020-08-08 19:47:48 +02:00
Matthias Ringwald
404d2482eb mesh: extend callback params for received access and control pdus 2020-08-08 19:47:48 +02:00
Matthias Ringwald
a4bbc09d8c mesh: mesh_message_pdu -> mesh_segmented_pdu 2020-08-08 19:47:47 +02:00
Matthias Ringwald
d38a76647a mesh: use mesh-unsegmented-pdu for unsegmented pdus instead of mesh-message-pdu 2020-08-08 19:47:47 +02:00
Matthias Ringwald
8facb3ea41 mesh: mesh-unsegmented-incoming -> mesh-unsegemented 2020-08-08 19:47:47 +02:00
Matthias Ringwald
a7f44e8db4 mesh: convert mesh_transport_t into mesh_message in lower transport before sending 2020-08-08 19:47:47 +02:00
Matthias Ringwald
160d2809bd mesh: use new mesh_access_pdu for incoming pdu handling in upper transport 2020-08-08 19:47:47 +02:00
Matthias Ringwald
3d9c3b8e63 mesh: use mesh_unsegmnted_incoming_pdu_t for unsegmented control messages 2020-08-08 19:47:47 +02:00
Matthias Ringwald
1aa2a11e65 mesh: deliver encrypted proxy message with MESH_NETWORK_PDU_ENCRYPTED and remove callback from mesh_network_t 2020-08-08 19:47:47 +02:00
Matthias Ringwald
aaa248aa80 mesh: wrap unsegmented access message into mesh_message_pdu_t before passing to access layer 2020-08-08 19:47:47 +02:00
Matthias Ringwald
e41a4a086c mesh: use mesh_message_t for unsegmented access messages 2020-08-08 19:47:47 +02:00
Matthias Ringwald
63197f4548 test/mesh: fix mesh_messag_test build 2019-10-11 16:08:10 +02:00
Matthias Ringwald
84242f8829 test/mesh: add mesh_message_test to CMake build 2019-09-18 15:17:40 +02:00