Skip to content

Commit 0e60215

Browse files
committed
dbg: outbound bytes
1 parent 5b707dc commit 0e60215

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/decoder.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,13 @@ class RpcDecoder {
176176
// This is a blocking send, under the assumption _transport.write will always succeed eventually
177177
inline size_t send(const uint8_t* data, const size_t size) {
178178

179+
Serial.print("-- DECODER send -- : ");
180+
for (size_t j=0; j<size; j++) {
181+
Serial.print(data[j], HEX);
182+
Serial.print(" ");
183+
}
184+
Serial.println(" ");
185+
179186
size_t offset = 0;
180187

181188
while (offset < size) {

0 commit comments

Comments
 (0)