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. Development
  3. MyS Network Scanner (4 sec.)

MyS Network Scanner (4 sec.)

Scheduled Pinned Locked Moved Development
10 Posts 3 Posters 2.7k Views 5 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.
  • berkseoB Offline
    berkseoB Offline
    berkseo
    wrote on last edited by berkseo
    #1

    An example of a subroutine for finding MyS networks

    If you need a test, I compiled the HEX file for atmega 328p | 5V | 16MHz

    https://youtu.be/cSM2GSkM_-k

    HEX - https://drive.google.com/open?id=1EX71EtDABLdwosYLlc8GkebO-WdkX1aF

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

      Does it scan each channel until it finds a response? Encrypted networks are not detected, right?

      berkseoB 1 Reply Last reply
      0
      • gohanG gohan

        Does it scan each channel until it finds a response? Encrypted networks are not detected, right?

        berkseoB Offline
        berkseoB Offline
        berkseo
        wrote on last edited by berkseo
        #3

        @gohan Logic is not like you imagine it. The scanner not waits for activity on the MyS network, it will be very long. The scanner alternately on each channel queries the gateway (3,7) and waiting for confirmation of departure to the first node.Test 126 channels takes 4-5 seconds

        1 Reply Last reply
        0
        • berkseoB Offline
          berkseoB Offline
          berkseo
          wrote on last edited by berkseo
          #4

          The subprogramme(part of a larger program) exclusively to search for a channel number which has a network of MySensors.

          1 Reply Last reply
          0
          • berkseoB Offline
            berkseoB Offline
            berkseo
            wrote on last edited by berkseo
            #5

            You can also check the quality of the radio. In the first tests (I have one network on channel 76), networks were also found on channels 44, 74. 75, 108. ... cheap quality from China :)

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

              But can it find encrypted networks?

              berkseoB 2 Replies Last reply
              0
              • scalzS Offline
                scalzS Offline
                scalz
                Hardware Contributor
                wrote on last edited by scalz
                #7

                I don't think so..
                why the .hex instead of the sources??

                berkseoB 1 Reply Last reply
                1
                • gohanG gohan

                  But can it find encrypted networks?

                  berkseoB Offline
                  berkseoB Offline
                  berkseo
                  wrote on last edited by
                  #8

                  @gohan Encrypted Mysensors network? I do not know, did not test. You can try. If the gateway in the encrypted MySensors network can receive (do not process) the message, the scanner will find out about it. I think so.

                  1 Reply Last reply
                  0
                  • scalzS scalz

                    I don't think so..
                    why the .hex instead of the sources??

                    berkseoB Offline
                    berkseoB Offline
                    berkseo
                    wrote on last edited by
                    #9

                    @scalz http://mysensors.ru/forum/viewtopic.php?f=5&t=379

                    1 Reply Last reply
                    0
                    • gohanG gohan

                      But can it find encrypted networks?

                      berkseoB Offline
                      berkseoB Offline
                      berkseo
                      wrote on last edited by
                      #10

                      @gohan The encrypted network on radio modules nrf24 .. is recognized, the channel is determined

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


                      12

                      Online

                      11.7k

                      Users

                      11.2k

                      Topics

                      113.1k

                      Posts


                      Copyright 2025 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