SigFox Error
-
Hi
When I run any Code from the sigfox lib i get error messages. i cant even read out the id. I always get something like this.
Just plugged in the Sypy after joning it with pyMate. Which by the way also cant connect to it.
Ftp give me directory error an different clients ?????>>> from network import Sigfox >>> import binascii >>> sigfox = Sigfox(mode=Sigfox.SIGFOX, rcz=Sigfox.RCZ1) Traceback (most recent call last): File "<stdin>", line 1, in <module> OSError: the requested operation failed >>>
-
@jmarcelino There u go the WIFI Autoconnect was still on !!!!! Now it works. Thank you guys !!!!!!!
-
@saprize Check this:
@rskoniec said in Firmware upgrade Serial port to use unavailable:
@Migueloribe Did you look here? https://forum.pycom.io/topic/763/firmware-upgrade-troubleshooting-checklist-procedure
Do you see any change in a Device Manager when you're connecting/unconnecting USB cable with Expansion Board?
What version of Windows are you using?
-
@michal.zykov got to wait 600 sec. till ich can post again....
-
-
@saprize
Did you reset/power cycle the board after connecting GND-23?Have you closed other apps accessing the port, e.g Pymakr?
-
-
There ist no Log or no futher info anywhere its just states ![0_1489673278628_Unbenannt.PNG](Uploading 100%) this.
![0_1489673676801_Unbenannt.jpg](Uploading 100%)
-
Hi @saprize,
Based on your information there are two issues.
Issue No .1
Sigfox library does not work properly because of your obsolete firmware.Solution: Upgrade firmware to the most recent one.
Issue No. 2
You are not able to upgrade your firmware. OK - can we get any details? What is the error message? Can you take a print-screen?Mike
-
This makes no sence. Ich can connect via Serialport. But when ich do the 23 to G thing an run the Updater it always fails. This cant be an Connection issue. pymkr works fine user my CP21xx serial device. ??
-
@saprize
You're running very old firmware when Sigfox wasn't even activated. Update your board first by following the "Firmware Update" links at https://www.pycom.io/resources/
-
Hi @saprize,
As I mentioned, this seems to be firmware issue. Check this out:
So, you should upgrade firmware to the most recent one to get your SiPy to the fully functional state.
Mike
-
when i run this code in the main
main.py -- put your code here!
from network import Sigfox
import binasciiinitalise Sigfox for RCZ1 (You may need a different RCZ Region)
sigfox = Sigfox(mode=Sigfox.SIGFOX, rcz=Sigfox.RCZ1)
print Sigfox Device ID
print(binascii.hexlify(sigfox.id()))
print Sigfox PAC number
print(binascii.hexlify(sigfox.pac()))
i get this:
Traceback (most recent call last):
File "main.py", line 9, in <module>
AttributeError: 'Sigfox' object has no attribute 'id'
MicroPython 4fb4f54 on 2016-12-15; SiPy with ESP32
Type "help()" for more information.
-
Hi @saprize,
IMHO this is definitely firmware issue. You should upgrade to the most recent one.
Is there anybody out there who could confirm it?
Mike
-
os.uname()
(sysname='SiPy', nodename='SiPy', release='1.0.0.b1', version='4fb4f54 on 2016-12-15', machine='SiPy with ESP32')I Cant get the Update to work. i only have a CP21xx Serial to USB converter und no exp Board. and the update always fails
-
Hi @saprize,
Have you upgraded firmware to the most recent one? Can we get an output from os.uname()?
Mike