Skip to content

Commit f30c3d1

Browse files
Merge pull request #419 from cstawarz/bluefruit_le_update
Adjusted Bluefruit LE connection intervals for better compatibility with Apple devices
2 parents 90bc51a + f22fe54 commit f30c3d1

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

examples/StandardFirmataBLE/bleConfig.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -67,16 +67,16 @@
6767
* with the nRF51822 via SPI (e.g. Bluefruit LE SPI Friend, Bluefruit LE Shield), although
6868
* you may need to change the values of BLE_SPI_CS, BLE_SPI_IRQ, and/or BLE_SPI_RST below.
6969
*
70-
* You will need to install a lightly-modified version of the Adafruit BluefruitLE nRF51
71-
* package, available at:
72-
* https://github.com/cstawarz/Adafruit_BluefruitLE_nRF51/archive/firmata_fixes.zip
70+
* You will need to install the latest version of the Adafruit BluefruitLE nRF51 package,
71+
* available at:
72+
* https://github.com/adafruit/Adafruit_BluefruitLE_nRF51/archive/master.zip
7373
*/
7474
//#define BLUEFRUIT_LE_SPI
7575

7676
#ifdef BLUEFRUIT_LE_SPI
7777
// Both values must be between 10ms and 4s
78-
#define FIRMATA_BLE_MIN_INTERVAL 10 // 10ms
79-
#define FIRMATA_BLE_MAX_INTERVAL 20 // 20ms
78+
#define FIRMATA_BLE_MIN_INTERVAL 15 // 15ms
79+
#define FIRMATA_BLE_MAX_INTERVAL 30 // 30ms
8080

8181
#define BLE_SPI_CS 8
8282
#define BLE_SPI_IRQ 7

0 commit comments

Comments
 (0)