DroidScript / Docs

DroidScript Documentation
Apache License 2.0
81 stars 29 forks source link

Bluetooth Python Examples problems #151

Open Al4He6 opened 3 months ago

Al4He6 commented 3 months ago

In Bluetooth section of the docs the examples for Python have problems CreateBlueToothSerial DiscoverBtDevices SetBluetoothEnabled IsBluetoothEnabled GetPairedBtDevices IsDevicePaired PairBtDevice UnpairBtDevice

Al4He6 commented 2 months ago

Python example for CreateBluetoothSerial uses JavaScript type of (Python has type(data) but result isn't just "object") And function btOnConnect has parms ok and data, but should be name and address (JavaScript example also has these parms)

Al4He6 commented 2 months ago

Second example for SetBluetoothEnabled (touch a button) Cannot access local variable itv