9136 Commits

Author SHA1 Message Date
Matthias Ringwald
f90df679aa mesh: global iv_index in mesh_network, fix test 2019-07-20 08:50:22 +02:00
Matthias Ringwald
8742314971 mesh: sort globals in mesh_network 2019-07-20 08:50:22 +02:00
Matthias Ringwald
9cc32c6c71 mesh: extract mesh_network 2019-07-20 08:50:22 +02:00
Matthias Ringwald
63cdf6b794 mesh: use mesh_network_key for encode/decode 2019-07-20 08:50:22 +02:00
Matthias Ringwald
c0a711d937 mesh: define mesh_network_key and add provide memory pool for it 2019-07-20 08:50:22 +02:00
Matthias Ringwald
27c7f61e55 mesh: print TTL, log if no network key found 2019-07-20 08:50:22 +02:00
Matthias Ringwald
1f2a88929d mesh: print ttl 2019-07-20 08:50:22 +02:00
Matthias Ringwald
568e37651a mesh: validate src/dst addr on receive 2019-07-20 08:50:22 +02:00
Matthias Ringwald
7a52a0d85d mesh: use queue to process incoming mesh messages 2019-07-20 08:50:22 +02:00
Matthias Ringwald
25b1f97ab4 mesh: store validated incoming network pdus 2019-07-20 08:50:22 +02:00
Matthias Ringwald
042ac7950a mesh: use mesh_network_pdu for outgoing packets 2019-07-20 08:50:22 +02:00
Matthias Ringwald
ebb73e1fb1 mesh: provide mesh_network_pdu memory pool 2019-07-20 08:50:22 +02:00
Matthias Ringwald
20537b9f41 mesh: mesh_network_send insted of globals 2019-07-20 08:50:22 +02:00
Matthias Ringwald
9f146e54f9 mesh: encrypt/decrypt network pdu with ccm with single call 2019-07-20 08:50:22 +02:00
Matthias Ringwald
dc0c53e19d mesh: update ccm api 2019-07-20 08:50:22 +02:00
Matthias Ringwald
2df6ee7dfe mesh: use larger decryption buffer 2019-07-20 08:50:22 +02:00
Matthias Ringwald
f34c9bad7b mesh: correct cypher len for second block 2019-07-20 08:50:22 +02:00
Matthias Ringwald
2718b724e4 mesh: start decoding received messages 2019-07-20 08:50:22 +02:00
Matthias Ringwald
7dc13593a6 mesh: generate new public key for each connection in provisioning_provisioner 2019-07-20 08:50:22 +02:00
Matthias Ringwald
0f9e9e3d36 mesh: generate new public key for each provisioning in provisioning_device 2019-07-20 08:50:22 +02:00
Matthias Ringwald
96dbb9e18a mesh: disconnect link on invalid public key in provisioning_provisioner 2019-07-20 08:50:22 +02:00
Matthias Ringwald
583974b6d9 mesh: fix debug output typo 2019-07-20 08:50:22 +02:00
Matthias Ringwald
d2447ec35f mesh: validate public key in provisioning_device 2019-07-20 08:50:22 +02:00
Matthias Ringwald
1748905192 mesh: validate NetMIC and try next key on mismatch 2019-07-20 08:50:22 +02:00
Matthias Ringwald
4576c61124 mesh: fix decryption 2019-07-20 08:50:22 +02:00
Matthias Ringwald
88f5388d43 mesh: draft implementation to process network pdu 2019-07-20 08:50:22 +02:00
Matthias Ringwald
783b33ef4a mesh: fix compile 2019-07-20 08:50:22 +02:00
Matthias Ringwald
8c8d9cfb4f mesh: dump provisioning data 2019-07-20 08:50:22 +02:00
Matthias Ringwald
59889268bc mesh: add k2 to mesh_provisioning_data, test message #1 2019-07-20 08:50:22 +02:00
Matthias Ringwald
bdecc9c9d3 mesh: draft implementation to create network pdu from transport pdu 2019-07-20 08:50:22 +02:00
Matthias Ringwald
9e0a5e85ba mesh: calc k2 with netkey in provisioning_device 2019-07-20 08:50:22 +02:00
Matthias Ringwald
31d5f19cc2 mesh: implement k2 in mesh_crypto 2019-07-20 08:50:22 +02:00
Matthias Ringwald
db923fb98a mesh: collect mesh-related crypto functions in /mesh_crypto 2019-07-20 08:50:22 +02:00
Matthias Ringwald
b7f1c2ae8d mesh: use rijndael from test folder 2019-07-20 08:50:21 +02:00
Matthias Ringwald
b673498b9a btstack_event: add mesh events 2019-07-20 08:50:21 +02:00
Matthias Ringwald
1fbe4564be restart mesh development based on current develop and existing mesh branches 2019-07-20 08:50:21 +02:00
Matthias Ringwald
68af39674d btstack_util: btstack_time_delta provides delta between two timestamps 2019-07-20 08:50:21 +02:00
Milanka Ringwald
36d972ad05 tool: add UUIDs for Mesh Characterstics manually 2019-07-20 08:50:21 +02:00
Matthias Ringwald
63270faae8 hci: use scan interval/window from app during init 2019-07-20 08:48:45 +02:00
Matthias Ringwald
eaeabfda24 l2cap: avoid reading l2cap signaling command len out of bounds 2019-07-17 11:28:06 +02:00
Matthias Ringwald
dfa951b111 hci: use 2 bytes as HCI incoming pre-buffer without Classic for GATT Client 2019-07-13 16:29:15 +02:00
Matthias Ringwald
b06dfe1f92 hci_transport_em9304: fix payload size check 2019-07-13 15:38:56 +02:00
Matthias Ringwald
ea374553cc hci_transport_h4: fix payload size check 2019-07-13 15:35:46 +02:00
Matthias Ringwald
6ea073fee9 hci_cmd: fix compile 2019-07-11 11:16:39 +02:00
Matthias Ringwald
5e71c55d29
Merge pull request #236 from skoperst/develop
hci: add page-scan related commands
2019-07-11 11:12:26 +02:00
skoperst
195e82f367 hci: add page-scan related commands 2019-07-11 11:49:22 +03:00
Matthias Ringwald
5dfb87efcb stm32-f4discovery-cc256x: fix build 2019-07-09 15:25:11 +02:00
Matthias Ringwald
9d1b92dd06 changelog: update 2019-07-09 14:53:10 +02:00
Matthias Ringwald
755dfcd863 chipset: add CYW20819 and mention CTS high during power up 2019-07-09 14:48:56 +02:00
Matthias Ringwald
e061bbd447 sm: start encryption upon receiving slave securiy request if bonded 2019-07-08 22:24:58 +02:00