Trying to use Xojo Shell command to access bluetoothctl on Raspberry Pi 3.
When I send the bluetoothctl command using Xojo shell I get results that are different when using the Raspberry Pi terminal. Specifically the “Waiting to connect to bluetoothd…” and there is also a random “quit”. Anyone know what’s going on?
Also, I would attach a screenshot but I can’t figure out how to do that. The Result that Xojo Shell puts in my textArea1 is kinda weird. Some of the text is actually a little box with 1’s and 0’s inside. That may be a separate issue, I suppose.
In Raspberry Pi Terminal I send …
pi@raspberrypi:~ $ bluetoothctl
… and I get
[NEW] Controller B8:27:EB:EA:E6:C9 raspberrypi [default]
[NEW] Device 00:06:66:D8:A1:7D RNBT-A17D
[NEW] Device 00:06:66:8C:B1:DD RNBT-B1DD
[NEW] Device 00:06:66:8C:B1:80 RNBT-B180
[bluetooth]#
When I send the same command through an Xojo Shell …
Shell1.Execute("bluetoothctl")
textArea1.text = Shell1.Result
… I get different results.
Waiting to connect to bluetoothd…
e[0;94m[bluetooth]e[0m#
[e[0;92mNEWe[0m] Controller B8:27:EB:EA:E6:C9 raspberrypi [default]
e[0;94m[bluetooth]e[0m#
[e[0;92mNEWe[0m] Device 00:06:66:D8:A1:7D RNBT-A17D
e[0;94m[bluetooth]e[0m#
[e[0;92mNEWe[0m] Device 00:06:66:8C:B1:DD RNBT-B1DD
e[0;94m[bluetooth]e[0m#
[e[0;92mNEWe[0m] Device 00:06:66:8C:B1:80 RNBT-B180
e[0;94m[bluetooth]e[0m# quit
e[0;94m[bluetooth]e[0m#
[e[0;91mDELe[0m] Controller B8:27:EB:EA:E6:C9 raspberrypi [default]
e[0;94m[bluetooth]e[0m#
Waiting to connect to bluetoothd…