Class: udp

udp

Methods

(static) send(url, payload, timeout, secure) → {Number}

Transmit UDP datagram
Parameters:
Name Type Description
url String remote url including the port number
payload String Payload String
timeout Number MS
secure Boolean Enable AES256 End to End Encryption
Returns:
Response Error Code, 0=No Error
Type
Number
Example
udp.send("http://192.168.5.159:2115","Hello from Q5");