Merge pull request #2 from BasedHardware/akshay-patch
Change Device Name to OpenGlass
This commit is contained in:
commit
34b6dfbe2a
|
@ -49,7 +49,7 @@ class MessageHandler: public BLECharacteristicCallbacks
|
|||
};
|
||||
|
||||
void configure_ble() {
|
||||
BLEDevice::init("Bubble ESP");
|
||||
BLEDevice::init("OpenGlass");
|
||||
BLEServer *server = BLEDevice::createServer();
|
||||
BLEService *service = server->createService(serviceUUID);
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@ export function useDevice(): [BluetoothRemoteGATTServer | null, () => Promise<vo
|
|||
|
||||
// Connect to device
|
||||
let connected = await navigator.bluetooth.requestDevice({
|
||||
filters: [{ name: 'Bubble ESP' }],
|
||||
filters: [{ name: 'OpenGlass' }],
|
||||
optionalServices: ['19B10000-E8F2-537E-4F6C-D104768A1214'.toLowerCase()],
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue