Error Compiling Ethernet Gateway
-
Well, Duh :-)
-
Well, Duh :-)
@clippermiami
That was a copy/paste error --- the actual line was and is:#define IP_PORT 5001 // The port you want to open 20140404 JRS IPAddress myIp (192, 168, 15, 118); // Configure your static ip-address here 20140404 JRSAnd I still get the error in compile IPAddress does not name a type
This is the Ethernet Gateway code as downloaded from the site, the only change is to substitute the port number and the IP address fields
-
@clippermiami
That was a copy/paste error --- the actual line was and is:#define IP_PORT 5001 // The port you want to open 20140404 JRS IPAddress myIp (192, 168, 15, 118); // Configure your static ip-address here 20140404 JRSAnd I still get the error in compile IPAddress does not name a type
This is the Ethernet Gateway code as downloaded from the site, the only change is to substitute the port number and the IP address fields
-
Are you using the ENC-module or WizNet?
If ENC, Try removing the src-folder from the UIPEthernet-library.
@hek
The ENC module so i'll try your suggestion today and reply when I have results -
UIPEthernet
I removed the "src" folder and still got the same error "IPAddress does not name a type"
#define IP_PORT 5001 // The port you want to open
IPAddress myIp (192, 168, 015, 118); // Configure your static ip-address here -
UIPEthernet
I removed the "src" folder and still got the same error "IPAddress does not name a type"
#define IP_PORT 5001 // The port you want to open
IPAddress myIp (192, 168, 015, 118); // Configure your static ip-address here -
Well, I'll reinstall then and get back to you. Thanks
-
Well, I'll reinstall then and get back to you. Thanks
@clippermiami I had the same issue when the libraries weren't in place. See the steps at: http://www.mysensors.org/build/arduino
-
@clippermiami I had the same issue when the libraries weren't in place. See the steps at: http://www.mysensors.org/build/arduino
@tigra I got it working and in my excitement I forgot to follow up here. :)
I don't have the Ethernet Gateway working but the Serial one is running along with a single DHT sensor for now so I'm happy :)
john
-
@tigra I got it working and in my excitement I forgot to follow up here. :)
I don't have the Ethernet Gateway working but the Serial one is running along with a single DHT sensor for now so I'm happy :)
john
does someone solved this fault also for Ethernet Gateway? While trying to adapt Sensebender Gateway to Ethernet, I get following messages:
error: 'IPAddress' does not name a type IPAddress _ethernetGatewayIP(MY_IP_ADDRESS);
error: 'EthernetServer' does not name a type
EthernetServer _ethernetServer(_ethernetGatewayPort);followed by some more, expected to result from the above mentioned.