Well... How Are Things Going?

Discussions related to the WiServer add-on code for WiShield. WiServer is a friendly, easy-to-use front end for webserver and webclient usages.

Moderator: shard7

Re: Well... How Are Things Going?

Postby benquark » Sun Jul 19, 2009 11:13 am

Sorry about that. Looks like I had UDP enabled by default in the top of the tree when I pushed the changes to GitHub. Its fixed now.
benquark
 
Posts: 63
Joined: Wed May 06, 2009 3:57 pm

Re: Well... How Are Things Going?

Postby bpa » Sun Jul 19, 2009 3:15 pm

benquark- That did the trick, thanks! Now I can begin to weed through the libraries... :) - cheers, BPA
bpa
 
Posts: 4
Joined: Wed Jul 15, 2009 9:02 am

Re: Well... How Are Things Going?

Postby natehk » Sun Sep 27, 2009 9:08 pm

I followed the steps described previously, but I'm still getting the same error message as other users. It seems odd no posts have been made on this topic in some time but yet I'm running into the same problem. Logically it must be something small that I'm missing.

-Compiler Error Message-

hardware\libraries\WiShield/webserver.h:43: error: conflicting types for 'uip_tcp_appstate_t'
hardware\libraries\WiShield/server.h:65: error: previous declaration of 'uip_tcp_appstate_t' was here

I've tried loading the libraries in arduino-0017 & arduino-0016, removing the *.o files and even removing the 'Ethernet' libraries, updating the apps-conf.h, all with no success. The WiShield drivers and the TCP/IP Stack are the newest versions post on the download sites.

My Steps are as follows:
1. Open Arduino-0017
2. File > Examples > WiShield > WebServer
3. Verify

If it's any help the SimpleClient, SimpleServer, SimpleTweet verifies with no errors, but the SockeApp, UPDApp, WebClient all give the same error message as above.

Any help or direction would be greatly appreciated.
Flexible people never get bent out of shape
User avatar
natehk
 
Posts: 1
Joined: Sun Sep 27, 2009 8:47 pm

Re: Well... How Are Things Going?

Postby gsxrex » Sun Sep 27, 2009 10:20 pm

Well, I'm going to ask the obvious question. In between recompiles, are you modifying apps-conf.h to uncomment the respective APP_* define for the specific sketch you are trying to compile? And is only one of the APP_* define's uncommented? For example, if I leave APP_WISERVER uncommented, but try and load the WebServer sketch, I get the exact same error as you.

Additionally, if you want to run the UDPApp sketch, you'll need to set a couple extra defines as talked about on the wiki:
http://asynclabs.com/wiki/index.php?title=UDPApp_sketch
User avatar
gsxrex
 
Posts: 115
Joined: Thu Apr 30, 2009 9:49 am

Re: Well... How Are Things Going?

Postby tamberg » Mon Jun 07, 2010 1:33 pm

Thanks man, you saved my day.

Cheers,
tamberg
tamberg
 
Posts: 1
Joined: Mon Jun 07, 2010 1:31 pm

Re: Well... How Are Things Going?

Postby lanman1 » Wed Jul 07, 2010 6:28 am

Help! I am having the same issue.

C:\Users\lanman1.local\Desktop\arduino\libraries\WiShield/webserver.h:43: error: conflicting types for 'uip_tcp_appstate_t'

C:\Users\lanman1.local\Desktop\arduino\libraries\WiShield/server.h:65: error: previous declaration of 'uip_tcp_appstate_t' was here


I only have APP_WISERVER uncommented

//#define APP_WEBSERVER
//#define APP_WEBCLIENT
//#define APP_SOCKAPP
//#define APP_UDPAPP
#define APP_WISERVER


I have v18 of the arduino code and am using 1.3.0 of the Wishield library.
lanman1
 
Posts: 1
Joined: Wed Jul 07, 2010 6:22 am

Re: Well... How Are Things Going?

Postby GregEigsti » Fri Jul 09, 2010 6:11 pm

Make sure the following defines are set in uip-conf.h (WiShield lib code)

Code: Select all
#define UIP_CONF_UDP             0
#define UIP_CONF_UDP_CHECKSUMS   0
#define UIP_CONF_BROADCAST       0


Greg
Check out the wiki!
uIP Stack Docs
Compatible Access Point List
WiShield user contrib branch - DNS, DHCP, AP Scanning, bug fixes, etc.
SlackLab.org - My geek projects blog.
User avatar
GregEigsti
 
Posts: 1067
Joined: Sun Aug 02, 2009 5:23 pm
Location: Sammamish WA USA (near Seattle)
  • Website

Re: Well... How Are Things Going?

Postby janodi » Sun Jul 11, 2010 6:20 pm

I've been pouring through the forums for a few hours and have the same problem as described above with the following error message when I try to compile the WiServer example:

C:\Documents and Settings\Jim\Desktop\My Arduino\arduino-0018\libraries\WiShield/webserver.h:43: error: conflicting types for 'uip_tcp_appstate_t'

C:\Documents and Settings\Jim\Desktop\My Arduino\arduino-0018\libraries\WiShield/server.h:65: error: previous declaration of 'uip_tcp_appstate_t' was here

The uip-conf.h defines are as Greg lists them. I have commented out the APP_WEBSERVER define and uncommented the APP_WISERVER define in the apps-conf.h file. I am able to successfully compile SimpleServer and down load it and get it to run.

I must be missing something simple :(
Jim
janodi
 
Posts: 2
Joined: Wed Jun 30, 2010 7:43 pm

Re: Well... How Are Things Going?

Postby GregEigsti » Mon Jul 12, 2010 2:02 am

That is weird. Which "WiServer example" are you having trouble with? SimpleServer/Tweeter?
Check out the wiki!
uIP Stack Docs
Compatible Access Point List
WiShield user contrib branch - DNS, DHCP, AP Scanning, bug fixes, etc.
SlackLab.org - My geek projects blog.
User avatar
GregEigsti
 
Posts: 1067
Joined: Sun Aug 02, 2009 5:23 pm
Location: Sammamish WA USA (near Seattle)
  • Website

Previous

Return to WiServer

Who is online

Users browsing this forum: No registered users and 2 guests