Merge pull request #242 from pycom/peter-pycom-patch-1

Sigfox: print received message
This commit is contained in:
peter-pycom
2020-03-18 09:29:45 +01:00
committed by GitHub

View File

@@ -252,7 +252,8 @@ s.setsockopt(socket.SOL_SIGFOX, socket.SO_RX, True)
s.send(bytes([1, 2, 3]))
# await DOWNLINK message
s.recv(32)
r = s.recv(32)
print(ubinascii.hexlify(r))
```
## Sigfox FSK (Device to Device)