yyb
2025-11-06 5b01f7c23749f410c705ec7b59d8b59e5b06c819
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;