Welcome to the Pycom forum Forum
    • \[\[global:header.categories\]\]
    • \[\[global:header.recent\]\]
    • \[\[global:header.tags\]\]
    • \[\[global:header.popular\]\]
    • Login

    Explore Pybytes | Official Documentation | Report a Firmware Bug/Issue | GitHub

    LoPy DevEUI set to 0000000000000000

    Scheduled Pinned Locked Moved Issues & Bugs
    lopyloramacnetworklopy4
    6 Posts 4 Posters 1.5k Views 4 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • G Offline
      Guizmolux
      last edited by

      Hello,

      The first time I got the LoPy DevEUI (dev_eui = binascii.hexlify(network.LoRa().mac())), it was a normal DevEUI type (70b3d549XXXXXXXX). A day after, it was 00000000000000.

      What could have occured to erase the hardcoded DevEUI of the LoPy?

      Thanks,
      Guizmo

      1 Reply Last reply Reply Quote 0
      • sebS Offline
        seb
        last edited by

        Have you performed any firmware updates, or tried to flash your own firmware?

        G 1 Reply Last reply Reply Quote 0
        • G Offline
          Guizmolux @seb
          last edited by

          @seb
          I used the Firmware update tool (last version) before loading any code on the board
          I also flashed the board with the mkfs command

          1 Reply Last reply Reply Quote 0
          • sebS Offline
            seb
            last edited by

            Could you please email me your wifi mac address to sebastian@pycom.io. You can get this by running:

            from network import WLAN
            import binascii
            print(binascii.hexlify(WLAN().mac()))
            
            1 Reply Last reply Reply Quote 0
            • D Offline
              danielm
              last edited by

              I am using following script to set arbitrary DevEUI:

              fo = open("/flash/sys/lpwan.mac", "wb")
              mac_write=binascii.unhexlify("b44b2bdfea11fdb9")
              fo.write(mac_write)
              fo.close()
              

              Then reboot the device.
              "b44b2bdfea11fdb9" is an example of arbitrary DevEUI

              1 Reply Last reply Reply Quote 0
              • A Offline
                andrethemac
                last edited by

                I have the same problem after upgrading to release='1.16.0.b1', version='v1.8.6-849-055728a on 2018-02-13'
                now I have to do a wlan init (and wlan deinit) to get the mac address
                firmware bug?
                tnx
                André

                1 Reply Last reply Reply Quote 0

                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
                • 1 / 1
                • First post
                  Last post

                Pycom on Twitter

                Pycom