Skip to content

Commit a336294

Browse files
authored
Sigfox: print received message
1 parent 57bd453 commit a336294

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

content/firmwareapi/pycom/network/sigfox.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,8 @@ s.setsockopt(socket.SOL_SIGFOX, socket.SO_RX, True)
252252
s.send(bytes([1, 2, 3]))
253253

254254
# await DOWNLINK message
255-
s.recv(32)
255+
r = s.recv(32)
256+
print(ubinascii.hexlify(r))
256257
```
257258

258259
## Sigfox FSK (Device to Device)

0 commit comments

Comments
 (0)