How to make yellow jacket tell connection status

Discussion about the upcoming YellowJacket (WiFi+Arduino mini).

How to make yellow jacket tell connection status

Postby mucittin » Thu Sep 30, 2010 2:15 am

Hello All,
I use socket application sketch and i want yellow jacket to tells me when it is not connected any wireless device. As i know from its documents wireless module sends a signal to the atmel when it is connected or not connected to any wireless device.In arduino program it is percieved by 0 prior interrupt pin (from pin 2). I know i have to check this pin. However, "wifiinit" function of yellow jacket never lapses and always tries to connect a wifi. For socket sketch, which cpp file does include wifiinit function?

Thank u...
mucittin
 
Posts: 5
Joined: Tue Aug 10, 2010 6:15 am

Re: How to make yellow jacket tell connection status

Postby GregEigsti » Thu Sep 30, 2010 9:15 pm

The user contrib branch version of WiFi.init() has been modified with an overloaded version that will try to connect for n seconds (n is a param to init call); it also returns a status value whether it has successfully connected or not. If I remember correctly... ;)

If that does not solve your needs you could always take a look at its implementation to help steer you in the right direction.

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: How to make yellow jacket tell connection status

Postby mucittin » Fri Oct 01, 2010 2:43 am

Thank u... I'll try it
mucittin
 
Posts: 5
Joined: Tue Aug 10, 2010 6:15 am


Return to YellowJacket

Who is online

Users browsing this forum: No registered users and 1 guest