11331 Commits

Author SHA1 Message Date
Matthias Ringwald
8eed85101f test/mesh: enable address sanitizer in cmake built 2020-08-08 19:47:49 +02:00
Matthias Ringwald
fe43086520 mesh: fix test/mesh Makefile built 2020-08-08 19:47:49 +02:00
Matthias Ringwald
5c9e1292a5 mesh: send public key only once 2020-08-08 19:47:49 +02:00
Matthias Ringwald
81f6df8b78 mesh: stop health server publishing 2020-08-08 19:47:49 +02:00
Matthias Ringwald
37b8d44441 mesh: fix handling of segmented control message 2020-08-08 19:47:49 +02:00
Matthias Ringwald
3fe2a56c5e mesh: fix warning 2020-08-08 19:47:49 +02:00
Matthias Ringwald
ee4f8c36ef mesh: fix send segmented access message in mesh_pts 2020-08-08 19:47:49 +02:00
Matthias Ringwald
db3262bc38 mesh: reset seq numbers on node reset 2020-08-08 19:47:49 +02:00
Matthias Ringwald
46f4dd9946 mesh: allow to provision device after node reset 2020-08-08 19:47:49 +02:00
Matthias Ringwald
698b6644cc mesh: remove beacon timer before starting it again 2020-08-08 19:47:49 +02:00
Matthias Ringwald
76f392605d mesh: skip old app keys in config appkey list 2020-08-08 19:47:49 +02:00
Matthias Ringwald
1283576099 mesh: report status of outgoing lower transport message 2020-08-08 19:47:49 +02:00
Matthias Ringwald
69061c1c4f mesh: improve send segmented message complete 2020-08-08 19:47:49 +02:00
Matthias Ringwald
847d669b59 mesh: fix use of access message builder 2020-08-08 19:47:49 +02:00
Matthias Ringwald
f644c3aeeb mesh: fix access message builder for 3/4 byte values 2020-08-08 19:47:49 +02:00
Matthias Ringwald
fb68bde833 mesh: improve mesh_upper_transport_find_pdu_for_lower 2020-08-08 19:47:49 +02:00
Matthias Ringwald
b624ad1efe mesh: fix access message builder for 3/4 byte values 2020-08-08 19:47:49 +02:00
Matthias Ringwald
edf7dd0c54 mesh: dont load static app key for transport tests 2020-08-08 19:47:49 +02:00
Matthias Ringwald
03baefcc95 mesh: update pts ui to send network and access messages to test destinations 2020-08-08 19:47:49 +02:00
Matthias Ringwald
6dac9d64fd mesh: free chunks correctly, trigger segmented pdu resend 2020-08-08 19:47:49 +02:00
Matthias Ringwald
972841451c mesh: add assert for network pdu len in relay message 2020-08-08 19:47:49 +02:00
Matthias Ringwald
3bf6954eed mesh: dump received network pdus in mesh_pts 2020-08-08 19:47:49 +02:00
Matthias Ringwald
f29e499ee2 mesh: use pseudo dst for virtual address in mesh_pts 2020-08-08 19:47:49 +02:00
Matthias Ringwald
c0005391c5 mesh: use MESH_PDU_TYPE_SEGMENT_ACKNOWLEDGMENT for outgoing seg ack messages 2020-08-08 19:47:49 +02:00
Matthias Ringwald
6e7785c71c mesh: use mesh_access_send_unacknowledged_pdu to send test network packets 2020-08-08 19:47:49 +02:00
Matthias Ringwald
94d617e4bd mesh: support separate packet handlers for provisioner and device roles 2020-08-08 19:47:49 +02:00
Matthias Ringwald
18d0ae0600 mesh: send invite only in provisioner role if provisioning was started with provisioning_provisioner_start_provisioning 2020-08-08 19:47:49 +02:00
Matthias Ringwald
d76f65e8a1 mesh: select auth method in provisoner role in mesh_pts 2020-08-08 19:47:49 +02:00
Matthias Ringwald
a6ac5c38ce mesh: configure provisioner 2020-08-08 19:47:49 +02:00
Matthias Ringwald
1765fb5d34 mesh: use single timer for pb_adv 2020-08-08 19:47:49 +02:00
Matthias Ringwald
4a72aacadd mesh: timeout in device role if no incoming Provisioning PDU receive 2020-08-08 19:47:49 +02:00
Matthias Ringwald
d16ad46bc4 mesh: emit pb-adv link open failed if device does not responds 2020-08-08 19:47:49 +02:00
Matthias Ringwald
e6542936bd mesh: annotate device uuid is not copied in pb_adv_create_link 2020-08-08 19:47:49 +02:00
Matthias Ringwald
2e9a36a1d6 mesh: ignore pb link close if link is already closed 2020-08-08 19:47:49 +02:00
Matthias Ringwald
b810054019 mesh: trigger mesh upper transport run if outgoing pdus could not be processed due to missing network pdus 2020-08-08 19:47:49 +02:00
Matthias Ringwald
37225d6f59 mesh: upper transport skips over pdus for which an segmented outgoing pdu is already active 2020-08-08 19:47:49 +02:00
Matthias Ringwald
266d4c7d97 mesh:mesh publication uses mesh_upper_transport_request_to_send 2020-08-08 19:47:49 +02:00
Matthias Ringwald
132f11c078 mesh: implement mesh_upper_transport_request_to_send 2020-08-08 19:47:49 +02:00
Matthias Ringwald
643aa44b85 mesh: add mesh_upper_transport_schedule_send_requests and mesh_upper_transport_send_requests_pending 2020-08-08 19:47:48 +02:00
Matthias Ringwald
5efae9f328 mesh: wait until message builder is ready before delivering access pdu to access layer 2020-08-08 19:47:48 +02:00
Matthias Ringwald
3fa4c16cca mesh: add mesh_network_notify_on_freed_pdu 2020-08-08 19:47:48 +02:00
Matthias Ringwald
f82a583aa1 mesh: implement mesh_upper_transport_message_reserve 2020-08-08 19:47:48 +02:00
Matthias Ringwald
832a0cf57b mesh: add API docs for mesh_upper_transport API 2020-08-08 19:47:48 +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
96a83bdb1f mesh: add missing parentheses, track upper transport pdu len 2020-08-08 19:47:48 +02:00
Matthias Ringwald
16f259db21 mesh: remove dead code 2020-08-08 19:47:48 +02:00
Matthias Ringwald
8661c58f36 mesh: remove transmic_len from mesh_access_pdu_t 2020-08-08 19:47:48 +02:00
Matthias Ringwald
354884c7cd mesh: replace ack and incomplete timer active uint8_t with bits in mesh_segmented->flags 2020-08-08 19:47:48 +02:00
Matthias Ringwald
bd9154554d mesh: use seq & 0x1fff instead of storing seq_zero explicitly in mesh_segmented_pdu 2020-08-08 19:47:48 +02:00