Skip to content

Commit

Permalink
size of packetBuffer declared to [255]
Browse files Browse the repository at this point in the history
We have to just increase the size of packetBuffer declared to [256] so that on line 83 no error occur
  • Loading branch information
thekunalsaini authored and Rocketct committed Feb 28, 2020
1 parent 13306fd commit 56c4cb9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ int keyIndex = 0; // your network key Index number (needed only for W

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

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

WiFiUDP Udp;
Expand Down

0 comments on commit 56c4cb9

Please sign in to comment.