SimpleSerialPort allows you to communicate with any device via the serial interface. This includes also BLUETOOTH devices. (currently not tested on smartphones)
To establish a serial data connection with Unity is a little bit tricky. There are so many ways to fail and freeze the whole application if you are not doing it right.
This simple package will save you a lot of time and nerves.
Features:
- Works with Unity and Unity Pro
- Command interpreter with delegate to the desired method of your inherited class
- Create commands (scriptable objects) with one click in a new menu of the unity editor
- Thread safe serial reading and dispatching ( unity's api can be used in events )
- Connection handling ( OnConnection event, OnConnectionLost event, connection timeout in ms)
- Less than 5 minute to setup