Function lora.ischannel_free(-100) get error
Does this function check the channel of the last transmission?
TypeError: function takes 3 positional arguments but 2 were given
Pycom MicroPython 1.20.2.rc6 [v1.11-01f49f7] on 2020-02-28; LoPy4 with ESP32
Pybytes Version: 1.3.1
@fernandes-son It uses
self->frequencywhich is the same value as that returned by the
self->frequencyshould be the same as
Going very very quickly through the code it seems to be this would be more likely to be the frequency data was/is going to be sent on, but the
lora_objmay be passed to other parts of the code.
It should be easy to test, though, just call
lora.frequencyto see what it returns in various scenarios. Don't have a LoPy at hand to test this here at the moment.
@jcaron Can you confirm if the return is based on the last packet received from the GW or not?
@fernandes-son another case of wrong documentation... the function requires a second argument which seems to be the time (in ms) the measurement has to be made.