Forum Replies Created

Viewing 5 posts - 16 through 20 (of 20 total)
  • Author
    Posts
  • in reply to: E220-900T22D Send and Receive not working #29210
    woto
    Participant

      The last codeline of the receiver has to be deleted:

      client.disconnect()

      My fault.

      But the receiver did not receive anything.

      woto
      Participant

        Hi Renzo,
        Thank you very much.

        Sometimes i can’t see the wood for the trees (German proverb).

        So thank you very much.

        best regards
        Woto

        in reply to: Data size no match with Raspberry Pi pico #29072
        woto
        Participant

          I 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
          Woto

          in reply to: Data size no match with Raspberry Pi pico #29071
          woto
          Participant

            The answer from program is:
            Initialization: {} Success
            Retrieve configuration: {} Success
            —————————————-
            HEAD : 0xc1 0x0 0x8

            AddH : 0x0
            AddL : 0x0

            Chan : 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.

            in reply to: Data size no match with Raspberry Pi pico #29070
            woto
            Participant

              It works.

              But now I want to transmit at 868MHz instead of 873MHz. Where can I set this?

              Best regards,

              Woto

            Viewing 5 posts - 16 through 20 (of 20 total)