Merge pull request #2 from BasedHardware/akshay-patch

Change Device Name to OpenGlass
This commit is contained in:
Akshay Narisetti 2024-05-13 04:12:58 +05:30 committed by GitHub
commit 34b6dfbe2a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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()],
});