BasicMicroUK - Forums

www.basicmicro.co.uk
It is currently Thu Apr 26, 2018 11:49 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 32 posts ]  Go to page Previous  1, 2, 3
Author Message
 Post subject: Re: Wifi
PostPosted: Tue Nov 16, 2010 3:40 pm 
Offline
Master

Joined: Tue Nov 21, 2006 5:34 pm
Posts: 662
I am not sure if your question was answered or not... The hserin/hserout works much the same way as serin/serout, except at the lower level of how the data is actually sent or received...

As for your code that you mentioned... It should probably look something like:
Code:
base_url bytetable "open http://www.website.org 80",0  ; wifi module spec syntax
user_id var word     ; Not sure of the size you need...

user_id = 18                                   ; this would be unique for each unit/user

sethserial1 h9600                                 ; this is all you need for a Nano chip

hserout [str base_url\50\0," GET /respond/main.php?action=3&userid=", dec user_id, 13, 13]


Note: I am not sure if you will need CRs or LFs... I am assuming 13 should do but could be wrong... Also not sure if in your example if the ...org 80 should be ...org:80 or not, but that is an easy change. If this is not a content value but instead something you received somehow, than you would convert the bytetable into simple an array of bytes to receive this string...

Good Luck

Kurt


Top
 Profile  
 
 Post subject: Re: Wifi
PostPosted: Thu Feb 27, 2014 11:07 am 
Offline
New User

Joined: Sat Feb 15, 2014 7:31 am
Posts: 1
Does turning on wifi disable data? I have an iPhone 4S and I was wondering if whenever I turn on wifi, does it automatically disable the cellular data? Just wanted to know because it gets too much of a hassle to turn off the data and switch to wifi, and then vice versa.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 32 posts ]  Go to page Previous  1, 2, 3

All times are UTC [ DST ]


Who is online

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

Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group

phpBB SEO