Matthias Ringwald
|
5236fe42ab
|
mesh: fix use of wrong enum in mesh_lower_transport_deliver_to_higher_layer
|
2020-08-08 19:47:48 +02:00 |
|
Matthias Ringwald
|
ce16a729ff
|
mesh: store current segment in mesh-upper-transport-builder
|
2020-08-08 19:47:48 +02:00 |
|
Matthias Ringwald
|
f12194469a
|
mesh: introduce mesh_upper_transport_builder
|
2020-08-08 19:47:48 +02:00 |
|
Matthias Ringwald
|
923523a338
|
mesh: track alloc error in message builder finalize
|
2020-08-08 19:47:48 +02:00 |
|
Matthias Ringwald
|
eeaf8ec172
|
mesh: introduce finalize function for access and upper transport builders
|
2020-08-08 19:47:48 +02:00 |
|
Matthias Ringwald
|
d8b26ece66
|
mesh: extract mesh_upper_transport_message builder from mesh_access_message builder
|
2020-08-08 19:47:48 +02:00 |
|
Matthias Ringwald
|
9efa7aca08
|
mesh: extend mesh_upper_transport_pdu_free to handle mesh_upper_transport_pdus
|
2020-08-08 19:47:48 +02:00 |
|
Matthias Ringwald
|
ad3a646c65
|
mesh: streamline mesh-access-parser uint getter names
|
2020-08-08 19:47:48 +02:00 |
|
Matthias Ringwald
|
edc441d25e
|
mesh: update access message builder
|
2020-08-08 19:47:48 +02:00 |
|
Matthias Ringwald
|
0323b88958
|
mesh: remove num_segments and segmented flag from access message builder
|
2020-08-08 19:47:48 +02:00 |
|
Matthias Ringwald
|
6f13b0f4dc
|
mesh: use single access builder
|
2020-08-08 19:47:48 +02:00 |
|
Matthias Ringwald
|
039cbf1d6c
|
mesh: use mesh_upper_transport_pdu_t for all access messages, remove mesh_transport_pdu_t
|
2020-08-08 19:47:48 +02:00 |
|
Matthias Ringwald
|
53c7dafa1c
|
mesh: minimal compile fix
|
2020-08-08 19:47:48 +02:00 |
|
Matthias Ringwald
|
e1c526dc32
|
mesh: inline mesh_access_x getters for acknowledged messages
|
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
|
3945bdb632
|
mesh: remove mesh_message_pdu_t getters (mesh_message_*)
|
2020-08-08 19:47:48 +02:00 |
|
Matthias Ringwald
|
7cb45abf1b
|
mesh: replace network_header in mesh_segmented_pdu by individual fields
|
2020-08-08 19:47:48 +02:00 |
|
Matthias Ringwald
|
a249589839
|
mesh: replace network_header in mesh_control_pdu_t by individual fields
|
2020-08-08 19:47:48 +02:00 |
|
Matthias Ringwald
|
c3fc3eea49
|
mesh: replace network_header in mesh_access_pdu_t by individual fields
|
2020-08-08 19:47:48 +02:00 |
|
Matthias Ringwald
|
274c04d6a2
|
mesh: remove incoming_access_pdu_encrypted_singleton pdu
|
2020-08-08 19:47:48 +02:00 |
|
Matthias Ringwald
|
da49152527
|
mesh: free incoming encrypted access pdu until fully processed
|
2020-08-08 19:47:48 +02:00 |
|
Matthias Ringwald
|
8fb906aa4a
|
mesh: use union for mesh-access and mesh-control pdu singletons, use mesh-access singleton as crypto buffer
|
2020-08-08 19:47:48 +02:00 |
|
Matthias Ringwald
|
5368239bb9
|
mesh: allocate segments for segmented access pdu in run function
|
2020-08-08 19:47:48 +02:00 |
|
Matthias Ringwald
|
370463bf12
|
mesh: store lower transport pdu in upper pdu field, remove temp globals
|
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
|
ee7327ab4d
|
mesh: use upper_transport_outgoing_active list instead of single pointer
|
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
|
e9c1630436
|
mesh: use mesh_network_pdu for unsegmented control and access messages, sort functions
|
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
|
0da6acd083
|
mesh: delete previous upper transport code for sending access messages
|
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
|
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 |
|