access.on('stateChange')订阅蓝牙设备开关状态事件,参考链接:https://developer.huawei.com/consumer/cn/doc/harmonyos-references-V5/js-apis-bluetooth-access-V5\#accessonstatechange
access.on('stateChange')订阅蓝牙设备开关状态事件,参考链接:https://developer.huawei.com/consumer/cn/doc/harmonyos-references-V5/js-apis-bluetooth-access-V5\#accessonstatechange