I am creating some Python scripts to configure tenant, user, gateways, devices… So far, so good. Thanks to brocaar for his work.
There is one thing that I did not find in the documentation. To create a device profile, there are some constants e.g., for the region, the MAC version, etc. I did not find how to include them in Python. So, I am using directly the values from https://github.com/chirpstack/chirpstack/blob/master/api/proto/common/common.proto. For example:
Python 3.10.13 (main, Aug 24 2023, 12:59:26) [GCC 12.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from chirpstack_api import common
>>> help(common)