Comment syntax
This commit is contained in:
parent
38eae9ed7e
commit
ad5f2e8381
|
@ -39,7 +39,7 @@
|
|||
stationList[] = {{"ESP32-CAM-CONNECT","InsecurePassword", true}};
|
||||
#endif
|
||||
|
||||
// Version string
|
||||
// Upstream version string
|
||||
#include "src/version.h"
|
||||
|
||||
// Pin Mappings
|
||||
|
|
|
@ -5,8 +5,8 @@
|
|||
*/
|
||||
|
||||
|
||||
// Give the camera a name for the web interface
|
||||
// note: this is not the network hostname
|
||||
/* Give the camera a name for the web interface
|
||||
* note: this is not the network hostname */
|
||||
#define CAM_NAME "ESP32 camera server"
|
||||
|
||||
|
||||
|
@ -30,16 +30,43 @@ struct station {
|
|||
* The first entry (ssid1, above) in the stationList[] is special, if WIFI_AP_ENABLE has been uncommented
|
||||
* it will be used for the AccessPoint ssid and password.
|
||||
*
|
||||
* The 'dhcp' setting controls wether the station uses static IP settings (if in doubt leave 'true')
|
||||
* The 'dhcp' setting controls whether the station uses DHCP or static IP settings (if in doubt leave 'true')
|
||||
* Note the use of nested braces '{' and '}' to group each entry, and commas ',' to seperate them.
|
||||
*/
|
||||
struct station {
|
||||
const char ssid[64]; // ssid (max 64 chars)
|
||||
const char password[64]; // password (max 64 chars)
|
||||
const bool dhcp; // use dhcp?
|
||||
const char ssid[64]; // Do not edit these
|
||||
const char password[64]; // three lines..
|
||||
const bool dhcp; //
|
||||
} stationList[] = {{"my_ssid","my_password", true}};
|
||||
|
||||
|
||||
/*
|
||||
* AccessPoint;
|
||||
*
|
||||
* Uncomment to enable AP mode;
|
||||
*
|
||||
*/
|
||||
// #define WIFI_AP_ENABLE
|
||||
|
||||
/* AP Mode Notes:
|
||||
*
|
||||
* Once enabled the AP ssid and password will be taken from the 1st entry in the stationList[] above.
|
||||
*
|
||||
* If there are further entries listed they will be scanned at startup in the normal way and connected to
|
||||
* if they are found. AP then works as a fallback mode for when there are no 'real' networks available.
|
||||
*
|
||||
* Setting the 'dhcp' field to true for the AP enables a captive portal and attempts to send
|
||||
* all visitors to the webcam page, with varying degrees of success depending on the visitors
|
||||
* browser and other settings.
|
||||
*/
|
||||
// Optionally change the AccessPoint ip address (default = 192.168.4.1)
|
||||
// warning - IP addresses must be seperated with commas (,) and not decimals (.) here
|
||||
// #define AP_ADDRESS 192,168,4,1
|
||||
|
||||
// Uncomment this to force the AccessPoint channel number, default = 1
|
||||
// #define AP_CHAN 1
|
||||
|
||||
|
||||
/*
|
||||
* Static network settings for client mode
|
||||
*
|
||||
|
@ -54,31 +81,6 @@ struct station {
|
|||
// #define ST_DNS1 192,168,0,2
|
||||
// #define ST_DNS2 8,8,8,8
|
||||
|
||||
/*
|
||||
* AccessPoint;
|
||||
*
|
||||
* Uncomment to enable AP mode;
|
||||
*
|
||||
*/
|
||||
// #define WIFI_AP_ENABLE
|
||||
|
||||
/* AP Mode Notes:
|
||||
*
|
||||
* Once enabled the AP ssid and password will be taken from the 1st entry in the stationList[] above.
|
||||
*
|
||||
* If there are more entries listed they will be scanned at startup in the normal way and connected to
|
||||
* if they are found. AP then works as a fallback mode for when there are no 'real' networks available.
|
||||
*
|
||||
* Setting the 'dhcp' field to true for the AP enables a captive portal and attempts to send
|
||||
* all visitors to the webcam page, with varying degrees of success depending on the visitors
|
||||
* browser and other settings.
|
||||
*/
|
||||
// Optionally change the AccessPoint ip address (default = 192.168.4.1)
|
||||
// warning - IP addresses must be seperated with commas (,) and not decimals (.) here
|
||||
// #define AP_ADDRESS 192,168,4,1
|
||||
|
||||
// Uncomment this to force the AccessPoint channel number, default = 1
|
||||
// #define AP_CHAN 1
|
||||
|
||||
/*
|
||||
* Port numbers for WebUI and Stream, defaults to 80 and 81.
|
||||
|
|
Loading…
Reference in New Issue