XBee Gateway Python application configuration file

You can configure some of the XBee Gateway Python application features using a configuration file. This configuration file is placed at the same level as the application itself within the file system and its content is written in JSON format. The file has the following structure:

{
     category 1: {
          setting 1: value 1
          setting 2: value 2
          ...
          setting n: value n
    }
     category 2: {
          setting 1: value 1
          setting 2: value 2
          ...
         setting n: value n

     ...
     category n: {
          setting 1: value 1
          setting 2: value 2
          ...
          setting n: value n
    }
}

The first level of the settings structure in this configuration file is the name of the category to which the settings contained inside belongs. The second level of the structure is the list of settings contained in the category.

The contents of this configuration file are:

{
     "devicecloud": {
          "encode serial": true
     }
}

The XBee Gateway Python application provides the following category, with one configurable setting: