Pages: [1]   Go Down
Author Topic: Listing of the Hydrogen's features  (Read 800 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 9
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I recently bought the Hydrogen-WiFi-Shield (DIYSandbox) for Arduino.
Does anyone have a listing of the Hydrogen's features (meaning the command with a short explanation, like http://arduino.cc/en/Reference/HomePage )?
Thanks so far
bekas
Logged

Massachusetts, USA
Offline Offline
Tesla Member
***
Karma: 179
Posts: 8066
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Perhaps something like the Quickstart Guide or the Datasheet referenced here: https://diysandbox.com/our-products/arduino-shields/hydrogen
Logged

Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

Offline Offline
Newbie
*
Karma: 0
Posts: 9
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks for the answer.
I already checked these links, but there is no listing of commands smiley-sad
Logged

Massachusetts, USA
Offline Offline
Tesla Member
***
Karma: 179
Posts: 8066
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I think you need to create an account on the GainSpan site to download the documents:

http://www.gainspan.com/gs1011mip

Serial-to-Wi-Fi Application Programming Guide v5.7
Serial-to-Wi-Fi Adapter Command Reference v5.7
Logged

Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

Offline Offline
Newbie
*
Karma: 0
Posts: 9
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks a lot. It's quite a lot to read  smiley
But it is not specific for the Hydrogen, it's just general for WiFi-Devices, isn't it?
Logged

Offline Offline
Sr. Member
****
Karma: 7
Posts: 264
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

You may want to specify what you mean with "commands".

As with most Arduino Shields you communicate with the shield by means of a specific library. The Hydrogen library can be found by following the links on the Diysandbox.com website but ultimately is hosted on GitHUB (IIRC).

If the functionality this library offers does not suit your application, you will have to write your own library functions. In that case you likely need to research how to communicate directly with the WiFi module used on the Hydrogen shield. As such John has already pointed you correctly to the Gainspan web site.

Many Shields communicate with the Arduino using the SPI interface/bus http://en.wikipedia.org/wiki/Serial_Peripheral_Interface_Bus.
Logged


Offline Offline
Newbie
*
Karma: 0
Posts: 9
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

By commands, as I already wrote in my first post, I mean syntax like structure, values and functions (similar to http://arduino.cc/en/Reference/HomePage ).
Is there any register like this for the Hydrogen?
I won't be able to program it without any knowledge of syntax or commands.
Or are syntax and commands what you mean by library?
In my library-folder is nothing but this data:
CHANGELOG, global.h, gs.cpp, gs.h, keywords.txt, README, socket.cpp, socket.h, WifiClient.cpp, WifiClient.h, WifiServer.cpp, WifiServer.h, Wirefree.cpp, Wirefree.h, (folder examples)
I can't open any of them except from the folder and the .txt - But it's not useful.
I just need an explanation of the commands.

I've nearly no experience in arduino-programming, so I'm sorry if my questions seem to be waste to you.
And I'm sorry for my english, I'm actually German.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 9
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hey guys,
I noticed that it was nonsense what I wrote. Sorry for that. Headroom wanted me to specify "commands". I actually mean functions.
In the examples I found functions like WifiClient client(server, "80", PROTO_TCP), Wireless.begin(&wireless_prof), client.stop(). And there are lots more than the ones I mentioned. I need an explanation for all these functions. What are they doing? Which parameters do they need?
I depend on your help.
Logged

Seattle, WA USA
Offline Offline
Brattain Member
*****
Karma: 548
Posts: 46029
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
In the examples I found functions like WifiClient client(server, "80", PROTO_TCP),
That is creating an instance of the WiFiClient class called client. I'd guess that the first argument is the server to connect to, the second is the port, though why the port would be a string is a mystery, and the third is a parameter to define what protocol to use.

Of course, you'd really need to look at the documentation for the mysterious WiFiClient class to know for sure.

Quote
Wireless.begin(&wireless_prof), client.stop(). And there are lots more than the ones I mentioned. I need an explanation for all these functions. What are they doing? Which parameters do they need?
See final paragraph above.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 9
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
Of course, you'd really need to look at the documentation for the mysterious WiFiClient class to know for sure.

But where is that documentation???
Logged

Gosport, UK
Offline Offline
Faraday Member
**
Karma: 19
Posts: 3114
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
But where is that documentation???
See reply #3.

Quote
But it is not specific for the Hydrogen, it's just general for WiFi-Devices, isn't it?
It's specific to the device used on the Hydrogen board.
« Last Edit: July 29, 2012, 09:58:12 am by dxw00d » Logged

Pages: [1]   Go Up
Jump to: