LoPy DevEUI set to 0000000000000000
-
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 -
Have you performed any firmware updates, or tried to flash your own firmware?
-
@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 -
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())) -
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 -
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é
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