Driver AUTMOTE
Introduction
- Is a library implemented in .NET that allows your program to interact with AutMote or Autmote_Emulator using C#.
- You can use for free only for non-commercial use. If you want a commercial use, please contact for more information.
Available functions:
int Initiate(UInt16 portDevices, String IPMulticast, UInt16 portMulticast, String serviceName): Starts the driver. The driver needs to be initiated before call any other method.
int Initiate(UInt16 portDevices, String IPMulticast, UInt16 portMulticast, String serviceName): Starts the driver. The driver needs to be initiated before call any other method.
- portDevices : Port where device connections will be accepted. AutMote works on port 55600.
- IPMulticast : Multicast group IP. AutMote joins the group "239.255.239.70".
- portMulticast : Multicast port. AutMote works on port 55600.
- serviceName : Name for this service. Repeated names will not be allowed in the same network.
- Returns 0 if the driver is successfully initiated, and greater than 0 if the initialization fails.
- Returns 0 if the driver is successfully stopped, else greater than 0.
- Returns a string with the driver name and version.
- Return 0 if the operation successfully ended, and returns greater than 0 if it fails.
- code : User code.
- key : Function received.
- Return 0 if the operation successfully ended, and returns greater than 0 if it fails.
- codeList : List with user codes.
- keyList : List with the functions.
- Return 0 if the operation successfully ended, and returns greater than 0 if it fails.
- code : User code.
- key : User PIN code.
- language : Buttons language.
- numFunctions : Number of assigned functions.
- Return 0 if the operation successfully ended, and returns greater than 0 if it fails.
- connectedList : User list.
- Return 0 if the operation successfully ended, and returns greater than 0 if it fails.
- language : Language ID.
- key : Word key. "00" for back button. "01" for the main button. "02" for the disconnection string.
- word : Word in the selected language.
- Return 0 if the operation successfully ended, and returns greater than 0 if it fails.
- message : Message to send.
- Return 0 if the operation successfully ended, and returns greater than 0 if it fails.
- Return 0 if the operation successfully ended, and returns greater than 0 if it fails.
- exceptions : List with user codes that his private message will NOT be cleared.
- Return 0 if the operation successfully ended, and returns greater than 0 if it fails.
- user : Recipient user code.
- data : Message to send.
- Return 0 if the operation successfully ended, and returns greater than 0 if it fails.
- user : Recipient user code.
- data : Message to send.
- sound : Sound that will be reproduced when the message is received. 0 = no sound. 1-10 = default sounds.
- Return 0 if the operation successfully ended, and returns greater than 0 if it fails.
- user : Recipient user code.
- sound : Sound that will be reproduced when the message is received. 0 = no sound. 1-10 = default sounds.
- Return 0 if the operation successfully ended, and returns greater than 0 if it fails.
- user : Recipient user code.
- sound : Sound that will be reproduced when the message is received. 0 = no sound. 1-10 = default sounds.
- Return 0 if the operation successfully ended, and returns greater than 0 if it fails.
- user : Recipient user code.
- buttonKey : ID button ("00" = Back button, "01" = Main button)
- buttonColor : Button color (1=White, 2=Black, 3=Red, 4=Green, 5=Blue).
- textColor : Text color in 6-digit RGB format (ej. Red="FF0000").
- state : State for the color (1=Pressed, 2=Normal).
- sound : Sound that will be reproduced when the message is received. 0 = no sound. 1-10 = default sounds.
- Return 0 if the operation successfully ended, and returns greater than 0 if it fails.
- buttonKey : ID button ("00" = Back button, "01" = Main button)
- buttonColor : Button color (1=White, 2=Black, 3=Red, 4=Green, 5=Blue).
- textColor : Text color in 6-digit RGB format (ej. Red="FF0000").
- state : State for the color (1=Pressed, 2=Normal).
- sound : Sound that will be reproduced when the message is received. 0 = no sound. 1-10 = default sounds.
- Return 0 if the operation successfully ended, and returns greater than 0 if it fails.
- buttonSounds : Hashtable with pairs (IdButton,sound).
- Buttons: "00" = Back button, "01" = Main button, "02" = Disconnected text.
- Sounds: 0 = no sound, 1-10 = default sounds.
Sample project:
- A sample project is available for download with the basic functions.