QPython Plus 的 SL4A函数:蓝牙、FTP等
乘着船
编辑于 2023年09月20日 19:02
收录于文集
共64篇

bluetoothDiscoveryStart()   (新增)

开始蓝牙搜索

bluetoothDiscoveryCancel()  (新增)

停止蓝牙搜索

bluetoothGetBondedDevices()  (新增)

获取绑定设备列表

bluetoothGetBondedDevicesRssi(interval=None)  (新增)

获取绑定设备列表的信号强度

bluetoothGetReceivedDevices()  (新增)

获取搜索到的设备列表

ftpStart()  (新增)

启动FTP服务器。

ftpStop()  (新增)

关闭FTP服务器。

ftpIsRunning()  (新增)

FTP服务器正在运行。

ftpGet()  (新增)

获取FTP服务器IP地址。

ftpSet(port=None,chrootDir=None,username="ftp&#​34;,password="ftp&#​34;)  (新增)

设置FTP服务器:端口号(默认2121)、启动目录(默认"/sdcard&#​34;)、用户名(默认ftp)、密码(默认ftp)。

QPython Plus(3C) (Python 3.11) 视频演示:

https://www.bilibili.com/BV1NL411G7XX​

如果需要 QPython Plus(3C) 源代码/Apk,请点击以下链接:

作者:乘着船@Bilibili

更多文章+下载链接:https://www.bilibili.com/read/readlist/rl321663​