yyb
2025-10-13 1f89c6eedcd18336f04c3d46c0d5aae8d9d0eee2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
let sysinfo = uni.getSystemInfoSync();
const Bluetooth = {
    state: {
        //蓝牙信息
        BLEInformation: {
            platform: sysinfo.platform || "",
            deviceId: "",
            writeCharaterId: "",
            writeServiceId: "",
            notifyCharaterId: "",
            notifyServiceId: "",
            readCharaterId: "",
            readServiceId: "",
        }
    },
    mutations:{
        BLEInformationSet(state, info){
            state.BLEInformation = info;
        }
    }
}
 
export default Bluetooth;