atlas0fd00m / rfcat

RfCat - swiss-army knife of ISM band radio
Other
560 stars 117 forks source link

Regarding the question of receiving data. #113

Open BG7UHS opened 3 years ago

BG7UHS commented 3 years ago

Is there a better way to make the received data more accurate? I am using the receiving py script:

from rflib import * d = RfCat() d.setModeIDLE d.setMdmModulation(MOD_ASK_OOK) d.setFreq(315000000) d.setMdmDRate(3500) d.setMaxPower() d.lowball() d.RFlisten()

Screenshot_20210902-162731891__01

The data received in this way is basically irregular. Occasionally, a correct piece of data will be received. Did I do something wrong?

atlas0fd00m commented 2 years ago

lowball is intended to make it as easy as possible to receive whatever data is out there.... it's not intended for accuracy. don't use lowball mode, but rather set an appropriate SyncWord and other Packetizer (Pkt and Mdm functions) settings to appropriately match what's being transmitted.

Crsarmv7l commented 1 year ago

Old issue and probably obsolete, but I have found that using d.calculatePktChanBW() and filtering by RSSI < 90 helps a ton. You aren't going to be able to really analyze captures (use an rtlsdr for that), but I have had great success and accuracy with capture/replay using those.

BG7UHS commented 1 year ago

Old issue and probably obsolete, but I have found that using d.calculatePktChanBW() and filtering by RSSI < 90 helps a ton. You aren't going to be able to really analyze captures (use an rtlsdr for that), but I have had great success and accuracy with capture/replay using those.

Can I see the code you wrote?

Crsarmv7l commented 1 year ago

Old issue and probably obsolete, but I have found that using d.calculatePktChanBW() and filtering by RSSI < 90 helps a ton. You aren't going to be able to really analyze captures (use an rtlsdr for that), but I have had great success and accuracy with capture/replay using those.

Can I see the code you wrote?

Sure. It is by no means perfect, but it works well for me https://github.com/Crsarmv7l/DaikonTools-for-Yardstick-One/blob/main/DaikonRX.py

Crsarmv7l commented 1 year ago

Coming back to this, mainly to say how wrong I was. If you know the signal you are looking for, you can filter and decode it, without resorting to an RSSI filter (still need one if you don't know the signal you are looking for). With the YS1 on a fixed freq, with a fixed datarate I was able to recognize, capture, decode and display 3 different brands of weather sensors only using software to filter and using lowball. Sure you aren't going to catch every single one, but you will grab many of them.

Built some other "decoders" for a variety of other protocols. This tool keeps surprising me and it is so satisfying to use

atlas0fd00m commented 1 year ago

thanks @Crsarmv7l ! i'm glad you are being fulfilled with the tooling, both RfCat and your custom tooling!