The Asynchronous Serial Interface (ASI) allows Lua authors to interact with the serial ports available on the system where the script is running. The ASI allows, through a serial interface, to perform input and output operations. The ASI is designed to be simple and easy to use within TI-Nspire.
Scripts are able to scan ports available in the system and connect to them. One script can be connected to multiple ports. One port can be connected only to one script. Multiple scripts can be connected to multiple ports within the same document. If more than one script needs to be connected to the same port, it is possible to disconnect from one script and then connect from the other script; for instance, by leveraging on.loseFocus() and on.getFocus() event handlers.