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
|
efe57ffd88
|
mesh: define upper-(un)segmented-access/control pdu types, replace network_header in mesh_upper_transport_pdu_t
|
2020-08-08 19:47:48 +02:00 |
|
Matthias Ringwald
|
491f99b339
|
mesh: define mesh_upper_transport_pdu for (un)segmented access messages and segmented control messages
|
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
|
df3fbfcbf2
|
mesh: extract mesh_segmented_pdu_flatten
|
2020-08-08 19:47:48 +02:00 |
|
Matthias Ringwald
|
25b07254fd
|
mesh: define mesh_control_pdu, flatten segmented control message into mesh_control_pdu in upper transport
|
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
|
f77356ee3f
|
mesh: support mesh_access_pdu_t in mesh_access_parser
|
2020-08-08 19:47:48 +02:00 |
|
Matthias Ringwald
|
552f5710ee
|
mesh: copy unsegmented access pdu into segmented decryption buffer and remove unsegmented handling code
|
2020-08-08 19:47:47 +02:00 |
|
Matthias Ringwald
|
425d239125
|
mesh: copy encrypted access pdu onto decrypted instead of manual field setup
|
2020-08-08 19:47:47 +02:00 |
|
Matthias Ringwald
|
1fda7ff0dd
|
mesh: free outgoing_segmented_pdu on test reset, remove dummy field from mesh_transport_pdu_t
|
2020-08-08 19:47:47 +02:00 |
|
Matthias Ringwald
|
a4bbc09d8c
|
mesh: mesh_message_pdu -> mesh_segmented_pdu
|
2020-08-08 19:47:47 +02:00 |
|
Matthias Ringwald
|
04050cc707
|
mesh: remove segmented field from mesh_message_pdu_t
|
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
|
a01ba0fd87
|
mesh: lower transport only handles mesh unsegmented and mesh message
|
2020-08-08 19:47:47 +02:00 |
|
Matthias Ringwald
|
b837963cae
|
mesh: use mesh-unsegmented-pdu to send unsegmented control messages
|
2020-08-08 19:47:47 +02:00 |
|
Matthias Ringwald
|
6545a65bed
|
mesh: add dummy to mesh-transport-t to keep tests working
|
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
|
2ebe2350f1
|
mesh: remove unused fields from mesh-transport-pdu-t
|
2020-08-08 19:47:47 +02:00 |
|
Matthias Ringwald
|
8fa6125a56
|
mesh: move code to create mesh message with chunks from mesh transport from lower into upper transport
|
2020-08-08 19:47:47 +02:00 |
|
Matthias Ringwald
|
536fc3830d
|
mesh: use outgoing_segmented_pdu as guard in upper transport
|
2020-08-08 19:47:47 +02:00 |
|
Matthias Ringwald
|
12ba52abb7
|
mesh: funnel segmented messages via mesh_upper_transport_send_segmented_pdu
|
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
|
7667b5d16d
|
mesh: split mesh_upper_transport_process_segmented_message_done into control and access variant
|
2020-08-08 19:47:47 +02:00 |
|
Matthias Ringwald
|
84011563af
|
mesh: use single pointer to mesh_network_pdu_t in mesh_unsegmented_incoming_pdu_t
|
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
|
cae44b3ba8
|
mesh: sort upper transport
|
2020-08-08 19:47:47 +02:00 |
|
Matthias Ringwald
|
e3bfb018e7
|
mesh: rename mesh_access_incoming_pdu_t into mesh_unsegemented_incoming_pdu_t
|
2020-08-08 19:47:47 +02:00 |
|
Matthias Ringwald
|
2ae11e2ce9
|
mesh: use new mesh_acess_incoming_pdu_t for unsegmented access messages in lower + upper transport
|
2020-08-08 19:47:47 +02:00 |
|
Matthias Ringwald
|
8a504b3091
|
mesh: free segments in lower transport after processed and reported as done by higher layer
|
2020-08-08 19:47:47 +02:00 |
|
Matthias Ringwald
|
fc5e26202e
|
mesh: only send single message from lower transport to higher layer
|
2020-08-08 19:47:47 +02:00 |
|
Matthias Ringwald
|
58bb237918
|
mesh: directly process incoming network pdus in lower transport
|
2020-08-08 19:47:47 +02:00 |
|
Matthias Ringwald
|
9a0bb1c903
|
mesh: funnel packets for upper transport through mesh_lower_transport_deliver_to_higher_layer
|
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
|
bb588228df
|
mesh: remove app-key index 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
|
c2b4731e27
|
mesh: store appkey_index in mesh_message_t for outgoing unsegmented access messages
|
2020-08-08 19:47:47 +02:00 |
|
Matthias Ringwald
|
3e081242c0
|
mesh: use mesh_access_message builder in health_server, remove mesh_access_network builder
|
2020-08-08 19:47:47 +02:00 |
|
Matthias Ringwald
|
2f6af885c0
|
mesh: remove access acknowledgement data from network_pdu_t
|
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
|
1e6c9225b9
|
mesh: improve variable names in lower transport
|
2020-08-08 19:47:47 +02:00 |
|
Matthias Ringwald
|
59613427f2
|
mesh: send unsegmented mesh_message_pdu_t in lower transport
|
2020-08-08 19:47:47 +02:00 |
|
Matthias Ringwald
|
cdcfd2c12f
|
mesh: make mesh_message_pdu get/free public, free segments
|
2020-08-08 19:47:47 +02:00 |
|
Matthias Ringwald
|
2a974a6981
|
mesh: flatten incoming mesh_message_pdu_t in upper transport
|
2020-08-08 19:47:47 +02:00 |
|
Matthias Ringwald
|
6faf9b5b38
|
mesh: assert mesh_upper_transport_process_segmented_message_done not called for unsupported control message
|
2020-08-08 19:47:47 +02:00 |
|