MySensors icon indicating copy to clipboard operation
MySensors copied to clipboard

Rock Pi 4B Gateway does not Receive Messages

Open drschnalli opened this issue 5 years ago • 0 comments

Hello, im using a Rock-Pi 4b (Like Raspberry Pi 3+) i got the gateway working and connected the NRF Antenna the right way. On The Sensor Side im using the Motion Sensor Sketch to just test if the connection between sensor and gateway will be established. I also ran the Clear Eprom Example Script before i reloaded the Motion Sensor Sketch onto the Arduino.

My Actual Situation: I ran MYSGW on my Raspberry and i used this configuration string: ./configure --my-gateway=ethernet --my-port=5003 --spi-spidev-device=/dev/spidev1.0 --my-transport=rf24 And then i connected to the gateway via MysController - i dont use any other Controller right now as i just wanted to see if its working. Maybe this is the error?!

The Console Shows:

Apr 18 03:49:05 INFO  Starting gateway...
Apr 18 03:49:05 INFO  Protocol version - 2.3.2
Apr 18 03:49:05 DEBUG MCO:BGN:INIT GW,CP=RNNGL---,FQ=NA,REL=255,VER=2.3.2
Apr 18 03:49:05 DEBUG TSF:LRT:OK
Apr 18 03:49:05 DEBUG TSM:INIT
Apr 18 03:49:05 DEBUG TSF:WUR:MS=0
Apr 18 03:49:05 DEBUG TSM:INIT:TSP OK
Apr 18 03:49:05 DEBUG TSM:INIT:GW MODE
Apr 18 03:49:05 DEBUG TSM:READY:ID=0,PAR=0,DIS=0
Apr 18 03:49:05 DEBUG MCO:REG:NOT NEEDED
Apr 18 03:49:05 DEBUG Listening for connections on @����:5003
Apr 18 03:49:05 DEBUG MCO:BGN:STP
Apr 18 03:49:05 DEBUG MCO:BGN:INIT OK,TSP=1
Apr 18 03:49:05 DEBUG TSM:READY:NWD REQ
Apr 18 03:49:18 DEBUG ?TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=20,pt=0,l=0,sg=0,ft=0,st=OK:

The Sensor (based on a Arduino Nano) latest Library Files Shows:

16 MCO:BGN:INIT NODE,CP=RNNNA---,FQ=16,REL=255,VER=2.3.2
26 TSM:INIT
28 TSF:WUR:MS=0
34 TSM:INIT:TSP OK
36 TSM:FPAR
38 ?TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
2048 !TSM:FPAR:NO REPLY
2050 TSM:FPAR
2052 ?TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
4060 !TSM:FPAR:NO REPLY
4062 TSM:FPAR
4064 ?TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
6072 !TSM:FPAR:NO REPLY
6074 TSM:FPAR
6076 ?TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
8084 !TSM:FPAR:FAIL
8085 TSM:FAIL:CNT=1
8087 TSM:FAIL:DIS
8089 TSF:TDI:TSL
18091 TSM:FAIL:RE-INIT

Both sides, gateway and sensor have a 10uf capacitor connected to its vcc and gnd. I also brought the Sensor very close to the gateway (10centimeters...)

I know that the nrf24L01 is working properly, i just set up an esp8266 to test this one as gateway and it worked. Can this somehow have to do with any kind of hardware overlay or Chip Select on SPI?

Besides all how can i check if my nrf24L01 is communicating with my Rock Pi (Raspberry PI)

drschnalli avatar Apr 18 '20 21:04 drschnalli