I have a device that is controlled by sending 4 byte hex strings with
the first 2 bytes as the command and the second 2 bytes as the length
of the command plus the length bytes.
Example - to scan for this device on the network, you issue to a
specific port via UDP a 6EA70004 where the 6EA7 is the command and the
0004 is the length in bytes of the command plus length bytes.
The device returns the command - 6EA7 and the total length of the
returned data.
For the command 6EA7 the first 4 bytes of the string is 6EA70060 and
the remaining bytes are the IP address of the device and other product
information.
There are no line terminators. All commands are 2 bytes and all
lengths sent and returned are 2 bytes. The returned data will vary
based on the command issued.
Question 1 - I'm at a loss on how to convert the returned data into
information to display and reuse - i.e. Command 6EA7 returns the IP
address of the device in hex as bytes 5 thru 8. It actually returns
quite a bit more data than that but this is the current hurdle.
C0A80102 works out to 192.168 1 2 which happens to be the IP of the
device on my network.
I'd like to dynamically use the returned IP in other commands as well
as display it on the iPhone, or at some point, an iPad.
Question 2 - Because this device is a cue based device, many of these
commands return the current Show name, list, path and cue as the
result of an inquiry - in hex - that would need to be converted to
something humans can read and used to populate lists.
Are these tasks possible with the current release of GuiDesigner or
possible in the near future with another release?
Or, have you a product available that would be a better fit?
Thank you very much for any insight.
Carl Underwood
--
You received this message because you are subscribed to the Google Groups "CommandFusion" group.
To post to this group, send email to commandfusion@googlegroups.com.
To unsubscribe from this group, send email to commandfusion+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/commandfusion?hl=en.
Comments
0 comments to "2 questions - on feedback received from a device"
Post a Comment