|
Page 1 of 1
|
[ 3 posts ] |
|
Dexter Wifi Sensor - Connecting with WEP
| Author |
Message |
|
sparramc
Rookie
Joined: Tue Aug 11, 2009 11:49 pm Posts: 36 Location: Tasmania, the Land Down Under, the Land Downunder!
|
 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?
_________________ regards
Sparra Mc
|
| Mon Apr 02, 2012 4:43 am |
|
 |
|
mightor
Moderator
Joined: Wed Mar 05, 2008 8:14 am Posts: 2906 Location: Rotterdam, The Netherlands
|
 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
_________________| Some people, when confronted with a problem, think, "I know, I'll use threads," | and then two they hav erpoblesms. (@nedbat)| My Blog: I'd Rather Be Building Robots| ROBOTC 3rd Party Driver Suite: [ Project Page]
|
| Mon Apr 02, 2012 5:12 am |
|
 |
|
sparramc
Rookie
Joined: Tue Aug 11, 2009 11:49 pm Posts: 36 Location: Tasmania, the Land Down Under, the Land Downunder!
|
 Re: Dexter Wifi Sensor - Connecting with WEP
Thanx Xander.
_________________ regards
Sparra Mc
|
| Mon Apr 02, 2012 11:30 pm |
|
|
|
Page 1 of 1
|
[ 3 posts ] |
|
Who is online |
Users browsing this forum: No registered users and 3 guests |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|