Skip to content

Commit 56c4cb9

Browse files
thekunalsainiRocketct
authored andcommitted
size of packetBuffer declared to [255]
We have to just increase the size of packetBuffer declared to [256] so that on line 83 no error occur
1 parent 13306fd commit 56c4cb9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/WiFiUdpSendReceiveString/WiFiUdpSendReceiveString.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ int keyIndex = 0; // your network key Index number (needed only for W
2424

2525
unsigned int localPort = 2390; // local port to listen on
2626

27-
char packetBuffer[255]; //buffer to hold incoming packet
27+
char packetBuffer[256]; //buffer to hold incoming packet
2828
char ReplyBuffer[] = "acknowledged"; // a string to send back
2929

3030
WiFiUDP Udp;

0 commit comments

Comments
 (0)