Skip to content

Commit

Permalink
Merge pull request BasedHardware#2 from BasedHardware/akshay-patch
Browse files Browse the repository at this point in the history
Change Device Name to OpenGlass
  • Loading branch information
akshaynarisetti authored May 12, 2024
2 parents 94f4e25 + 58ba20e commit 34b6dfb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion firmware/esp32.ino
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down
2 changes: 1 addition & 1 deletion sources/modules/useDevice.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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()],
});

Expand Down

0 comments on commit 34b6dfb

Please sign in to comment.