Recover Sigfox credentials



  • Dear all,

    it looks like (at least) the Mac firmware updater does not restore the Sigfox Certs and MAC address - they don't exist in the filesystem.
    Is there any possibility to recover them?



  • @jmarcelino thanks - maybe I was a bit unclear: I DO see ID and PAC but I thought that ID, PAC and MAC (or is the MAC address the same as the PAC?) would be visible via FTP in /flash/, for the MAC I thought it would be in /flash/sys/lpwan.mac, but after upgrading the firmware, all of the folders are empty



  • The updater does keep them, you should get a screen like this at the end of the update:

    0_1509695323062_Screen Shot 2017-05-18 at 18.23.06.png

    they don't exist in the filesystem

    Can you explain what you're trying to do? The credentials aren't usually accessible as a file.

    Does this code show you the ID and PAC?

    from network import Sigfox
    import binascii
    
    # initalise 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()))
    

Log in to reply
 

Pycom on Twitter