In the Hub, when booting the LoRa device parameters are set. By default the LoRa is given the device address of the Hub.
With this change, grounding D0 will cause the LoRa device to be initialized with a device address between 1 and 10 so that the LoRa module can be used in a sensor. This is useful for using the Hub to change LoRa settings for testing.
If D0 is left ungrounded or unconnected then there is no change to previous behavior and the LoRa module will be given the Hub address (as defined in the code with a constant).
In the Hub, when booting the LoRa device parameters are set. By default the LoRa is given the device address of the Hub.
With this change, grounding D0 will cause the LoRa device to be initialized with a device address between 1 and 10 so that the LoRa module can be used in a sensor. This is useful for using the Hub to change LoRa settings for testing.
If D0 is left ungrounded or unconnected then there is no change to previous behavior and the LoRa module will be given the Hub address (as defined in the code with a constant).