Skip to content

Adjusted Bluefruit LE connection intervals for better compatibility with Apple devices #419

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 25, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions examples/StandardFirmataBLE/bleConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -67,16 +67,16 @@
* with the nRF51822 via SPI (e.g. Bluefruit LE SPI Friend, Bluefruit LE Shield), although
* you may need to change the values of BLE_SPI_CS, BLE_SPI_IRQ, and/or BLE_SPI_RST below.
*
* You will need to install a lightly-modified version of the Adafruit BluefruitLE nRF51
* package, available at:
* https://github.com/cstawarz/Adafruit_BluefruitLE_nRF51/archive/firmata_fixes.zip
* You will need to install the latest version of the Adafruit BluefruitLE nRF51 package,
* available at:
* https://github.com/adafruit/Adafruit_BluefruitLE_nRF51/archive/master.zip
*/
//#define BLUEFRUIT_LE_SPI

#ifdef BLUEFRUIT_LE_SPI
// Both values must be between 10ms and 4s
#define FIRMATA_BLE_MIN_INTERVAL 10 // 10ms
#define FIRMATA_BLE_MAX_INTERVAL 20 // 20ms
#define FIRMATA_BLE_MIN_INTERVAL 15 // 15ms
#define FIRMATA_BLE_MAX_INTERVAL 30 // 30ms

#define BLE_SPI_CS 8
#define BLE_SPI_IRQ 7
Expand Down