21 lines
272 B
JavaScript
21 lines
272 B
JavaScript
|
|
class BleReceive {
|
|
constructor() {
|
|
this.StorageKey = "linkedDevices";
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
let instance = null;
|
|
export default {
|
|
getBleReceive: function(found, receive) {
|
|
if (!instance) {
|
|
instance = new BleReceive();
|
|
|
|
}
|
|
return instance;
|
|
}
|
|
} |