事件名
onWXDeviceStateChange
描叙
接收到设备数据(只支持蓝牙设备)
参数
deviceId(必填):设备id
state(必填):connecting 连接中, connected 连接上,disconnected 连接断开。
明明已经连接上蓝牙设备了(能接受发送数据了),连上了的话状态是connected,但是state为什么一直在connecting和disconnected 不停切换?
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
走同样的路,发现不同的人生