Subject: Port for UDP packages
Incident ID#: 2070Incident Properties
Product:
SmartSDK
Category:
Development
How would you categorize this Development request?:
Sample Code
Question
Incident Question:
Hi,
Is there any Port that is opened by default in the device, to send packages via UDP or any settings were are able to open a Port for that or even to enable the sending of UDP packages?
We used te example below, but the only Port that worked was the 161, but we can't use this one as it's already being used for the SNMP services.
Sedning Broadcast using UDP
PUT http://gw.machine.address:54080/rws/udp/transmission HTTP/1.1
Host: gw.machine.address:54080
Authorization: Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ
{
"sendMethod": "broadcast",
"data": "xxxxxxxxxxxxxxxxxxxxxxxxx",
"ip": "255.255.255.255",
"port": 9999
}
We're currently using the SDK v2.3.1.
Thank you,
Guilherme