-
Notifications
You must be signed in to change notification settings - Fork 0
OSC interface
The primary interface for Ethernet to GPO and GPI to Ethernet is done through OSC. The basic syntax for sending and receiving OSC messages (actually, the device uses OSC bundles, more efficient when multiple commands are being sent) is:
/press/button/<bankNr>/<index>
You might recognize this format, it is exactly the same as the companion interface - that allows for some nifty interacting between the two.
Similar to a channel
, a way to set multiple devices on the same network apart. Be default the Bank number is 1. This could be any number, larger than zero and less that 65535. This number is checked again for incoming messages and is included in outgoing messages (so the same bankNr for in~ and output). Incoming messages with a different bank number will be ignored.
Set bank number in the web interface.
Hit the Save
button and changes will take effect immediately (no reboot needed).
Defaults to 12321, could be any number between 1024 and 65535. Set it through the web interface. A factory reset puts this number back to 12321.
An OSC message without an argument (/press/bank/1/1
) will close a contact and automatically open it again after the set time. This time by default 15 milliseconds. Set it through the web interface.
When an argument is provided (either 1 or 0), the contact is kept closed (1) or opened (0) permanently until another message is received.
When a contact is closed on the gpio 6i6o port, it generates an OSC message and sent to a host
on a port
.
Example: if contact 4 is closed, OSC bundle /press/bank/1/4
is sent to 192.168.0.100
on port 12321
.
By default, a OSC bundle is sent when contact closes, not when it opens again. This behaviour can be changed in the web interface, generating also a message when the contact opens again.