Git Product home page Git Product logo

mcore1976 / cc1101-tool Goto Github PK

View Code? Open in Web Editor NEW
201.0 11.0 35.0 21.57 MB

RF tool based on CC1101 module and Arduino Pro Micro 8VMHz/3.3V. Allows using CLI with human readable commands to control CC1101 board over USB interface. Putty or any other serial terminal can be used. It has similar functionality to YardStick One but is cheaper and doesn't need specialized software. Allows for RF jamming and simple replay attack

C++ 100.00%
arduino atmega32u4 cc1101 pro-micro yardstick rf-jammer hackrf ys1 replay-attack evil-crow

cc1101-tool's People

Contributors

mcgr3g0r avatar mcore1976 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cc1101-tool's Issues

scan

Do zamiany parametrów w SCAN zamiast atoi chyba powinno być atof.

problems of rx , playraw , show and etc in esp8266 boards

facing with following error in commands like rx , playraw and etc .

19:30:44.469 -> rx
19:30:44.469 -> 
19:30:44.469 -> Receiving and printing RF packet changed to Enabled
19:30:46.361 -> 
19:30:46.361 -> --------------- CUT HERE FOR EXCEPTION DECODER ---------------
19:30:46.361 -> 
19:30:46.361 -> Exception (9):
19:30:46.361 -> epc1=0x40208624 epc2=0x00000000 epc3=0x00000000 excvaddr=0x00bcbf65 depc=0x00000000
19:30:46.361 -> 
19:30:46.361 -> >>>stack>>>
19:30:46.361 -> 
19:30:46.361 -> ctx: cont
19:30:46.361 -> sp: 3ffffe00 end: 3fffffd0 offset: 0150
19:30:46.361 -> 3fffff50:  000000d8 00000000 3ffef758 40204e1c  
19:30:46.361 -> 3fffff60:  000000d8 3ffef6f4 3ffef758 4020165c  
19:30:46.393 -> 3fffff70:  00000000 fffffffc 00000080 40202fd3  
19:30:46.393 -> 3fffff80:  00000000 3ffe882a 3ffef758 3ffef8c0  
19:30:46.393 -> 3fffff90:  3fffdad0 00000023 3ffef758 3ffef8c0  
19:30:46.393 -> 3fffffa0:  3fffdad0 00000000 3ffef894 3ffef8c0  
19:30:46.393 -> 3fffffb0:  3fffdad0 00000000 3ffef894 40205a6c  
19:30:46.393 -> 3fffffc0:  feefeffe feefeffe 3fffdab0 40100e75  
19:30:46.393 -> <<<stack<<<
19:30:46.393 -> 
19:30:46.393 -> --------------- CUT HERE FOR EXCEPTION DECODER ---------------
19:30:46.425 -> 
19:30:46.425 ->  ets Jan  8 2013,rst cause:2, boot mode:(3,6)
19:30:46.425 -> 
19:30:46.457 -> load 0x4010f000, len 3424, room 16 
19:30:46.457 -> tail 0
19:30:46.457 -> chksum 0x2e
19:30:46.457 -> load 0x3fff20b8, len 40, room 8 
19:30:46.457 -> tail 0
19:30:46.457 -> chksum 0x2b
19:30:46.457 -> csum 0x2b
19:30:46.457 -> v00048910
19:30:46.457 -> ~ld
19:30:46.521 -> ������n�s��g|�d���d`��c����|�{��l�g���o�d`���s�l�l�����CC1101 terminal tool connected, use 'help' for list of commands...
19:30:46.521 -> 

19:30:46.521 -> (C) Adam Loboda 2023
19:30:46.521 -> 
  
19:30:46.521 -> 
19:30:46.521 -> cc1101 initialized. Connection OK
19:30:46.521 -> 

also

19:33:28.345 -> show
19:33:28.345 -> Wrong parameters.

Terminal is frozen

Hi Adam,
I have installed the CC1101 Tool using the Arduino IDE on my Raspi Pico W.
I can connect via putty to it but the windows is frozen after the conection has been established and I can not do anything.
Please find enclosed a picture.

Putty

Do you have a hint for me?

Many Thanks
Frank
P.D. I am using a E07-M1101D from EByte

How to convert working code to ESPHome working transmission ?

Hi this tool is great and I was able to use it to control my ceiling fan.
my next step is to take the following lines and get a working configuration for ESPHome transmitter.

Any help would be highly appriciated.

flush
addraw e8eeee88ee888ee88e8e8e8ee8e8e80000
addraw e8eeee88ee888ee88e8e8e8ee8e8e80000
playraw 350

Here is the info I have from URH
image

Thank you !

add display

can you add the display and menu like ttgo t display and replay signal easyley or design like fliper zero by display its very dificult to work with this device

soryy about my request ..ithink its beter to use for users thanks alot

asciitohex adjust to end string correctly

HI mcore1976!

Function asciitohex is finishing string 2 chars after last written hex value. I am playing with your code and making some adjustements.

File: cc1101-tool-esp32-wroom.ino
Line: 103 hex_ptr[(2*i)+2] = '\0' ;
Correction: hex_ptr[(2*i)] = '\0' ;

Reason: variable i exits incremented from previous for bucle.
When code reaches line 103, i variable has the needed value to finish string fine adding \0, it is not needed to add 2 more char positions to it.

Regards!

Jps1x2

HC-11 433mhz module

If you could check if HC-11 module can be made to work with this. It only has 5 headers and not like anything I have seen but in my country normal CC1101 modules aren’t available and aliexpress is banned. Any help would be appreciated
IMG_8436

serial terminal issues

to start off, this is a super cool project
unfortunately, i can't actually do anything with it because my serial terminal wont actually enter commands

if i type in help in putty, the characters dont come up as i type them (sometimes normal for putty), but even if i press enter nothing comes up at all

i've tried different baud rates, and i'm using a xiao esp32c3 which successfully flashed onto the board with no issues
i've edited gpio too, so even if that is an issue somehow thats out of the question

i feel like this is just user error by me, but either way its worth making an issue for other people

Esp8266 WIFI AP mode

I don’t understand what’s wrong but my access point is open without any password when I tried to change the code and set my own random SSID and password. The SSID did change but it was again open. No authentication what so ever.

Telnet and everything works but still I don’t know what I’m doing wrong.

Guru Meditation Error: Core 1 panic'ed

Hi All,

need some help here

while issuing scan esp32 gets rebooted with panic.

esp32 wroom
cc1101-tool-esp32-wroom.ino

09:36:49.597 -> scan
09:36:49.597 -> Guru Meditation Error: Core 1 panic'ed (LoadProhibited). Exception was unhandled.
09:36:49.597 -> Core 1 register dump:
09:36:49.597 -> PC : 0x400d7a5a PS : 0x00060530 A0 : 0x800d86e3 A1 : 0x3ffb1e70
09:36:49.597 -> A2 : 0x00000000 A3 : 0x00000000 A4 : 0x00000000 A5 : 0x0000000d
09:36:49.597 -> A6 : 0x0000002b A7 : 0x3ffb80c0 A8 : 0x0000002d A9 : 0x00000009
09:36:49.635 -> A10 : 0x3ffb8058 A11 : 0x00000000 A12 : 0x3ffb8218 A13 : 0x00000000
09:36:49.635 -> A14 : 0x00000000 A15 : 0x00000000 SAR : 0x00000002 EXCCAUSE: 0x0000001c
09:36:49.635 -> EXCVADDR: 0x00000000 LBEG : 0x400012c5 LEND : 0x400012d5 LCOUNT : 0xfffffffa
09:36:49.635 ->
09:36:49.635 -> ELF file SHA256: 0000000000000000
09:36:49.635 ->
09:36:49.635 -> Backtrace: 0x400d7a5a:0x3ffb1e70 0x400d86e0:0x3ffb1f20 0x400d79a9:0x3ffb1f40 0x400d1d06:0x3ffb1f60 0x400d5771:0x3ffb1fb0 0x400861bd:0x3ffb1fd0
09:36:49.673 ->
09:36:49.673 -> Rebooting...
09:36:49.673 -> ets Jun 8 2016 00:22:57

I have cc1101 red module name HW863

I have this red module hw863 and it's not working with board I tried esp32 nodemcu arduino pro micro, nano but not working I also change cc1101 module but again it's not working please help if u know why it is not woking

Connection closed by foreign host

Module I’m using is wemos D1 mini. I get error escape character and connection closed by foreign host. I have tried reconnecting all wires. Re uploading the code nothing works. What may be the reason behind it?

CC1101 Terminal frozen

Hi,

I'm testing this tool with Arduino Pro mini and the CC1101. I can type commands in the terminal but they are not visible and nothing seems to happen.
This is the pin connection I use:

byte sck = 13; // PB5
byte miso = 11; // PB4
byte mosi = 12; // PB3
byte ss = 10; // PB2
byte gdo0 = 3; // PD3
byte gdo2 = 9; // PD5

Is SPI not working?

showbit command incomplete data

Hi!

First of all thank you very much for your tool, i am working with it and i have mixed esp8266 ap+telnetServer code with esp32 code and i can use it on my esp32-wrover-dev connected with telnet on my smartphone.

I am trying to capture timing too, on recraw and rxraw, and i saw that showbit command is not working fine because:

  1. You take 32 bytes from bigrecordingbuffer variable.
  2. It is converted to hex string with 64 characters length.
  3. Later the code only converts and displays the first 32 characters of this string and not 64 characters.

Example:
File: cc1101-tool-esp32-wroom.ino
Line 838: for (setting = 0; setting < 32 ; setting++)
correct: for (setting = 0; setting < 64 ; setting++)

Regards

Jps1x2

E07-433M20S Pa Table 20dbm

Hi all.

I have an E07-433M20S module but I can't activate 20 dbm output.

Could someone tell me if there is a way to activate a 20 dbm mode or how can I modify the SmartRC-CC1101-Driver-Lib-master library to obtain a PA Table that supports the power of 20 dbm?

Thank you.

Jamesbit.

NOTReceiving and printing RF packets

Hi there ,
I use a cc1101 and a ESP32 WROOM , if set it to Scanner mode , i get the below messages
Signal found at Freq: 433.94 Rssi: -34
Signal found at Freq: 433.92 Rssi: -35
Signal found at Freq: 433.91 Rssi: -37
Signal found at Freq: 433.93 Rssi: -36
The problem is that i cannot get the actual packet and see it , save it etc. How can i do that ,
i type

SETMHZ 433.93
RX

but nothing

Also theres somehting to mention , i used the cc1101 with a Arduino nano before ESP32 , and i didnt use logic converter
did it Fry my cc1101? , the reason i am asking is beccause i get the results on scanner

Trying to run ESP-WROOM-32

Hello!
First of all thanks for the code!
I'm trying to run on ESP-WROOM-32, but I see maybe is not compatible.

I tried to run with cc1101-tool-esp32.ino & cc1101-tool-esp32-wroom.ino, and on putty show this :

screen

And ifif type "help" nothing happen.
I'm doing somwething wrong?

Thanks!

Question about preamble

Hello,
I'm testing cc1101-tool to open a door. When I decode the original signal with URH, I see a preamble of fffffe
Is it possible to set custom preamble? If not, how to disable completely preamble (and all other added bytes: sync, CRC...) ?
Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.