B4R Question B4R UDP with Macrodroid

ALEX BISSARO PITTA

Member
Licensed User
Hello,

I have been using the code below to send UDP packets from B4A to B4R and works fine.

Packet.Initialize(ser.ConvertArrayToBytes(Array("CENARIO1",1,2,3,4,5,6,7,8,9)),deviceIp1,devicePort)
UDPSocket1.Send(Packet)

How can I simply send the same code as above " "CENARIO1",1,2,3,4,5,6,7,8,9 " by means of Macrodroid?
Macrodroid x B4A
*Destination: deviceIp1
* Port: devicePort
* Message text: "CENARIO1",1,2,3,4,5,6,7,8,9 * how to convert the same statements to hex in a way other side (B4R) will understand?


Macrodroid UDP.jpg
e
 
Top