Using Particle GEN3 (Argon) BLE with Blynk

I wanted to get an Argon to work with the iPhone Blynk App using BLE. It turned out to be really simple using a HM-10 board, but I’d really like to use the built-in BLE. Has anyone gotten this to work?

For the HM-10 it was only a few lines of code:

#define BLYNK_PRINT Serial  // Set serial output for debug prints
#include <BlynkSimpleSerialBLE.h>

char auth[] = "your auth token";

void setup() {
  Serial.println("Waiting for connections");
  Blynk.begin(Serial1, auth);

void loop() {;

Then on your iPhone APP you add the BLE icon and a BUTTON icon. Set the BUTTON icon to be a switch and DIGITAL PIN D7. Before running the App, click on the BLE icon. Hit the CONNECT and select your HM-10 device. It should say something like “DSD TECH connected”. Then hit OK, and the PLAY button. The Blynk app will say the Argon is OFFLINE, but the app will be working. Clicking on the Button will turn on/off the BLUE USB LED