View unanswered posts | View active topics It is currently Wed Apr 23, 2014 7:22 am






Reply to topic  [ 3 posts ] 
Dexter Wifi Sensor - Connecting with WEP 
Author Message
Rookie
User avatar

Joined: Tue Aug 11, 2009 11:49 pm
Posts: 36
Location: Tasmania, the Land Down Under, the Land Downunder!
Post 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


Image


Mon Apr 02, 2012 4:43 am
Profile WWW
Moderator
Moderator
User avatar

Joined: Wed Mar 05, 2008 8:14 am
Posts: 3112
Location: Rotterdam, The Netherlands
Post 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

_________________
| Professional Conduit of Reasonableness
| (Title bestowed upon on the 8th day of November, 2013)
| My Blog: I'd Rather Be Building Robots
| ROBOTC 3rd Party Driver Suite: [Project Page]


Mon Apr 02, 2012 5:12 am
Profile WWW
Rookie
User avatar

Joined: Tue Aug 11, 2009 11:49 pm
Posts: 36
Location: Tasmania, the Land Down Under, the Land Downunder!
Post Re: Dexter Wifi Sensor - Connecting with WEP
Thanx Xander.

_________________
regards

Sparra Mc


Image


Mon Apr 02, 2012 11:30 pm
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 3 posts ] 

Who is online

Users browsing this forum: No registered users and 2 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

Search for:
Jump to:  
cron



Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.