Skip to content

Commit b70882a

Browse files
authored
Merge pull request #242 from pycom/peter-pycom-patch-1
Sigfox: print received message
2 parents 57bd453 + a336294 commit b70882a

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)