5,710
edits
Changes
→OSC Addressing
*Node Addresses: 192.168.3.1 - 192.168.3.21
*Server/Controller Address: 192.168.3.100
=OSC AddressingMessaging=The bullroarer nodes use Open Sound Control to communicate with the host computer. You can find an introduction to Open Sound Control [[http://opensoundcontrol.org/introduction-osc here]]. The OSC messages are addressed differently to each node. They start with a base address of ''/br/'' followed by the node's number, 1-21.
*''/br/1/limit'', integer, 0 or 1.
**State of limit switch.
**Second value is max range, 0 - 1024. This is a threshold value for the lower limit of bullroarer travel. When in auto mode, a sensor reading larger than this value will trigger the relay to turn the motor back on and raise the bullroarer.
**Third value is cycle timeout, 0 - max long int. Sets the amount of time the bullroarer waits at bottom before starting motor, the "rest time". Only works when in auto mode.
==Receiving==
They can receive 6 messages:
*''/br/1/relay'', integer (0 or 1).