Skip to content

Commit be0b056

Browse files
authored
Update README
1 parent 5f75233 commit be0b056

File tree

1 file changed

+6
-14
lines changed

1 file changed

+6
-14
lines changed

README

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,12 @@ https://github.com/ddetommaso/TobiiProGlasses2_PyCtrl
1515
Package installation
1616
=======================
1717

18-
```
1918
$ pip install tobiiglassesctrl
20-
```
2119

2220
or
2321

24-
```
22+
2523
$ python -m pip install --upgrade tobiiglassesctrl
26-
```
2724

2825
Tobii Pro Glasses 2 Connection
2926
=======================
@@ -33,9 +30,7 @@ connect with the device.
3330

3431
1. Network discovery
3532

36-
```
3733
tobiiglasses = TobiiGlassesController()
38-
```
3934

4035
If you do not pass any parameter to the constructor, A set of discovery packets
4136
will be sent through all the network interfaces of your system waiting for an
@@ -44,33 +39,30 @@ answer from the glasses.
4439

4540
2. Wifi connection
4641

47-
```
4842
tobiiglasses = TobiiGlassesController("192.168.71.50")
49-
```
5043

5144
Once a wireless connection with the glasses is established you can run the
5245
controller providing the ipv4 address to the constructor.
5346

5447

5548
3. Ethernet connection (be sure that it is configured as link-local IPv6).
5649

57-
```
50+
5851
tobiiglasses = TobiiGlassesController("fe80::76fe:48ff:ff00:hell")
59-
```
6052

6153
In case you have multiple network interfaces in your system, please specify
6254
the network interface name when you create a TobiiGlassesController object:
6355

6456
For Linux systems you should specify the name of the net interface ...
6557

66-
```
58+
6759
tobiiglasses = TobiiGlassesController("fe80::76fe:48ff:ff00:hell%eth0")
68-
```
60+
6961

7062
# ... while for Windows systems you should specify the net interface index
71-
```
63+
7264
tobiiglasses = TobiiGlassesController("fe80::76fe:48ff:ff00:hell%7")
73-
```
65+
7466

7567

7668
Python Examples

0 commit comments

Comments
 (0)