You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -49,7 +50,7 @@ There are two methods that you can use to install this BSP. We highly recommend
49
50
50
51
### Adafruit's nrfutil tools
51
52
52
-
[adafruit-nrfutil](https://github.com/adafruit/Adafruit_nRF52_nrfutil) (derived from Nordic pc-nrfutil) is needed to upload sketch via serial port.
53
+
[adafruit-nrfutil](https://github.com/adafruit/Adafruit_nRF52_nrfutil) (derived from Nordic [pc-nrfutil](https://github.com/NordicSemiconductor/pc-nrfutil)) is needed to upload sketch via serial port.
53
54
54
55
- For Windows and macOS, pre-built executable binaries are included in the BSP at `tools/adafruit-nrfutil/`. It should work out of the box.
55
56
- Linux user need to run follow command to install it from PyPi
@@ -117,8 +118,7 @@ which in turn is based on the [Arduino SAMD Core](https://github.com/arduino/Ard
117
118
118
119
The following libraries are used:
119
120
120
-
- adafruit-nrfutil is based on Nordic Semiconductor ASA's [pc-nrfutil](https://github.com/NordicSemiconductor/pc-nrfutil)
121
-
-[freeRTOS](https://www.freertos.org/) as operating system
122
-
-[tinyusb](https://github.com/hathach/tinyusb) as usb stack
121
+
-[FreeRTOS](https://www.freertos.org/) as operating system
122
+
-[LittleFS](https://github.com/ARMmbed/littlefs) for internal file system
123
123
-[nrfx](https://github.com/NordicSemiconductor/nrfx) for peripherals driver
124
-
-[littlefs](https://github.com/ARMmbed/littlefs) for internal file system
124
+
-[TinyUSB](https://github.com/hathach/tinyusb) as usb stack
Copy file name to clipboardExpand all lines: changelog.md
+52-2Lines changed: 52 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,55 @@
1
1
# Adafruit nRF52 Arduino Core Changelog
2
2
3
+
## 0.22.0 - WIP
4
+
5
+
This version implement comprehensive LESC and Legacy pairing using dynamic & static Passkey.
6
+
7
+
- Support static passkey (Legacy only)
8
+
- Support LESC on nRF52840 using hardware-accelerated ARM CryptoCell CC310 provided by [Adafruit_nRFCypto](https://github.com/adafruit/Adafruit_nRFCrypto). The library is included as submodule and released together with the BSP.
9
+
- Rework bonding mechanism to use IRK for peer finding. It is advisable to run `clearbonds` example to clean up bond files of previous version
10
+
11
+
### BLESecurity
12
+
13
+
A new class BLESecurity (access with Bluefruit.Security) is added to handle security and pairing.
14
+
15
+
-**setPIN()** to set static passkey, this will force to use Legacy Pairing
16
+
-**setIOCaps()** to congiure IO capacities
17
+
-**setMITM()** to enable/disable Man in The Middle protection (passkey), it is auto-enabled when using passkey
18
+
-**setPairPasskeyCallback()** to register callback for displaying pairing passkey to user
19
+
-**setPairCompleteCallback()** to register callback for the result of pairing procedure (succeeded or failed)
20
+
-**setSecuredCallback()** to register callback which invoked when connection is secured. This happens after he pairing procedure is complete, or we re-connect with preivously bonded peer device
21
+
22
+
### Other Changes
23
+
24
+
**BLECentral**
25
+
26
+
- will automatically use stored Long Term Key to secure connection if paired/bonded with device previously
27
+
28
+
**Bluefruit**
29
+
30
+
- Bluefruit::requestPairing() is removed, please use the BLEConnection::requestPairing() instead
31
+
- Bluefruit::connPaired() is removed, please use BLEConnection::secure() instead
32
+
- Default Device name is USB_PRODUCT if available e.g CLUE, Circuit Playground Bluefruit, Feather nRF52840 Express etc ...
33
+
34
+
**BLEService**
35
+
36
+
- Added setPermission()
37
+
38
+
**BLEConnection**
39
+
40
+
- BLEConnection::requestPairing() is now non-blocking, it will return right after sending request to peer device. Previously it is blocked until the pairing process is complete.
41
+
- Added BLEConnection::secured() to check if the connection is secured/encrypted
42
+
- Added BLEConnection::bonded() to check if we store Longterm Key with current peer
43
+
- Removed BLEConnection:paried(), user should either use secured() or bonded() depending on the context
44
+
- If bonded, getPeerAddr() will return peer public address instead of random address.
45
+
46
+
**New Example Sketches**
47
+
48
+
-**pairing_pin** to use static PIN for peripheral role
49
+
-**pairing_passkey** to use dyanmic Passkey for pairing. On Arcada compatible device such as `CLUE` or `Circuit Playground Bluefruit`, TFT display will also be used to display passkey.
50
+
-**cental_pairing** similar to pairing_passkey but for nRF running central role
51
+
-**ancs_arcada** for displaying ancs on arcada such CLUE and/or CPB.
52
+
3
53
## 0.21.0 - 2020.08.31
4
54
5
55
Special thanks to @henrygab, @pyro9, @Nenik, @orrmany, @thaanstad, @kevinfrei for contributing and helping with this release.
@@ -21,15 +71,15 @@ Special thanks to @henrygab, @pyro9, @Nenik, @orrmany, @thaanstad, @kevinfrei fo
21
71
22
72
## 0.20.5 - 2020.07.05
23
73
24
-
Special thanks to @henrygab, @pyro9, @geeksville for contributing and helping with this release.
25
-
26
74
- Updated toolchain from gcc 7-2017q4 to 9-2019q4
27
75
- Fixed GPIOTE channel conflict between libraries
28
76
- Added type-safe for arrcount() macros
29
77
- Added truncate() and rename() to Internal Filesystem (LittleFS).
30
78
- Update CMSIS from v4 to v5 to build with TensorFlow
31
79
- Update TinyUSB core to commit 0749077
32
80
81
+
Special thanks to @henrygab, @pyro9, @geeksville for contributing and helping with this release.
82
+
33
83
## 0.20.1 - 2020.04.23
34
84
35
85
- Update TinyUSB to commit c59fa77 due to a bug in the stack
0 commit comments