Skip to content
This repository was archived by the owner on Oct 10, 2024. It is now read-only.

Commit a64e743

Browse files
committed
2 parents 35042d8 + 68d87ee commit a64e743

File tree

2 files changed

+30
-13
lines changed

2 files changed

+30
-13
lines changed

README.md

Lines changed: 21 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -66,19 +66,28 @@ While you don't need to setup libreConnect, you can use arguments to
6666
* Encrypt / Password-protect your websocket
6767
* Connect any arduino (or serial devices).
6868
```
69-
-h, --help show this help message and exit
70-
--serial SERIAL Serial port
71-
--port PORT Websocket port
72-
--secure Add SSL
73-
--power Add power management (@reboot/@poweroff)
74-
--password PASSWORD Password for the websocket
75-
--local Websocket will only be available locally
76-
--bantime BANTIME Seconds before a ban user is unbanned
77-
--retry RETRY Number of retry before ban
78-
--baudrate BAUDRATE Baudrate for serial com
79-
--keys KEYS folders where SSL certificates are
80-
--force Connect any serial devices
69+
-h, --help show this help message and exit
70+
--serial SERIAL Serial port
71+
--port PORT Websocket port
72+
--secure Add SSL
73+
--power Add power management (@reboot/@poweroff)
74+
--password PASSWORD Password for the websocket
75+
--local Websocket will only be available locally
76+
--bantime BANTIME Seconds before a ban user is unbanned
77+
--retry RETRY Number of retry before ban
78+
--baudrate BAUDRATE Baudrate for serial com
79+
--keys KEYS folders where SSL certificates are
80+
--force Connect any serial devices
81+
--settings SETTINGS Setting file
82+
--debug Debug Mode
83+
```
84+
## Settings file (v1.1)
85+
You can use a settings file (in ini) to pass arguments to usb_scanner and connector.
86+
You can find an example in **libreconnect.ini.example** (by default libreconnect.ini is used)
87+
```
88+
usb_scanner --settings settings/libreconnect.ini
8189
```
90+
8291
## Do not connect to network
8392
If you want to use libreConnect only on the machine where it is plugged, just add **--local**.
8493
This is recommended if you are **not on your own network**.

readme_fr.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,15 @@ Bien qu'il ne soit pas nécessaire de paramétrer libreConnect, vous pouvez util
7171
--retry RETRY Number of retry before ban
7272
--baudrate BAUDRATE Baudrate for serial com
7373
--keys KEYS folders where SSL certificates are
74-
--force Connect any serial devices
74+
--force Connect any serial devices
75+
--settings SETTINGS Setting file
76+
--debug Debug Mode
77+
```
78+
## Fichier de configuration (v1.1)
79+
Vous pouvez utiliser un fichier de configuration (un fichier ini) pour paramétrer usb_scanner et connector
80+
Un exemple est disponible dans le fichier **libreconnect.ini.example** (par défaut libreconncet.ini est utilisé)
81+
```
82+
usb_scanner --settings settings/libreconnect.ini
7583
```
7684

7785
## Ne pas connecter au réseau

0 commit comments

Comments
 (0)