BLE direct connect?

172 views
Skip to first unread message

Medien Forscher

unread,
Aug 18, 2022, 5:51:23 PM8/18/22
to DroidScript
Hi

I have a Bluetooth Low Energy equipped arduino which name is "MyESP32" in the Bluetooth List. Is there a way to connect directly to the device without choosing from the Bluetooth device list first? All examples I find always open the list first. Hope I could explain my question. Thx! 

Ignas Bu

unread,
Aug 18, 2022, 6:04:10 PM8/18/22
to DroidScript
Yes, instead of calling ble.Select() witch calls ble.connect() you should call ble.Connect("a1:b2:c3:d4:e5:f6") directly
for sure, change mac address in Connect command

Medien Forscher

unread,
Aug 18, 2022, 6:21:25 PM8/18/22
to DroidScript
Perfect, thx! 

pta khi

unread,
Feb 13, 2023, 11:37:02 AM2/13/23
to DroidScript
May I use device name instead MAC address for ble.Connect() function 
Reply all
Reply to author
Forward
0 new messages