Forum Replies Created
-
AuthorPosts
-
The last codeline of the receiver has to be deleted:
client.disconnect()
My fault.
But the receiver did not receive anything.
8 January 2024 at 18:41 in reply to: Send LoRa message from Arduino C env to MicroPython with Raspberry Pi Pico #29087Hi Renzo,
Thank you very much.Sometimes i can’t see the wood for the trees (German proverb).
So thank you very much.
best regards
WotoI have now implemented the setting of the set_channel property in the library:
def set_channel(self, CHAN = 23): self.CHAN = CHAN
In the programme I then added two lines of code after lora.getconfiguration:
code, configuration = lora.get_configuration() configuration.set_channel(18) code, configuration = lora.set_configuration(configuration)
Now it works.
best regards
WotoThe answer from program is:
Initialization: {} Success
Retrieve configuration: {} Success
—————————————-
HEAD : 0xc1 0x0 0x8AddH : 0x0
AddL : 0x0Chan : 23 -> 873
SpeedParityBit : 0b0 -> 8N1 (Default)
SpeedUARTDatte : 0b11 -> 9600bps (default)
SpeedAirDataRate : 0b10 -> 2.4kbps (default)OptionSubPacketSett: 0b0 -> 200bytes (default)
OptionTranPower : 0b0 -> 22dBm (Default)
OptionRSSIAmbientNo: 0b0 -> Disabled (default)TransModeWORPeriod : 0b11 -> 2000ms (default)
TransModeEnableLBT : 0b0 -> Disabled (default)
TransModeEnableRSSI: 0b0 -> Disabled (default)
TransModeFixedTrans: 0b0 -> Transparent transmission (default)
—————————————-Here you can see, the Chan-Value is 23, but i have changed it to 18 in line 165 of lora_e220.py.
It works.
But now I want to transmit at 868MHz instead of 873MHz. Where can I set this?
Best regards,
Woto
-
AuthorPosts