Search the Community
Showing results for tags 'atlas0fd00m'.
So I've recently got into messing about with RF tools/RfCat, and bought myself a Yardstick One - a really great tool with a fair amount of help online. The RfCat libraries, at the end of atlas's own "<GHz or Bust" DEFCON slides imply that I should be able to use FHSS transmiting/receiving. However, despite several days of research/working the problem, I can't seem to set it up to do so. Possibly there is something big I'm missing out, with regards to setting up & using the channels? The example code I've got so far... Many thanks! from rflib import* d = RfCat() #Instatiate and set configuration d.setFreq(315e6) d.setMdmModulation(MOD_ASK_OOK) d.setMdmSyncWord(0xAA00) d.setMdmSyncMode(SYNCM_16_of_16) d.makePktFLEN(30) d.setMdmDRate(5200) print d.getFHSSstate() #Common up to this poiint if "RECEIVER": #Reciever does this d.setFHSSsate(FHSS_STATE_DISCOVERY) elif "XMITTER" #Transmitter does this d.setFHSSstate(FHSS_STATE_SYNCINGMASTER) print d.reprMACdata() if "XMITTER": d.FHSSxmit("Hello world") elif "RECEIVER": d.RFlisten() #or RFrecv