/** * @see [微信官方文档](https://mp.weixin.qq.com/debug/wxadoc/dev/api/bluetooth.html#wxgetbledevicecharacteristicsobject) * @param deviceId [string] 蓝牙设备 id * @param serviceId [string] 蓝牙服务 uuid,需要使用 getBLEDeviceServices 获取 */ export default function close_ble_connection(deviceId: string, serviceId: string): Promise<{ characteristics: { uuid: string; properties: { /** * 该特征值是否支持 read 操作 */ read: boolean; /** * 该特征值是否支持 write 操作 */ write: boolean; /** * 该特征值是否支持 notify 操作 */ notify: boolean; /** * 该特征值是否支持 indicate 操作 */ indicate: boolean; }[]; }[]; }>;