Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. General Discussion
  3. What does --my-is-rfm69hw do?

What does --my-is-rfm69hw do?

Scheduled Pinned Locked Moved General Discussion
5 Posts 4 Posters 1.1k Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    SquareKinematics
    wrote on last edited by
    #1

    I have a raspberry pi gateway setup with an RFM69HW radio.

    I switched my Raspberry Pi Gateway from MQTT to TCP, and I was met with my only sensor node repeatedly sending find parent messages. It worked only in very close proximity to the gateway.

    After a bit of debugging I noticed that I added the --my-is-rfm69hw flag in my transition from MQTT to TCP. After removing this everything resumed normal operation.

    What does adding this flag do (my understanding is that is just changes the TX power levels), and why did it drastically reduce the range?

    M 1 Reply Last reply
    0
    • scalzS Offline
      scalzS Offline
      scalz
      Hardware Contributor
      wrote on last edited by
      #2

      hello,

      yes this define is for setting TX power level. when it's not well set, you can get range issue like you experienced.
      this is weird because if you're using a rfm69HW you should need it.
      or maybe the flag is inverted for the rpi (no idea, i don't use rpi gw).

      1 Reply Last reply
      0
      • gohanG Offline
        gohanG Offline
        gohan
        Mod
        wrote on last edited by
        #3

        The flag should be correct as it is, but it could be also that the radio module is not HW (i got some sent as hw but they were actually W only)

        1 Reply Last reply
        0
        • S SquareKinematics

          I have a raspberry pi gateway setup with an RFM69HW radio.

          I switched my Raspberry Pi Gateway from MQTT to TCP, and I was met with my only sensor node repeatedly sending find parent messages. It worked only in very close proximity to the gateway.

          After a bit of debugging I noticed that I added the --my-is-rfm69hw flag in my transition from MQTT to TCP. After removing this everything resumed normal operation.

          What does adding this flag do (my understanding is that is just changes the TX power levels), and why did it drastically reduce the range?

          M Offline
          M Offline
          manutremo
          wrote on last edited by
          #4

          @SquareKinematics If everything was working well before changing fom MQTT to TCP, and the flag was introduced together with that change, then you most likely have a non hw rfm69 module. That flag is only needed when the rfm69 module is hw type.

          You can see in this image the differences between the two boards so you can check.

          alt text

          S 1 Reply Last reply
          2
          • M manutremo

            @SquareKinematics If everything was working well before changing fom MQTT to TCP, and the flag was introduced together with that change, then you most likely have a non hw rfm69 module. That flag is only needed when the rfm69 module is hw type.

            You can see in this image the differences between the two boards so you can check.

            alt text

            S Offline
            S Offline
            SquareKinematics
            wrote on last edited by
            #5

            @manutremo Thank you for that info-graphic. You are and @gohan are correct, I have an RFM69W. This is what I get for buying from the cheapest seller on eBay :unamused:

            1 Reply Last reply
            1
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            13

            Online

            11.7k

            Users

            11.2k

            Topics

            113.0k

            Posts


            Copyright 2019 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • MySensors
            • OpenHardware.io
            • Categories
            • Recent
            • Tags
            • Popular