Skip to content

Commit be14e14

Browse files
committed
EX-Toolbox updates for the WiFi setup page
1 parent b44895b commit be14e14

5 files changed

Lines changed: 76 additions & 7 deletions

File tree

1020 KB
Loading
1 MB
Loading

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
# 'sphinx.ext.ifconfig',
3939
# 'sphinx.ext.viewcode',
4040
# 'sphinx.ext.graphviz',
41-
'sphinx_sitemap',
41+
# 'sphinx_sitemap',
4242
# 'sphinx.ext.inheritance_diagram',
4343
'sphinxcontrib.spelling',
4444
'sphinx_toolbox.collapse',

docs/ex-commandstation/advanced-setup/supported-wifi/wifi-config_v5_7.rst

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
.. include:: /include/include-ex-cs.rst
66
|EX-CS-LOGO|
77

8-
************************************
9-
WiFi Configuration for version 5.7+
10-
************************************
8+
*************************************
9+
WiFi Configuration for version 5.7.0+
10+
*************************************
1111

1212
|SUITABLE| |tinkerer| |engineer| |support-button|
1313

@@ -28,11 +28,11 @@ Also see `WiFi configuration (CSB1 or ESP32 ONLY) <https://dcc-ex.com/mkdocs-tes
2828
Background
2929
===========
3030

31-
Prior to version 5.7.0, WiFi configuration for |EX-CS| was done through options in the ``config.h`` file. This method required users to modify the firmware (by editing `config.h``) and recompile it for their specific WiFi settings.
31+
Prior to version 5.7.0, WiFi configuration for |EX-CS| was done through options in the ``config.h`` file. This method required users to modify the firmware (by editing ``config.h``) and recompile it for their specific WiFi settings.
3232

3333
From version 5.7.0, WiFi configuration options in ``config.h`` are *ignored* by the CSB1 or ESP32 EX-CommandStations.
3434

35-
It is now necessary to use a new WiFi configuration method, which involves connecting to the |EX-CS| *after you have flashed the firmware.* You do so by connecting to the |EX-CS| via USB or by connecting to the WiFi Access Point network of the CS. (Note that the WiFi Access Point network approach has limitations. See below.)
35+
It is now necessary to use a new WiFi configuration method, which involves connecting to the |EX-CS| *after you have flashed the firmware.* You do so by connecting to the |EX-CS| via USB or by connecting to the WiFi Access Point network of the CS and issuing a set of new commands. (Note that the WiFi Access Point network approach has limitations. See below.)
3636

3737
The advantage of this is that it is independent of the flashing process, and will remember your WiFi settings across firmware updates and changes.
3838

@@ -56,7 +56,7 @@ WiFi on the |EX-CS| has two possible operating modes:
5656

5757
There are some additional settings that are not modes but effect the wifi connection:
5858

59-
* **Channel**: If you need to use an alternate channel in Access Point mode(we recommend using only 1,6, or 11) you may change it.
59+
* **Channel**: If you need to use an alternate channel in Access Point mode (we recommend using only 1,6, or 11) you may change it.
6060

6161
* **Hidden AP mode**: If enabled, the Command Station's WiFi network will not be visible in the list of available networks on devices. This can enhance security by making it less obvious to potential attackers, but it also means that users will need to manually enter the network name (SSID) to connect.
6262

@@ -73,6 +73,8 @@ There are some additional settings that are not modes but effect the wifi connec
7373
Using USB vs WiFi - Limitations of WiFi
7474
=========================================
7575

76+
There are significant limitations to be aware of when configuring WiFi settings over WiFi compared to using a USB connection:
77+
7678
Only **Station (STA) mode** and the **HOSTNAME** can be changed over WiFi.
7779

7880
**Access Point (AP)** mode changes require a serial/USB connection.

docs/ex-toolbox/using.rst

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -499,6 +499,73 @@ You can manually restart the readings with the :guilabel:`Start` button. This w
499499

500500
----
501501

502+
WiFi Setup
503+
=================
504+
505+
(The WiFi Settings screen is only available when connected to EX-CommandStation version 5.7.0 and above.)
506+
507+
Prior to version 5.7.0, WiFi configuration for |EX-CS| was done through options in the ``config.h`` file. This method required users to modify the firmware (by editing ``config.h``) and recompile it for their specific WiFi settings.
508+
509+
From version 5.7.0, it is necessary to use a new WiFi configuration method, which involves connecting to the |EX-CS| *after you have flashed the firmware.* You do so by connecting to the |EX-CS| via USB or by connecting to the WiFi Access Point network of the CS and issuing a set of new commands.
510+
511+
See the :doc:`/ex-commandstation/advanced-setup/supported-wifi/wifi-config_v5_7` page for more details.
512+
513+
|EX-TB| provides a screen to allow you to issue the necessary commands to change the WiFi settings of your |EX-CS|.
514+
515+
.. figure:: /_static/images/ex-toolbox/wifi_setup_sta_mode.png
516+
:alt: WiFi Settings Screen - STA mode
517+
:scale: 20%
518+
:align: right
519+
520+
EX-Toolbox WiFi Settings Screen - STA Mode
521+
522+
Station Mode
523+
-------------
524+
525+
Station Mode WiFi configuration is available from the 'WiFi Setup' screen, when 'WiFi Station Mode' is selected in the drop down list at the top of the screen.
526+
527+
The Station Mode WiFi configuration allows you to set the `SSID` and `password` of the WiFi network that your |EX-CS| will connect to, and also allows you to set the `hostname` of the |EX-CS| on that network.
528+
529+
To change the *Station Mode* enter a `SSID` (the name of the network), and a `password` of at least 8 characters and presse either the :guilabel:`Set Station` button for a permanent change, or the :guilabel:`Set Temp` button for a temporary change.
530+
531+
To change the *hostname* enter the hostname and press the :guilabel:`Set Hostname` button.
532+
533+
|force-break|
534+
535+
.. figure:: /_static/images/ex-toolbox/wifi_setup_ap_mode.png
536+
:alt: WiFi Settings Screen - AP mode
537+
:scale: 20%
538+
:align: right
539+
540+
EX-Toolbox WiFi Settings Screen - AP Mode
541+
542+
Access Point Mode
543+
-----------------
544+
545+
Access Point Mode WiFi configuration is available from the 'WiFi Setup' screen, when 'WiFi Access Point Mode' is selected in the drop down list at the top of the screen.
546+
547+
The Access Point Mode WiFi configuration allows you to set the `SSID`, `password` and optional `Channel` of the WiFi Access Point network that your |EX-CS| will create, and also allows you to set the `hostname` of the |EX-CS| on that network.
548+
549+
.. note::
550+
551+
The 'Access Point' mode buttons will not become avaliable if you are connected to the |EX-CS| via WiFi, as you can't change the Access Point mode settings over WiFi. You need to be connected via USB to change the Access Point mode settings.
552+
553+
To change the *Access Point* enter a `SSID` (the name of the network), and a `Password` of at least 8 characters and press the :guilabel:`Set Access Point` button.
554+
555+
To change the *hostname* enter the hostname and press the :guilabel:`Set Hostname` button.
556+
557+
|HR-DASHED|
558+
559+
.. note::
560+
561+
In every case above where you press one of the buttons, the Command Station will restart to apply the new settings. You will need to reconnect to the Command Station.
562+
563+
See the :doc:`/ex-commandstation/advanced-setup/supported-wifi/wifi-config_v5_7` page for more details on the meaning of these settings.
564+
565+
|force-break|
566+
567+
----
568+
502569
Secondary Screens
503570
=================
504571

0 commit comments

Comments
 (0)