Yveaux / NRF24_Sniffer

Sniffer for Nordic NRF24L01+ modules with MySensors support
GNU General Public License v3.0
140 stars 42 forks source link

Logitech keyboard/mouse #7

Open bilogic opened 4 years ago

bilogic commented 4 years ago

Hi,

Is this able to sniff packets from Logitech devices that uses the NRF24? The serial output stays stuck at Listening.... Thank you.

Yveaux commented 4 years ago

If it is using an nRF24L01 it should be possible to sniff the packets. Are you sure other parameters, like bitrate, are set correctly?

bilogic commented 4 years ago

I'm using an Arduino Uno which runs on 5v, is it compatible with the 3.3v NRF24? Is the Arduino Uno Rev3 3.3v? I coud not tell.

bilogic commented 4 years ago

The only change I made to the code was to comment out BINARY_OUTPUT. I'm curious, where is SCK, MOSI and MISO defined in the code?

This is my output

-- RF24 Sniff --
4e 4c00050400fce1a8a80000000220 Channel:     76
Datarate:    1Mb/s
Address:     0xA8A8E1FC**
Max payload: 32
CRC length:  2

STATUS      = 0x06 RX_DR=0 TX_DS=0 MAX_RT=0 RX_P_NO=3 TX_FULL=0
RX_ADDR_P0-1    = 0xe0fc 0xc0c0
RX_ADDR_P2-5    = 0xc1 0xc0 0xc0 0xc2
TX_ADDR     = 0xe3e3
RX_PW_P0-6  = 0x00 0x00 0x00 0x00 0x00 0x00
EN_AA       = 0x00
EN_RXADDR   = 0x00
RF_CH       = 0x04
RF_SETUP    = 0x00
CONFIG      = 0x00
DYNPD/FEATURE   = 0x00 0x00
Data Rate   = 1MBPS
Model       = nRF24L01
CRC Length  = Disabled
PA Power    = PA_MIN

Listening...
bilogic commented 4 years ago

btw, logitech devices hop around the channels, would that be a problem for this sniffer? I was able to get https://github.com/insecurityofthings/uC_mousejack to capture some packets, but misses a ton of them.