FlowStone UDP
FlowStone UDP is a Free app that allows you to use your iPad as a remote control for sending and receiving data via UDP over a network. It has been designed to work with applications created using FlowStone but it can be used with anything that transmits or receives via UDP.
The app provides a fixed set of controls comprising 4 sliders, 4 buttons, 4 switches and transport controls. For receiving data there are 4 level meters, 8 LEDs and a display for showing text.
All you need to do is specify the IP address and port you want to communicate on. Set up your server to communicate on the same address and port and you're up and running.
Communicating With The App
Communication is performed via a set of short message strings which you either receive or send. The format of these strings are described below.
Commands You Can Receive
Sn:xx - slider n (n=1,2,3 or 4) value xx (xx = 0-99)
SWn:x - switch n (n=1,2,3 or 4) value x (x=0 for off, x=1 for on)
Bn - button n (n=1,2,3 or 4) pressed
TR:HOME - home / reset to start
TR:RW - rewind
TR:PLAY - play
TR:FF - fast forward
Commands You Can Send
Mn:xx - set level meter n (n=1,2,3 or 4) to value xx (xx = 0-99)
LEDn:x - set LED n (n=1,2,3..8) to value x (x=0 for off, x=1 for on)
TXT:s - set the text display to text string s (up to 65 characters long)
Example Schematic
We've put together an example schematic to show you how FlowStone UDP can be used to communicate with FlowStone. This schematic allows you to send and receive data. Feel free to take elements from this schematic and use them in your own creations.