You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error in class Transmission Power. In def get_transmission_power(self), we will always get into if self.transmission_power == self.transmission_power. That is, there will always be Transmission Power 22. Yes?
The text was updated successfully, but these errors were encountered:
#file lora_e220_constants.py - from line 303
def get_transmission_power(self):
if self.transmission_power == 22:
return TransmissionPower22
elif self.transmission_power == 30:
return TransmissionPower30
else:
return "Invalid transmission power param"
Also, remember that when using the commands to directly set the transmission power:
configuration_to_set.OPTION.transmissionPower = TransmissionPower22.POWER_xy
or
configuration_to_set.OPTION.transmissionPower = TransmissionPower30.POWER_xy
you should import the respective class using:
from lora_e220_constants import TransmissionPower22, TransmissionPower30
Error in class Transmission Power. In def get_transmission_power(self), we will always get into if self.transmission_power == self.transmission_power. That is, there will always be Transmission Power 22. Yes?
The text was updated successfully, but these errors were encountered: