1.0 KiB
1.0 KiB
AISU 830T Basic Sample
The Basic Sample provides a complete Unity UI for Windows reader integration: COM-port selection, connection state, card information, and error logs.
Import
- Install
xin.aisu.card-reader-830tthrough Unity Package Manager. - Open the package details and import Basic from Samples.
- Open the imported
Scenes/CardReaderSample.unityscene.
Select a COM port and connect
- Run the project on Windows in the Unity Editor or a Windows Standalone build.
- Click Refresh to scan the available COM ports.
- Select the COM port connected to the AISU 830T reader.
- Confirm the UART settings in the scene's
CardReaderManager.SerialOptions. - Click Open.
Present a card
After the reader connects, present a card. The UI displays CardType, CardTypeCode, and the decimal CardNumber when the reader reports card data.
Disconnect
Click Close to close the connection and stop automatic reconnect. The Manager also releases serial resources when the scene or application is destroyed.