可以使用connection.getRemoteDeviceClass(data[0])获取蓝牙设备信息,设备枚举参考:https://developer.huawei.com/consumer/cn/doc/harmonyos-references-V5/js-apis-bluetooth-constant-V5\#majorclass
可以使用connection.getRemoteDeviceClass(data[0])获取蓝牙设备信息,设备枚举参考:https://developer.huawei.com/consumer/cn/doc/harmonyos-references-V5/js-apis-bluetooth-constant-V5\#majorclass