mirror of
https://github.com/sascha-hemi/pycom-documentation.git
synced 2026-03-21 07:06:20 +01:00
Merge pull request #242 from pycom/peter-pycom-patch-1
Sigfox: print received message
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user