Simultaneous connections
-
Hi All
I have the same question,
Is it possible to maintain two (or more) active connections at the same time? And is it then possible to service these different connections with independent (non-blocking) threads?For example; is it possible to send LORA packets on the first thread, and use the second thread to connect to a WIFI network and send data over it?
Thanks
-
@Tamaga I tried receiving data on LoPy4 over WiFi and then sending them to another LoPy4 over LoRa and it worked just fine. I recommend having 2 separate threads - one for receiving and one for sending, although if it is slow data (say one per second) then you can just have it all in one big while loop sequentially...
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