BLYNK
HOME       📲 GETTING STARTED       📗 DOCS       ❓HELP CENTER       👉 SKETCH BUILDER

Need help with connecting Adafruit Bluefruit LE SPI Friend to Blynk on IOS

Hello I am trying to get my Blynk app on ios to connect to the Adafruit Bluefruit LE SPI Friend BLE Module. I have gotten the BLE Module to connect to the Adafruit Bluefruit app easily but I just cant seem to get it to connect to the Blynk app. I am using an Arduino uno. I am using the SPI version not the UART one. Any suggestions will help.

here is the code I am trying to use:

#include "Adafruit_BLE.h"
#include "Adafruit_BluefruitLE_SPI.h"
#include <BlynkSimpleSerialBLE.h>

//pins for feather BLE, see adafruit web for details
#define BLUEFRUIT_SPI_CS               8
#define BLUEFRUIT_SPI_IRQ              7
#define BLUEFRUIT_SPI_RST              4 

char auth[] = "..."; //Had to reverse engineer this.

Adafruit_BluefruitLE_SPI ble(BLUEFRUIT_SPI_CS, BLUEFRUIT_SPI_IRQ, BLUEFRUIT_SPI_RST);

void setup() {
  Serial.begin(9600);

  Blynk.begin(auth, ble);
  ble.begin(true); //true => debug on, you can see bluetooth in the serial monitor.
  ble.factoryReset(); //Optional
  ble.setMode(BLUEFRUIT_MODE_DATA);  
}
  
void loop() {          
      Blynk.run();
}