File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -140,6 +140,10 @@ void loop()
140
140
tc6_inst->beginPacket (UDP_SERVER_IP_ADDR, UDP_SERVER_PORT);
141
141
tc6_inst->write (udp_tx_msg_buf, tx_packet_size);
142
142
tc6_inst->endPacket ();
143
+
144
+ Serial.print (" UDP_Client sending: \" " );
145
+ Serial.print (reinterpret_cast <char *>(udp_rx_msg_buf));
146
+ Serial.println (" \" " );
143
147
}
144
148
145
149
/* Check for incoming UDP packets. */
@@ -159,7 +163,7 @@ void loop()
159
163
if (bytes_read > 0 ) {
160
164
udp_rx_msg_buf[bytes_read] = 0 ;
161
165
}
162
- Serial.print (" UDP packet content: \" " );
166
+ Serial.print (" UDP_Client received packet content: \" " );
163
167
Serial.print (reinterpret_cast <char *>(udp_rx_msg_buf));
164
168
Serial.println (" \" " );
165
169
}
Original file line number Diff line number Diff line change @@ -149,7 +149,7 @@ void loop()
149
149
if (bytes_read > 0 ) {
150
150
udp_rx_msg_buf[bytes_read] = 0 ;
151
151
}
152
- Serial.print (" UDP packet content: \" " );
152
+ Serial.print (" UDP_Server received packet content: \" " );
153
153
Serial.print (reinterpret_cast <char *>(udp_rx_msg_buf));
154
154
Serial.println (" \" " );
155
155
You can’t perform that action at this time.
0 commit comments