9471 Commits

Author SHA1 Message Date
Matthias Ringwald
8e94013fd8 mesh: defer call to mesh_access_message_processed after crypto operations 2019-07-20 08:50:27 +02:00
Matthias Ringwald
0c1ab6c301 mesh: explicitly call mesh_access_message_processed after message processed 2019-07-20 08:50:27 +02:00
Matthias Ringwald
bbc7a0af3e mesh: single mesh_upper_transport_setup_access_pdu_header instead of segmented/unsegmented 2019-07-20 08:50:27 +02:00
Matthias Ringwald
109de5eff3 mesh: single mesh_upper_transport_setup_access_pdu instead of segmented/unsegmented 2019-07-20 08:50:27 +02:00
Matthias Ringwald
d984d09471 mesh: single mesh_upper_transport_send_access_pdu instead of segmented/unsegmented 2019-07-20 08:50:27 +02:00
Matthias Ringwald
dd5179955b mesh: single mesh_upper_transport_setup_control_pdu instead of segmented/unsegmented 2019-07-20 08:50:27 +02:00
Matthias Ringwald
f804bd819f mesh: single mesh_upper_transport_send_control_pdu instead of segmented/unsegmented 2019-07-20 08:50:27 +02:00
Matthias Ringwald
9b1db5eacc mesh: fix mesh_upper_transport_message_processed_by_higher_layer 2019-07-20 08:50:27 +02:00
Matthias Ringwald
c4e43a88c2 mesh: single mesh_upper_transport_message_processed_by_higher_layer instead of segmented/unsegmented 2019-07-20 08:50:27 +02:00
Matthias Ringwald
9cee7f1f66 mesh: single mesh_upper_transport_register_control_message_handler instead of segmented/unsegmented 2019-07-20 08:50:27 +02:00
Matthias Ringwald
c9e8931a1a mesh: single mesh_upper_transport_register_access_message_handler instead of segmented/unsegmented 2019-07-20 08:50:27 +02:00
Matthias Ringwald
2343b7d3c2 mesh: use mesh_lower_transport_send_pdu instead of send segmented/unsegmented 2019-07-20 08:50:27 +02:00
Matthias Ringwald
0342f50b86 mesh: add mesh_lower_transport_send_pdu 2019-07-20 08:50:27 +02:00
Matthias Ringwald
46f4dee88b mesh: extract mesh_foundation 2019-07-20 08:50:27 +02:00
Matthias Ringwald
de78999b38 mesh: add missing config server operations to dispatch table 2019-07-20 08:50:27 +02:00
Matthias Ringwald
c80b334efa mesh: handle get/set friend state 2019-07-20 08:50:27 +02:00
Matthias Ringwald
c5fa658b92 mesh: simplify mesh_access_parser 2019-07-20 08:50:27 +02:00
Matthias Ringwald
24c4300fb0 mesh: add mesh_upper_transport_register_control_message_handler 2019-07-20 08:50:27 +02:00
Matthias Ringwald
5ae3767212 mesh: rename callback registration for access messages 2019-07-20 08:50:26 +02:00
Matthias Ringwald
30453c8d4c mesh: add config_server_send_unsegmented_message 2019-07-20 08:50:26 +02:00
Matthias Ringwald
721964ccac mesh: add mesh_upper_transport_setup_unsegmented_access_pdu_header 2019-07-20 08:50:26 +02:00
Matthias Ringwald
3303a2455b mesh: add mesh_network_setup_pdu_header 2019-07-20 08:50:26 +02:00
Matthias Ringwald
e9738c0e98 mesh: update foundation code to handle segmented and unsegmented messages 2019-07-20 08:50:26 +02:00
Matthias Ringwald
b90f51a2b6 mesh: add mesh_access_parser for mesh_pdu_t, use to parse foudation messages 2019-07-20 08:50:26 +02:00
Matthias Ringwald
539cb6b23e mesh: use config_server_send_message to setup headers and send, use netkey_index from incoming message where directly available 2019-07-20 08:50:26 +02:00
Matthias Ringwald
d757226224 mesh: pass model, netkey_index, dest to all status functions 2019-07-20 08:50:26 +02:00
Matthias Ringwald
4e37c452f7 mesh: add mesh_upper_[un]segmented_message_processed_by_higher_layer 2019-07-20 08:50:26 +02:00
Matthias Ringwald
298f1427a3 mesh: check network pdu size 2019-07-20 08:50:26 +02:00
Matthias Ringwald
619f4f6a3a mesh: add all missing foundation operations defines, handle foundation model publication get/set messages 2019-07-20 08:50:26 +02:00
Matthias Ringwald
473970ab1a mesh: calculate hash for label uuid in mesh_virtual_addr 2019-07-20 08:50:26 +02:00
Matthias Ringwald
2714dd28cc mesh: fix callback arg for mesh_k4 2019-07-20 08:50:26 +02:00
Matthias Ringwald
a7b9793fd7 mesh: send status messages to sender of access message 2019-07-20 08:50:26 +02:00
Matthias Ringwald
151c959ebe mesh: use template engine for access messages 2019-07-20 08:50:26 +02:00
Matthias Ringwald
0c187fc6dc mesh: handle foundation relay get/set messages 2019-07-20 08:50:26 +02:00
Matthias Ringwald
f3309c1154 mesh: dump segmented access payload 2019-07-20 08:50:26 +02:00
Matthias Ringwald
272abd2bfe mesh: handle foundation gatt proxy get/set 2019-07-20 08:50:26 +02:00
Matthias Ringwald
209c6904ac mesh: handle foundation beacon get/set 2019-07-20 08:50:26 +02:00
Matthias Ringwald
32dda8247e mesh: handle foundation network retranmit get/set 2019-07-20 08:50:26 +02:00
Matthias Ringwald
edf044c4e3 mesh: fix send for segmented messages 2019-07-20 08:50:26 +02:00
Matthias Ringwald
4d015c9b14 mesh: use PTS_DEFAULT_TTL for PTS tests and mesh_foundation_default_ttl_get for configuration server messages 2019-07-20 08:50:26 +02:00
Matthias Ringwald
19e2fc873c mesh: handle config server default ttl message 2019-07-20 08:50:26 +02:00
Matthias Ringwald
668b49bfd4 mesh: add access message builder for segmented (transport) messsages 2019-07-20 08:50:26 +02:00
Matthias Ringwald
8ffbe80d21 mesh: extract mesh_upper_transport_setup_segmented_access_pdu_header 2019-07-20 08:50:26 +02:00
Matthias Ringwald
6cb2bf0bc9 mesh: mesh_upper_transport notify upper layer on pdu sent 2019-07-20 08:50:26 +02:00
Matthias Ringwald
77a189f13e mesh: fix unit test 2019-07-20 08:50:26 +02:00
Matthias Ringwald
b2f661151c mesh: fix unit test 2019-07-20 08:50:26 +02:00
Matthias Ringwald
35d8c536f6 mesh: notify upper transport upon lower layer send result 2019-07-20 08:50:26 +02:00
Matthias Ringwald
739db865e3 mesh: serialize outgoing segmented pdus 2019-07-20 08:50:26 +02:00
Matthias Ringwald
eec73b5b18 mesh: process outgoing lower transport pdus via queue 2019-07-20 08:50:26 +02:00
Matthias Ringwald
8b5057468e mesh: introduce mesh_lower_transport_send_unsegmented_pdu 2019-07-20 08:50:26 +02:00