Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in Station EUI if the MAC address contains zero (0) #197

Open
VictorDenisenko opened this issue Jun 28, 2024 · 2 comments
Open

Error in Station EUI if the MAC address contains zero (0) #197

VictorDenisenko opened this issue Jun 28, 2024 · 2 comments

Comments

@VictorDenisenko
Copy link

VictorDenisenko commented Jun 28, 2024

If Basic Station MAC address contains zero, then Basic Station cannot make EUI from it.
As for example, if Basic Station has MAC address
"ether b8:17:eb:f4:05:d4",
then Basic Station make EUI from MAC address like
"Station EUI : b817:ebff:fef4:5d4"
instead of
"Station EUI : b817:ebff:fef4:05d4",
i.e. the customer cannot use your device if its MAC address contains zero.

@beitler
Copy link
Contributor

beitler commented Jun 28, 2024

Hi @VictorDenisenko ,

omission of leading zeros is part of the id6 format spec. It is inspired by the IPv6 format of 128-bit addresses, just scaled down to 64-bit.

@VictorDenisenko
Copy link
Author

VictorDenisenko commented Jun 28, 2024

I have Dragino PG1302 and trying to connect it to TTN. To get Station EUI, I launch Basic Station and see Station EUI with omitted zero, this EUI contains 15 symbols instead of needed 16. I cannot use this EUI for registration in TTN and I cannot change it because it is formed from Raspberry Pi MAC and I cannot change MAC because I am not manufacturer. What I need to do in this case?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants