Skip to contentSkip to conversation

D-BUS Example Request

DISCUSSION [email protected] 1 participant 1 message Jan 26, 2021 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

My aim is to automate pairing, connecting process between Arduino and Raspberry Pi. The temperature data will be sent from Arduino to Pi without any human intervention. I am able to automate pairing process, however I fail at creating connection by using D-BUS. The connection is fine if I use deprecated tools such as rfcomm, it works also fine if I use python socket library, however D-BUS device methods Connect and ConnectProfile always fail. I am completely aware of examples in GitHub however I couldn't create a working example based on them. If anyone can provide working example or any related information where the Bluetooth connection between Arduino and Raspberry Pi is done by python script based on D-BUS I will appreciate it.

Best Regards,