Allowed values for dev_id?

Hi there,

Is there a documentation for the API that explains what values are allowed?
E.g. I need to know how to generate IDs for “dev_id”

Thank you,
Christoph

If TTN Console counts as documentation:

TTN Console

Device ID must contain at least 2 characters

TTN Console

Device ID cannot be longer than 36 characters

TTN Console

Device ID can only exist of lowercase alphanumeric characters, nonconsecutive - and _ and it cannot start or end with a - or a _

For applications, underscores are troublesome. Maybe avoid those for devices as well:

https://www.thethingsnetwork.org/forum/t/cannot-get-data-from-data-integrations-underscores-in-application-name/24638

1 Like

Thank you, I didn’t have this great idea :slight_smile:
In this case a UUID should be fine, that’s nice.

Thanks!

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.