Skip to content

Commit 57e7155

Browse files
authored
Fix directory name in installation instructions (#2953)
* Fix directory name in installation instructions * Update installation instructions for OmiGlass * Update firmware folder link in omiGlass documentation * Fix link to firmware readme in omiGlass documentation Updated link to the firmware readme for clarity. * Change Bluetooth device filter name to 'OMI Glass' Matches config.h
1 parent c486ed3 commit 57e7155

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

docs/doc/hardware/omiGlass.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ You'll need the following components to build your own omiGlass:
5858

5959
```bash
6060
git clone https://github.com/BasedHardware/omi.git
61-
cd omiglass
61+
cd omi/OmiGlass
6262
npm install
6363
```
6464

@@ -72,7 +72,7 @@ You'll need the following components to build your own omiGlass:
7272

7373
- Copy the `.env.example` file to create a new `.env` file:
7474
```bash
75-
cp .env.example .env
75+
cp .env.template .env
7676
```
7777

7878
- Edit the `.env` file and add your API keys:
@@ -113,10 +113,10 @@ You'll need the following components to build your own omiGlass:
113113

114114
### Firmware Installation
115115

116-
1. Open the [firmware folder](https://github.com/BasedHardware/omiglass/tree/main/firmware) and open the `.ino` file in the Arduino IDE.
116+
1. Open the [firmware folder](https://github.com/BasedHardware/omi/tree/main/omiGlass/firmware) and open the `.ino` file in the Arduino IDE.
117117

118118
- If you don't have the Arduino IDE installed, download and install it from the [official website](https://www.arduino.cc/en/software).
119-
- Alternatively, follow the steps in the [firmware readme](firmware/readme.md) to build using `arduino-cli`
119+
- Alternatively, follow the steps in the [firmware readme](https://github.com/BasedHardware/omi/tree/main/omiGlass/firmware/readme.md) to build using `arduino-cli`
120120

121121
2. Set up the Arduino IDE for the XIAO ESP32S3 board:
122122

@@ -148,4 +148,4 @@ You'll need the following components to build your own omiGlass:
148148

149149
## License
150150

151-
This project is licensed under the MIT License.
151+
This project is licensed under the MIT License.

omiGlass/sources/modules/useDevice.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export function useDevice(): [BluetoothRemoteGATTServer | null, () => Promise<vo
3939
// Connect to device
4040
console.log('Requesting device connection...');
4141
let connected = await navigator.bluetooth.requestDevice({
42-
filters: [{ name: 'OpenGlass' }],
42+
filters: [{ name: 'OMI Glass' }],
4343
optionalServices: ['19B10000-E8F2-537E-4F6C-D104768A1214'.toLowerCase()],
4444
});
4545

@@ -67,4 +67,4 @@ export function useDevice(): [BluetoothRemoteGATTServer | null, () => Promise<vo
6767

6868
// Return
6969
return [device, doConnect, isAutoConnecting];
70-
}
70+
}

0 commit comments

Comments
 (0)