Clearone Writing StreamNet User Manual Page 11

  • Download
  • Add to my manuals
  • Print
  • Page
    / 72
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 10
3-1
All specifications subject to change without notification. All rights reserved. Copyright © 2007 NetStreams
Main +1 512.977-9393 / fax +1 512.977.9398 / Toll Free Technical Support +1 866-353-3496
3600 W. Parmer Lane, Suite 100; Austin, TX 78727 / www.netstreams.com.
Chapter
3
Handling Commands
The generation and processing of ASCII-formatted commands is central to the
interaction between various StreamNet devices and hence, the heart of a device driver
is how it receives and process ASCII commands. Figure 3-1 shows how the
StreamNet commands flow.
Figure 3-1 StreamNet command flow
As commands are received by the host StreamNet device, they are parsed to separate
out the various addressing fields, ASCII command, and command parameters. Once
the command is completely parsed, it is passed to the device driver for handling by the
appropriate Lua code. Refer to Figure 3-2 to see how commands are routed within the
driver.
User Presses GUI
Button
GUI code generates a
StreamNet ASCII
command and sends it
to the StreamNet device
StreamNet device
receives and parses
command and sends it to
the Lua driver
StreamNet command is
routed to the appropriate
section of the Lua driver
code
Page view 10
1 2 ... 6 7 8 9 10 11 12 13 14 15 16 ... 71 72

Comments to this Manuals

No comments