nRF52 Bluefruit serial connection

For CircuitPython issues, ask in the Adafruit CircuitPython forum.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
steveww
 
Posts: 15
Joined: Mon Dec 15, 2014 4:40 pm

nRF52 Bluefruit serial connection

Post by steveww »

I have a nRF52832 Feather and a BLE serial port device.
I can see the device when I run a scan sketch.
I've connected to the device OK via Linux bluetoothctl.
I can't figure out how to connect via the nRF52 library. The examples show how to do this for BLEUART but my device advertised itself as Serial Port.

UUID: Serial Port (00001101-0000-1000-8000-00805f9b34fb)

Any hints and tips?

User avatar
mikeysklar
 
Posts: 13828
Joined: Mon Aug 01, 2016 8:10 pm

Re: nRF52 Bluefruit serial connection

Post by mikeysklar »

Is the goal to send data over the BLE UART between your Linux machine and Feather nRF52832 ?

The CircuitPython BLE Libraries on Any Computer has example code showing how to do the above.

User avatar
steveww
 
Posts: 15
Joined: Mon Dec 15, 2014 4:40 pm

Re: nRF52 Bluefruit serial connection

Post by steveww »

After some more research I have discovered that my bluetooth device provides L2CAP and RFCOMM services. Alas the nRF52 library does not support these therefore the Arduino can not communicate. Developing support for these services is beyond my knowledge of Bluetooth.

User avatar
jevada
 
Posts: 194
Joined: Fri Dec 15, 2017 5:29 am

Re: nRF52 Bluefruit serial connection

Post by jevada »

Those protocols indicate your device runs bluetooth classic, not bluetooth low energy (a.k.a. "BLE"). nRF52 provides BLE, not bluetooth classic. Though these two both are "bluetooth", they are not interchangable - nRF52 will never be able to run bluetooth classic.

Some other microcontroller families do provide BT classic. ESP32 for example can run the BTstack stack made by bluekitchen, but as far as I know adafruit does not provide this functionality in their software.

Locked
Please be positive and constructive with your questions and comments.

Return to “Wireless: WiFi and Bluetooth”