Argon with RFCOMM (SPP)

Hi

I want to replace a few Teensy + HC-05 Bluetooth setups with all-in-one Argons but can’t find how to connect using sockets on the Argons the “classic” way.

LE isn’t a priority for me but I definitely don’t want to have to reinvent the wheel and change all my existing Bluetooth code across hundreds of apps. Is SPP possible on the Argons? Is there a guide somewhere?

Thanks for any help…

Simon

You could try this library
https://build.particle.io/libs/BleSerialPeripheralRK/0.0.1/tab/BleSerialPeripheralRK.cpp

or if you want to spin your own have a look at the basics layed out here and go from there
https://docs.particle.io/tutorials/device-os/bluetooth-le/#uart-peripheral

I’ll have a look into those. Thanks for getting back to me. Simon