ROBOTC.net forums
http://www.robotc.net/forums/

Dexter Wifi Sensor - Connecting with WEP
http://www.robotc.net/forums/viewtopic.php?f=1&t=4417
Page 1 of 1

Author:  sparramc [ Mon Apr 02, 2012 4:43 am ]
Post subject:  Dexter Wifi Sensor - Connecting with WEP

Is there a way that I can have an NXT with a Dexter Wifi Sensor attached, automatically connect to my router from turn on.

I use a 26 digit WEP key. So ideally I would like the SSID and WEP Key to be stored as a file which I can just upload to any of my NXTs as needed. A simple Text file with the SSID and WEP Key Data would make it far more portable.

Is it possible to to read in the whole WEP string at a single go, rather than having to break it into the 26 characters of my WEP Key as shown in Dexter's RobotC Deoms? I've tried a couple of approaches with no luck..

I trust someone can orientate me in the general direction?

Author:  mightor [ Mon Apr 02, 2012 5:12 am ]
Post subject:  Re: Dexter Wifi Sensor - Connecting with WEP

Since strings can only be up to 19 characters in length, it would make more sense to use a ubyte array instead. Use ReadByte() for this.

- Xander

Author:  sparramc [ Mon Apr 02, 2012 11:30 pm ]
Post subject:  Re: Dexter Wifi Sensor - Connecting with WEP

Thanx Xander.

Page 1 of 1 All times are UTC - 5 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/