MyS Network Scanner (4 sec.)
-
An example of a subroutine for finding MyS networks
If you need a test, I compiled the HEX file for atmega 328p | 5V | 16MHz
SCANER MySENSORS NETWORK – 00:16
— Andrew EfektaSBHEX - https://drive.google.com/open?id=1EX71EtDABLdwosYLlc8GkebO-WdkX1aF
-
Does it scan each channel until it finds a response? Encrypted networks are not detected, right?
-
@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
-
The subprogramme(part of a larger program) exclusively to search for a channel number which has a network of MySensors.
-
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
-
But can it find encrypted networks?
-
I don't think so..
why the .hex instead of the sources??
-
@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.
-
-
@gohan The encrypted network on radio modules nrf24 .. is recognized, the channel is determined