Matthias Ringwald
|
e3f8b4e7e5
|
mesh: introduce mesh_lower_transport_outgoing_message_for_dst
|
2020-08-08 19:47:48 +02:00 |
|
Matthias Ringwald
|
27e8a9aad4
|
mesh: streamline lower transport, separate incoming and outgoing code, set timer context to segmented message
|
2020-08-08 19:47:48 +02:00 |
|
Matthias Ringwald
|
b4977f3541
|
mesh: set retry count for segmented messages in mesh_lower_transport_send_dpu
|
2020-08-08 19:47:48 +02:00 |
|
Matthias Ringwald
|
79eb95b0a5
|
mesh: sort lower transport, mesh_messge_pdu_get -> mesh_segmented_pdu_get, use bool for flags
|
2020-08-08 19:47:48 +02:00 |
|
Matthias Ringwald
|
764c8f0dbd
|
mesh: store lower transport retry count in mesh_segment_pdu_t
|
2020-08-08 19:47:48 +02:00 |
|
Matthias Ringwald
|
16fd08f928
|
mesh: compact incoming segmented messages in lower + upper transport
|
2020-08-08 19:47:48 +02:00 |
|
Matthias Ringwald
|
8a12916698
|
mesh: segments for control messages are only 8 bytes
|
2020-08-08 19:47:48 +02:00 |
|
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 |
|