107 Commits

Author SHA1 Message Date
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
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
8b5057468e mesh: introduce mesh_lower_transport_send_unsegmented_pdu 2019-07-20 08:50:26 +02:00
Matthias Ringwald
c2cb6fe265 mesh: use operations table for dispatch and verify minimum packet length 2019-07-20 08:50:26 +02:00
Matthias Ringwald
5d8a229f63 mesh: dispatch based on access opcode 2019-07-20 08:50:26 +02:00
Matthias Ringwald
bb48ee9427 mesh: no heartbeat for dest = unsassigned 2019-07-20 08:50:26 +02:00
Matthias Ringwald
decffc850a mesh: send periodic Heartbeat transport messages 2019-07-20 08:50:26 +02:00
Matthias Ringwald
3c43c8e992 mesh: minimal processing of config heartbeat publication get/set 2019-07-20 08:50:26 +02:00
Matthias Ringwald
553e128c6f mesh: set primary element address in lower transport 2019-07-20 08:50:26 +02:00
Matthias Ringwald
2e3a410f6f mesh: fix format of Config Model Publication Status 2019-07-20 08:50:26 +02:00
Matthias Ringwald
796f25b442 mesh: respond to config_model_publication_virtual_address_add 2019-07-20 08:50:26 +02:00
Matthias Ringwald
f46b7bdedf mesh: add mesh_pdu_type_t to mesh_network_pdu_t and mesh_transport_pdu_t, use mesh_network/transport_get/free to set pdu type on alloc 2019-07-20 08:50:26 +02:00
Matthias Ringwald
14476d0514 mesh: handle config_model_subscription_virtual_address_add 2019-07-20 08:50:26 +02:00
Matthias Ringwald
ddf5aebd1d mesh: send config model app status on config model app bind 2019-07-20 08:50:25 +02:00
Matthias Ringwald
2a0ab8c231 mesh: use replay protection list 2019-07-20 08:50:25 +02:00
Matthias Ringwald
5e31cfbcf4 mesh: send Config Model App Status for Config Model App Bind 2019-07-20 08:50:25 +02:00
Matthias Ringwald
0691c6f147 mesh: send Config Model Subscription Status for Config Model Subscription Add 2019-07-20 08:50:25 +02:00
Matthias Ringwald
491309357f mesh: start unprovisioned device beacon only when unprovisioned 2019-07-20 08:50:25 +02:00
Matthias Ringwald
d29c49fc7d mesh: use default pts app key for transport tests 2019-07-20 08:50:25 +02:00
Matthias Ringwald
3ea4429570 mesh: store application key from Configuration AppKey Add in TLV and load on start 2019-07-20 08:50:25 +02:00
Matthias Ringwald
c4f26b6990 mesh: calc AID for received application key and set in transport 2019-07-20 08:50:25 +02:00
Matthias Ringwald
341b786682 mesh: respond to config appkey add 2019-07-20 08:50:25 +02:00
Matthias Ringwald
2f76da6d89 mesh: respond to Config Composition Data Get 2019-07-20 08:50:25 +02:00
Matthias Ringwald
1671081823 mesh: prepare mesh console for access message tests with virtual address 2019-07-20 08:50:25 +02:00
Matthias Ringwald
f458caac38 mesh: mesh test prepare send segmented access message test 2019-07-20 08:50:24 +02:00
Matthias Ringwald
0820241e4a mesh: add show_usage to mesh test 2019-07-20 08:50:24 +02:00
Milanka Ringwald
fee9a7b25f mesh: add send segmented access message to test 2019-07-20 08:50:24 +02:00
Matthias Ringwald
af0e9e5e24 mesh: set primary element address for mesh_transport 2019-07-20 08:50:24 +02:00
Matthias Ringwald
a4173ea0fd mesh: use mesh_network_pdu_t and mesh_transport_pdu_t for send of access pdus 2019-07-20 08:50:24 +02:00
Matthias Ringwald
7a8c02e5c5 mesh: mesh_transport_init registers with mesh_network 2019-07-20 08:50:24 +02:00
Matthias Ringwald
d0146fde70 mesh: remove send message tests 2019-07-20 08:50:24 +02:00
Matthias Ringwald
da34d6abec mesh: remove recv message tests 2019-07-20 08:50:24 +02:00
Matthias Ringwald
4ee6a71aa9 mesh: extract mesh_transport 2019-07-20 08:50:24 +02:00
Matthias Ringwald
c66b1ca7ce mesh: move mesh nettwork getter into mesh_network 2019-07-20 08:50:24 +02:00
Matthias Ringwald
a0a1ee7ec3 mesh: fix akf/aid lookup for access message validation 2019-07-20 08:50:24 +02:00
Matthias Ringwald
2c2a98f169 mesh: dont free network pdus from network layer 2019-07-20 08:50:24 +02:00
Matthias Ringwald
a59413f37f mesh: limit retries for segmented upper transport message 2019-07-20 08:50:24 +02:00
Milanka Ringwald
e85388bcc4 mesh: calculate identity key 2019-07-20 08:50:23 +02:00
Matthias Ringwald
5fee0b6b7c mesh: handle Segment Acknowledgement messages 2019-07-20 08:50:23 +02:00
Matthias Ringwald
133765d4a9 mesh: track unacknowledged segments in block ack 2019-07-20 08:50:23 +02:00
Matthias Ringwald
1e6b8b2ffb mesh: only resend unacknowledged segments 2019-07-20 08:50:23 +02:00
Matthias Ringwald
6078f959dc mesh: use central upper transport seq counter 2019-07-20 08:50:23 +02:00
Matthias Ringwald
1d1877852c mesh: use central upper transport seq counter 2019-07-20 08:50:23 +02:00
Matthias Ringwald
a3aa829c45 mesh: generate outgoing segmented network pdus on the fly 2019-07-20 08:50:23 +02:00
Matthias Ringwald
c191d3c542 mesh: extract mesh_upper_transport_setup_segment 2019-07-20 08:50:23 +02:00
Matthias Ringwald
7991f61b9d mesh: use seg_o as interator in mesh_upper_transport_send_segmented_pdu 2019-07-20 08:50:23 +02:00
Matthias Ringwald
83fe21d569 mesh: use mesh_upper_transport_send_segmented_pdu for segmented access and control messages 2019-07-20 08:50:23 +02:00