-
Notifications
You must be signed in to change notification settings - Fork 21
/
Extended.config.h
45 lines (36 loc) · 4.44 KB
/
Extended.config.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
// ---------------------------------------------------------------------------------------------------------------------------------
// Configuration for OnStep SmartHandServer infrequently used eXtended options
// *** Most users will not change anything in this file! ***
// ---------------------------------------------------------------------------------------------------------------------------------
// ADJUST THE FOLLOWING TO CONFIGURE YOUR CONTROLLER FEATURES ----------------------------------------------------------------------
// <-Req'd = always must set, <-Often = usually must set, Option = optional, Adjust = adjust as req'd, Infreq = infrequently changed
// DEBUG ------------------------------------------------------------ see https://onstep.groups.io/g/main/wiki/6-Configuration#DEBUG
// Enable additional debugging and/or status messages on the specified SERIAL_DEBUG port
// Note that the SERIAL_DEBUG port cannot be used for normal communication with OnStep
// Parameter Name Value Default Notes Hint
#define DEBUG OFF // OFF, Use ON for background error messages only, use VERBOSE for all Infreq
// error and status messages, use PROFILER for VT100 task profiler,
// use REMOTE to forward verbose debug output to OnStep
#define SERIAL_DEBUG Serial // Serial, Or use any h/w serial port. Serial1 or Serial2, etc. as supported. Option
#define SERIAL_DEBUG_BAUD 9600 // 9600, n. Where n=9600,19200,57600,115200 (common baud rates.) Option
// NON-VOLATILE STORAGE ------------------------------------------------------------------------------------------------------------
#define NV_WIPE OFF // OFF, Causes the defaults to be written back into NV (FLASH,EEPROM,etc.) Infreq
// *** IMPORTANT: ENABLE THIS OPTION THEN UPLOAD, WAIT A MINUTE ***
// Warning ---> // *** OR TWO THEN SET THIS OPTION TO OFF AND UPLOAD AGAIN. ***
// *** LEAVING THIS OPTION ENABLED CAN CAUSE EXCESSIVE NV ***
// *** WEAR AND DAMAGE THE MICROCONTROLLER NV SUBSYSTEM !!! ***
#define SERIAL_IP_MODE OFF // OFF, Use STATION to enable the interface (ESP32 only.) Option
// IP ADDRESS SETTINGS -------------------------------------------------------------------------------------------------------------
// then specify SERIAL_IP as the serial port in Config.h
#define ONSTEP1_HOST_NAME "OnStep" // "OnStep", Wifi Host Name to connnect to, leave blank to disable. Adjust
#define ONSTEP1_SSID "ONSTEP" // "ONSTEP", Wifi alternate Station SSID to connnect to. Adjust
#define ONSTEP1_PASSWORD "password" // "password", Wifi Station mode password. Adjust
#define ONSTEP1_IP_ADDR {192,168,0,1} // ..168,0,1}, Wifi Target IP Address to connect to. Adjust
#define ONSTEP2_HOST_NAME "OnStepX" // "", Wifi Host Name to connnect to, leave blank to disable. Adjust
#define ONSTEP2_SSID "OnStepX" // "ONSTEP", Wifi alternate Station SSID to connnect to. Adjust
#define ONSTEP2_PASSWORD "password" // "", Wifi alternate Station mode password. Adjust
#define ONSTEP2_IP_ADDR {192,168,0,1} // ..168,0,1}, Wifi alternate Target IP Address to connect to. Adjust
#define ONSTEP3_HOST_NAME "" // "", Wifi Host Name to connnect to, leave blank to disable. Adjust
#define ONSTEP3_SSID "ONSTEP" // "ONSTEP", Wifi alternate Station SSID to connnect to. Adjust
#define ONSTEP3_PASSWORD "password" // "password", Wifi alternate Station mode password. Adjust
#define ONSTEP3_IP_ADDR {192,168,0,1} // ..168,0,1}, Wifi alternate Target IP Address to connect to. Adjust