VPN DEVICES Devices equipped with SIM cards provided by Contrive communicate with the server and with each other within a VPN. Each of these devices is assigned an IP address to which any other device can send messages and commands directly with the AT#UDP command, specifying the destination port 2020. Example: AT#UDP=100.125.251.107,2020,"0000 out1=1" The text of the last message received is contained in parameter S17. The commands are executed only if the password of the device to be controlled is present at the beginning of the message.
When setting variables remotely, it is possible to insert single or concatenated tags (spaces are not allowed). Example: AT#UDP=100.125.251.107,2020,"0000 VB2=$D14$D15" In the same message there can be more commands and also free text. Example: AT#UDP=100.125.251.107,2020,"0000 AT#LOG='UDP from $D01' out1=1,3 mem1=1 varY=8 hello" If the device at address 100.125.251.107 is reachable, it will immediately receive the message:
|