欢迎光临散文网 会员登陆 & 注册

QPython Plus 的 SL4A函数:蓝牙、FTP等

2023-09-20 10:58 作者:乘着船  | 我要投稿

bluetoothDiscoveryStart()   (新增)

开始蓝牙搜索


bluetoothDiscoveryCancel()  (新增)

停止蓝牙搜索


bluetoothGetBondedDevices()  (新增)

获取绑定设备列表


bluetoothGetBondedDevicesRssi(interval=None)  (新增)

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


bluetoothGetReceivedDevices()  (新增)

获取搜索到的设备列表


ftpStart()  (新增)

启动FTP服务器。


ftpStop()  (新增)

关闭FTP服务器。


ftpIsRunning()  (新增)

FTP服务器正在运行。


ftpGet()  (新增)

获取FTP服务器IP地址。


ftpSet(port=None,chrootDir=None,username="ftp",password="ftp")  (新增)

设置FTP服务器:端口号(默认2121)、启动目录(默认"/sdcard")、用户名(默认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

QPython Plus 的 SL4A函数:蓝牙、FTP等的评论 (共 条)

分享到微博请遵守国家法律