Welcome - On most community forums it is good practice to do some searching first, since you are probably not the first person to have had an issue, so If you click the search button (top right) and enter the following
and select the first one
i’m trying to send UDP packet through Argon. but for some reason there are not packets received. However, I tried the same code on Photon hardware and the code working fine.
if you can help me with that. below code for your reference.
UDP Udp;
char myIpAddress[24];
uint8_t server[] = { 192, 168, 23, 12}; // ip address of my phone
IPAddress IPfromBytes( server );
unsigned int localPort = 33334;
int led1 = D7;
int counter=0;
uint32_t timer;
void setup() {
publish("tripStatus") ]
pinMode(le…
There is a great discussion that will help you. Then post some code if you get stuck and there will be many folks who will be happy to help...
2 Likes