Skip to content

Commit ef1dacb

Browse files
committed
bluetooth: read_message: debug remaining data bytes
1 parent 9edb93a commit ef1dacb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/bluetooth.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,7 @@ async fn read_message(stream: &mut Stream, id: MessageId) -> Result<usize> {
263263
if len > 0 {
264264
let mut buf = vec![0; len];
265265
let n = stream.read_exact(&mut buf).await?;
266+
debug!("remaining {} bytes: {:02X?}", n, buf);
266267

267268
// analyzing WifiConnectStatus
268269
// this is a frame where phone cannot connect to WiFi:

0 commit comments

Comments
 (0)