AF_LORAWAN
-
I don't seem to have socket modules AF_LORAWAN, is this available in another firmware release?
s = socket.socket(socket.AF_LORAWAN, socket.SOCK_RAW)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: 'module' object has no attribute 'AF_LORAWAN'
s = socket.socket(socket.
name socket getaddrinfo error
timeout AF_INET AF_LORA SOCK_STREAM
SOCK_DGRAM SOCK_RAW IPPROTO_TCP IPPROTO_UDP
PROTO_LORA PROTO_LORAWAN SOL_SOCKET SOL_LORA
SO_REUSEADDR SO_CONFIRMED
s = socket.socket(socket.thanks
mctouch
-
Hi mctouch,
Sorry, there was a typo in the example, LoRaWAN sockets are also created with:
s = socket.socket(socket.AF_LORA, socket.SOCK_RAW)The example in the docs should be correct now.
Cheers,
Daniel
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login