gateway/README.md

419 B

Dependencies

  • protobuf-compiler
  • python-sqlite

Generate files from .proto file

protoc -I=./ --python_out=./ message.proto

Make the config.ini file

Following this format create a config.ini file.


[Default]
AppId=<redacted>
AccessKey=ttn-account-v2.<redacted>

Run the Gateway

After generating the protobuf files and making a config.ini file one can simply run:

python3 main.py