spring
2025-05-29 22617c071bb28aef8d833e2ecd70aacca0f8219c
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;