1234567891011121314151617181920212223 |
- 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;
|