I'm a noob, but I'm eager to learn, this stuff is really cool.
So, I'm able to flash the .bin file through NodeMCU, I can't seem to get the Arduino IDE to verify anything or upload anything that works.
I would like to rename the SSID names "My SSID" that's present in the .bin file but Arduino give me:
Arduino: 1.8.12 (Mac OS X), Board: "Generic ESP8266 Module, 80 MHz, Flash, Legacy (new can return nullptr), All SSL ciphers (most compatible), dtr (aka nodemcu), 26 MHz, 40MHz, DOUT (compatible), 1MB (FS:64KB OTA:~470KB), 2, nonos-sdk 2.2.1+100 (190703), v2 Lower Memory, Disabled, None, Only Sketch, 115200"
WiFi_Captive_Portalssid:25:12: error: redefinition of 'const byte HTTP_CODE'
const byte HTTP_CODE = 200;
^
WiFi_Captive_Portal:25:12: error: 'const byte HTTP_CODE' previously defined here
const byte HTTP_CODE = 200;
^
WiFi_Captive_Portalssid:26:12: error: redefinition of 'const byte DNS_PORT'
const byte DNS_PORT = 53;
^
WiFi_Captive_Portal:26:12: error: 'const byte DNS_PORT' previously defined here
const byte DNS_PORT = 53;
^
WiFi_Captive_Portalssid:27:12: error: redefinition of 'const byte TICK_TIMER'
const byte TICK_TIMER = 1000;
^
WiFi_Captive_Portal:27:12: error: 'const byte TICK_TIMER' previously defined here
const byte TICK_TIMER = 1000;
^
WiFi_Captive_Portalssid:28:15: error: redefinition of 'IPAddress APIP'
IPAddress APIP(10, 10, 10, 1); // Gateway
^
WiFi_Captive_Portal:28:11: error: 'IPAddress APIP' previously declared here
IPAddress APIP(10, 10, 10, 1); // Gateway
^
WiFi_Captive_Portalssid:30:8: error: redefinition of 'String allPass'
String allPass="";
^
WiFi_Captive_Portal:30:8: error: 'String allPass' previously declared here
String allPass="";
^
WiFi_Captive_Portalssid:31:15: error: redefinition of 'long unsigned int bootTime'
unsigned long bootTime=0, lastActivity=0, lastTick=0, tickCtr=0;
^
WiFi_Captive_Portal:31:15: error: 'long unsigned int bootTime' previously defined here
unsigned long bootTime=0, lastActivity=0, lastTick=0, tickCtr=0;
^
WiFi_Captive_Portalssid:31:27: error: redefinition of 'long unsigned int lastActivity'
unsigned long bootTime=0, lastActivity=0, lastTick=0, tickCtr=0;
^
WiFi_Captive_Portal:31:27: error: 'long unsigned int lastActivity' previously defined here
unsigned long bootTime=0, lastActivity=0, lastTick=0, tickCtr=0;
^
WiFi_Captive_Portalssid:31:43: error: redefinition of 'long unsigned int lastTick'
unsigned long bootTime=0, lastActivity=0, lastTick=0, tickCtr=0;
^
WiFi_Captive_Portal:31:43: error: 'long unsigned int lastTick' previously defined here
unsigned long bootTime=0, lastActivity=0, lastTick=0, tickCtr=0;
^
WiFi_Captive_Portalssid:31:55: error: redefinition of 'long unsigned int tickCtr'
unsigned long bootTime=0, lastActivity=0, lastTick=0, tickCtr=0;
^
WiFi_Captive_Portal:31:55: error: 'long unsigned int tickCtr' previously defined here
unsigned long bootTime=0, lastActivity=0, lastTick=0, tickCtr=0;
^
WiFi_Captive_Portalssid:32:11: error: redefinition of 'DNSServer dnsServer'
DNSServer dnsServer; ESP8266WebServer webServer(80);
^
WiFi_Captive_Portal:32:11: error: 'DNSServer dnsServer' previously declared here
DNSServer dnsServer; ESP8266WebServer webServer(80);
^
WiFi_Captive_Portalssid:32:48: error: redefinition of 'ESP8266WebServer webServer'
DNSServer dnsServer; ESP8266WebServer webServer(80);
^
WiFi_Captive_Portal:32:39: error: 'ESP8266WebServer webServer' previously declared here
DNSServer dnsServer; ESP8266WebServer webServer(80);
^
/Users/mat/Downloads/ESP8266_WiFi_Captive_Portal-master/WiFi_Captive_Portal/WiFi_Captive_Portalssid.ino: In function 'String input(String)':
WiFi_Captive_Portalssid:34:8: error: redefinition of 'String input(String)'
String input(String argName) {
^
WiFi_Captive_Portal:34:8: error: 'String input(String)' previously defined here
String input(String argName) {
^
/Users/mat/Downloads/ESP8266_WiFi_Captive_Portal-master/WiFi_Captive_Portal/WiFi_Captive_Portalssid.ino: In function 'String footer()':
WiFi_Captive_Portalssid:39:8: error: redefinition of 'String footer()'
String footer() { return
^
WiFi_Captive_Portal:39:8: error: 'String footer()' previously defined here
String footer() { return
^
/Users/mat/Downloads/ESP8266_WiFi_Captive_Portal-master/WiFi_Captive_Portal/WiFi_Captive_Portalssid.ino: In function 'String header(String)':
WiFi_Captive_Portalssid:43:8: error: redefinition of 'String header(String)'
String header(String t) {
^
WiFi_Captive_Portal:43:8: error: 'String header(String)' previously defined here
String header(String t) {
^
/Users/mat/Downloads/ESP8266_WiFi_Captive_Portal-master/WiFi_Captive_Portal/WiFi_Captive_Portalssid.ino: In function 'String pass()':
WiFi_Captive_Portalssid:61:8: error: redefinition of 'String pass()'
String pass() {
^
WiFi_Captive_Portal:61:8: error: 'String pass()' previously defined here
String pass() {
^
/Users/mat/Downloads/ESP8266_WiFi_Captive_Portal-master/WiFi_Captive_Portal/WiFi_Captive_Portalssid.ino: In function 'String index()':
WiFi_Captive_Portalssid:65:8: error: redefinition of 'String index()'
String index() {
^
WiFi_Captive_Portal:65:8: error: 'String index()' previously defined here
String index() {
^
/Users/mat/Downloads/ESP8266_WiFi_Captive_Portal-master/WiFi_Captive_Portal/WiFi_Captive_Portalssid.ino: In function 'String posted()':
WiFi_Captive_Portalssid:70:8: error: redefinition of 'String posted()'
String posted() {
^
WiFi_Captive_Portal:70:8: error: 'String posted()' previously defined here
String posted() {
^
/Users/mat/Downloads/ESP8266_WiFi_Captive_Portal-master/WiFi_Captive_Portal/WiFi_Captive_Portalssid.ino: In function 'String clear()':
WiFi_Captive_Portalssid:75:8: error: redefinition of 'String clear()'
String clear() {
^
WiFi_Captive_Portal:75:8: error: 'String clear()' previously defined here
String clear() {
^
/Users/mat/Downloads/ESP8266_WiFi_Captive_Portal-master/WiFi_Captive_Portal/WiFi_Captive_Portalssid.ino: In function 'void BLINK()':
WiFi_Captive_Portalssid:80:6: error: redefinition of 'void BLINK()'
void BLINK() { // The internal LED will blink 5 times when a password is received.
^
WiFi_Captive_Portal:80:6: error: 'void BLINK()' previously defined here
void BLINK() { // The internal LED will blink 5 times when a password is received.
^
/Users/mat/Downloads/ESP8266_WiFi_Captive_Portal-master/WiFi_Captive_Portal/WiFi_Captive_Portalssid.ino: In function 'void setup()':
WiFi_Captive_Portalssid:91:6: error: redefinition of 'void setup()'
void setup() {
^
WiFi_Captive_Portal:91:6: error: 'void setup()' previously defined here
void setup() {
^
/Users/mat/Downloads/ESP8266_WiFi_Captive_Portal-master/WiFi_Captive_Portal/WiFi_Captive_Portalssid.ino: In function 'void loop()':
WiFi_Captive_Portalssid:107:6: error: redefinition of 'void loop()'
void loop() {
^
WiFi_Captive_Portal:107:6: error: 'void loop()' previously defined here
void loop() {
^
Multiple libraries were found for "WiFiClient.h"
Used: /Users/mat/Library/Arduino15/packages/esp8266/hardware/esp8266/2.6.3/libraries/ESP8266WiFi
Not used: /private/var/folders/sq/288t6rg54gqdpf3nlt15m5sr0000gn/T/AppTranslocation/8203C36F-E9DE-4A33-A648-276EDA2E8618/d/Arduino 2.app/Contents/Java/libraries/WiFi
exit status 1
redefinition of 'const byte HTTP_CODE'
The original file come from https://github.com/125K/ESP8266_WiFi_Captive_Portal
I'm using this for research, nothing illegal.
Please help, or point me in the right direction, I'm not afraid to read some things if I have to
Thank you!
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.