How to get acknowledgement when sending message?
-
@bucknall Looking forward to your response.
By the way, where I could find the sources of the API? Tried to find sources for sigfox and socket classes, but unsuccessfuly.Thanks!
-
@josua What do you mean by sources? This is the link to the Sigfox Class if that helps? https://docs.pycom.io/pycom_esp32/library/network.Sigfox.html?highlight=sigfox
Also, I tried it with two of my SiPys... oddly one of them worked and the other failed so I'm trying to pinpoint what is going on!
Should have an answer for you this afternoon!
-
@bucknall By sources I mean source code. For example source code of the socket or sigfox classes. Maybe I don't have the clear understanding of how it all works. But I think there are somewhere definition of those classes with their methods? Am I right?
Looking forward to hear the results of your investigation.
Thank you! -
@josua we're currently working to push all of our source code up to GitHub and this includes the Sigfox classes. This should be coming in the next couple of weeks. Daniel will make an announcement when this takes places!
I'm just testing it now!
-
Hi @josua I think I know what your problem might be! What country are you trying to use your device in and also which version of the SiPy do you have? The 14dBm or the 22dBm?
-
@bucknall I am in Czech Republic and the model is Sipy 1.0 (14) which I think is 14dBm.
-
@josua Hmm ok possibly not what I thought! Do you know that you definitely have Sigfox Coverage where you are located?
-
@bucknall According to the sigfox coverage map there are 3 base stations and more.
-
@josua Ok! Quick question, I know it sounds a little bit silly but which connector do you have the antenna plugged into?
-
@bucknall
Yes, it works now.
I just tried to use it (to send msg) out of the building and it works.. Fill my self silly as I didn't try to do it earlier..
I really appreciate your help. Your team is great! Thank you! -
No problem @josua! I'm glad you got it up and running! :) I had an interesting discovery about using the 22 dBm SiPy in RCZ1 along the way so we all learnt something today!
Best of luck with your project! :)
-
similar problem.
this:
sigfox = Sigfox(mode=Sigfox.SIGFOX, rcz=Sigfox.RCZ1) s = socket.socket(socket.AF_SIGFOX, socket.SOCK_RAW) s.setblocking(True) s.setsockopt(socket.SOL_SIGFOX, socket.SO_RX, True) s.send(bytes([0x00, scale(lux.light()[0]), 3, 4, 5, 6, 7, 8, 9, 10, 0xAA, 0xFF])) retval = s.recv(32) print ("received " + retval)gives me:
Traceback (most recent call last): File "<stdin>", line 164, in <module> OSError: [Errno 100] ENETDOWNwhilst the backend shows me:
Status : [ACKED] Data (Hexa) : cafecafecafecafeany idea what i'm missing here?
It's definitively not the link - sender and receiver have free LOS.avgSnr=20.74
rssi=-52.00Used HW: FiPy on '1.17.5.b6'
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