Went back and tried to do the manual method and it still errored out saying that config.h does not exist. Then did auto install and it works!
That's good. But just for FYI, if it says 'config.h' does not exist means it's missing may be renaming not done well or got deleted. Sent from my GM1901 using Tapatalk
Powered down the Arduino and powered up again. Uploaded the code and it errored out again. Wish I could figure out what I am doing wrong!
Alan, First, make sure you completely exit and restart the Arduino IDE inbetween changes to the file system (such as renaming files). The IDE only reads some stuff on startup. Second, if you haven't already, go into File>Preferences and check the two boxes for "Show verbose output during: [] compilation [] upload" . Restart the IDE and try the compile/upload sequence again. Use the "Copy error messages" button on the main window to copy all the error messages and post them here. That'll help a lot with others here in diagnosing your problem. -lyncher
oops, my bad, just saw the new thread on the config.h issue. Alan, please post the error messages over there. I'll respond over there. -lyncher
Lets try this: CommandStation-EX:12:10: fatal error: config.h: No such file or directory ResolveLibrary(config.h) #include "config.h"
It's still saying 'config.h' missing.. that means that file did not exists.. check if the file exists in "CommendStation-EX" folder.. you may not renamed it properly or deleted the the file. Sent from my GM1901 using Tapatalk
FYI for those looking at posting. Problem solved thanks to lyncher. File extensions were hidden there for when I renamed the original file it ended up with two ( 2 ) extension which the IDE does not like. Always something simple!!
Is there a way to include a static IP address (of the base station) in the DCC++ EX basic Wifi version as it stands now ...... or will it be included at some time in the future? I have several wireless throttles that work with previous base station editions that have static IP addresses........and I would like to maintain continuity with them before testing EX.
So you were using an ESP8266 and the old WiFi code in the Base Station? Just checking since DCC++ Classic never had WiFi, but we did after Atani's version. Or were you using a wireless throttle connecting to your router and then connecting DCC++ to JMRI via the Ethernet Shield? For WiFi (connecting a WiThrottle compatible throttle directly to the CS) In Station mode the Router is responsible for choosing the IP address so there isn't a conflict. You connect the CS through the router to the IP of the CS. In AP mode, the CS is effectively the router and IP addresses it uses are not in the same network as any you might have elsewhere on your network. For WiFi, you can send any AT commands you like after boot, so you could add a sequence of commands in the .ino file to override it. You can test with the new <+> command so you could try <+CIPSTA_DEF:192.168.1.50> for station (client) mode or <+CIPAP_DEF xxx.xxx.xxx.xxx> for AP mode.
Using several CS code ... one that Steve Lowery and I worked on back in 2016 with ESP 8266 and Mikes (Atani) ESP32 version (having worked extensively with both Mike and Norm (Normhal on the ESP 32). I just find it easier to troubleshoot network connections if both CS and throttle have a static IP.
You can still have a "static" (unchanging) IP address if you reserve the IP address the router assigns. This is usually done via either an app or the router's administrative webpage, depending on the router.
Andy thanks ... I am aware of that route ... my question was if the DCC++ EX auto install utility (as opposed to download and compile) had a config file facility to enable a static IP of one choosing ......
Just received some Mega/8266 boards and am starting to experiment with them ...... is there a current reference to the dcc-ex start wifi-setup .. the link quoted throws a 404 erreo. Thanks Steve
There have been numerous changes in the website. Some of the links within need to be updated, and I use the (Chrome) browser on my PC when I have difficulty with the site on my phone. https://dcc-ex.com/reference/hardware/wifi-boards.html https://dcc-ex.com/reference//get-started/wifi-setup.html 404 error https://dcc-ex.com/advanced-setup/wifi-config.html https://dcc-ex.com/get-started/wifi-setup.html
If anyone can help me find broken links, I would like to fix them. Let me know wherever is convenient for you. supprt (at) dcc-ex.com is one place or adding an "issue" in github: https://github.com/DCC-EX/dcc-ex.github.io/issues Thanks!
Not yet. We had a large discussion about the merits of static IP and how to handle that. Off the top of my head, the consensus was this was an advanced feature and we would provide instructions for usint <+> commands to send AT strings to the ESP-8266 to change it. That would not require a recompile, just sending config commands. I'll go over the notes to see where we stand on that. If you would like to contribute to the project, with an idea or some code you would like merged in, just let me know.
Hello to all Just to let you know, I installed the latest version yesterday, and it worked perfect with ROCRAIL. Programming track speed is very fast now Best regards Huub