WFS210 and telnet

Hi, trying to send / receive data to WFS210 via wireless network on Linux.
I can see “HELLO” when I telnet to 169.254.1.1:2000, and I have downloaded the protocol doc.

Lets say I want to get the current wifi settings from the unit.
‘\x02\x0A\x00\x00\xFE\x0A’ is the reqd. command as far I can figure out, but I doubt that the format of the string is correct.

Can anyone tell me what to type into telnet to be able to send this command in the correct format?
Thanks

EDIT:
I tried printf ‘\x02\x0A\x00\x00\xF3\x0A’ | netcat 169.254.1.1 2000
and I get HELLO

<0> <0>

so it should be

0x02 0x0A 0x08 0x00 0x00 0x00 (checksum) 0x0A

you’re forgetting to send the the data length

Thanks, I missed that :slight_smile:

More questions,
if I send status request to the scope, should it reply right away or do I need to send another command to access the data?

What exactly does “HELLO” mean? Is it just feedback to say that last command was not understood? Can it mean anything else?

If I send ‘sample data request’ does the scope expect the next command to be Receive scope sample data?

Thanks

We don’t know why the wifi module sends the HELLO command but you can ignore that.
I think we are looking for it so we know the connection is working

You can find the source code of the iOS app (written in c#) on out github => github.com/Velleman/iWFS210

For the data

Service.RequestSettings ();
Service.RequestWifiSettings ();
Service.RequestSamples ();

After RequestSamples the scope will just spit out data so just keep reading the connection and parse the incoming data.