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?
nRF52 Bluefruit serial connection
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- mikeysklar
- Posts: 13828
- Joined: Mon Aug 01, 2016 8:10 pm
Re: nRF52 Bluefruit serial connection
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.
The CircuitPython BLE Libraries on Any Computer has example code showing how to do the above.
- steveww
- Posts: 15
- Joined: Mon Dec 15, 2014 4:40 pm
Re: nRF52 Bluefruit serial connection
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.
- jevada
- Posts: 194
- Joined: Fri Dec 15, 2017 5:29 am
Re: nRF52 Bluefruit serial connection
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.
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.
Please be positive and constructive with your questions and comments.