|
| 1 | +Manual page for nxt-test |
| 2 | +======================== |
| 3 | + |
| 4 | +Synopsis |
| 5 | +-------- |
| 6 | + |
| 7 | +**nxt-test** |
| 8 | +[**--backend** *NAME*] |
| 9 | +[**--config** *NAME*] |
| 10 | +[**--config-filename** *PATH*] |
| 11 | +[**--name** *NAME*] |
| 12 | +[**--host** *ADDRESS*] |
| 13 | +[**--server-host** *HOST*] |
| 14 | +[**--server-port** *PORT*] |
| 15 | +[**--filename** *FILENAME*] |
| 16 | +[**--no-sound**] |
| 17 | +[**--log-level** *LEVEL*] |
| 18 | + |
| 19 | +Description |
| 20 | +----------- |
| 21 | + |
| 22 | +:command:`nxt-test` tests connection with a NXT brick. It allows to debug the |
| 23 | +NXT-Python setup. |
| 24 | + |
| 25 | +The NXT brick can be connected using USB, Bluetooth or over the network. |
| 26 | + |
| 27 | + |
| 28 | +Options |
| 29 | +------- |
| 30 | + |
| 31 | +--no-sound |
| 32 | + Be quiet, disable the sound test. |
| 33 | + |
| 34 | +--log-level LEVEL |
| 35 | + Set the log level. One of **DEBUG**, **INFO**, **WARNING**, **ERROR**, or |
| 36 | + **CRITICAL**. Messages whose level is below the current log level will not |
| 37 | + be displayed. |
| 38 | + |
| 39 | + |
| 40 | +.. include:: common_options.rst |
| 41 | + |
| 42 | +Examples |
| 43 | +-------- |
| 44 | + |
| 45 | +Running for a NXT brick connected using USB:: |
| 46 | + |
| 47 | + $ nxt-test |
| 48 | + Finding brick... |
| 49 | + NXT brick name: NXT |
| 50 | + Host address: 00:16:53:01:02:03 |
| 51 | + Bluetooth signal strengths: (0, 0, 0, 0) |
| 52 | + Free user flash: 48480 |
| 53 | + Protocol version 1.124 |
| 54 | + Firmware version 1.29 |
| 55 | + Battery level 8433 mV |
| 56 | + Play test sound...done |
| 57 | + |
| 58 | +To report problems, please enable debug logs:: |
| 59 | + |
| 60 | + $ nxt-test --log-level DEBUG |
| 61 | + |
| 62 | +When debugging Bluetooth connection problems, try to give the address |
| 63 | +explicitly:: |
| 64 | + |
| 65 | + $ nxt-test --log-level DEBUG --host 00:16:53:01:02:03 |
| 66 | + |
| 67 | +The address can be found in the "Settings" menu, under "NXT Version" screen, |
| 68 | +it is the last line labeled "ID". Add the colon to separate each pair of |
| 69 | +digits. |
| 70 | + |
| 71 | + |
| 72 | +.. include:: common_see_also.rst |
0 commit comments