raspberrypi-sys-mods | A collection of Raspberry Pi-sourced system configuration files and associated scripts | Configuration Management library
kandi X-RAY | raspberrypi-sys-mods Summary
kandi X-RAY | raspberrypi-sys-mods Summary
A collection of Raspberry Pi-sourced system configuration files and associated scripts
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of raspberrypi-sys-mods
raspberrypi-sys-mods Key Features
raspberrypi-sys-mods Examples and Code Snippets
Community Discussions
Trending Discussions on raspberrypi-sys-mods
QUESTION
I'm attempting to connect my raspberry Pi to a Parani SD1000 RS232 serial adapter. I have configured the Parani and I can successfully connect to it and retrieve data when using my Macbook. I would like to set up the connection using my raspberry pi. I have a raspberry Pi 3 model b+ 32 bit. I wrote a script that uses Pyserial and created a bind to the bluetooth device via sudo rfcomm bind /dev/rfcomm0 XX:XX:XX:XX:XX:XX 1
. However, when I use the Raspberry PI OS interface to connect to the bluetooth I get a message that 'Paired successfully, but this device has no services with can be used with the Raspberry Pi
and the connection is aborted.
I've looked for other suggestions and tried updating my software as listed elsewhere. To no avail.
...ANSWER
Answered 2021-Feb-13 at 17:34rfcomm
was deprecated back in 2017 by the BlueZ project so I would recommend against using that methodology.
Python3 on Linux supports connecting to a Bluetooth Classic device with a Serial Port Profile (SPP) with its socket library.
There is more information in the following blog: https://blog.kevindoran.co/bluetooth-programming-with-python-3/
There is also support for SPP within the Bluedot Python library: https://www.stuffaboutcode.com/2017/07/python-bluetooth-rfcomm-client-server.html
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install raspberrypi-sys-mods
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page