[YARDStick] Using/setting up FHSS on RfCat/YS1

David Hood rpidstl at gmail.com
Wed Oct 19 09:02:31 EDT 2016


The RfCat libraries, at the end of atlas's own "<GHz or Bust" DEFCON slides
<https://media.blackhat.com/bh-us-12/Briefings/Atlas/BH_US_12_Atlas_GHZ_Workshop_Slides.pdf>imply
that I should be able to use FHSS transmiting/receiving.

However, despite several days of trying different solutions, looking for
other peoples solutions and reading several academic papers on how FHSS
works, 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...would love some help or even more
amazing, a small sample program to send/receive "Hello World" using FHSS.

Many thanks!

David

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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist10.pair.net/pipermail/yardstick/attachments/20161019/e7adc105/attachment.html>


More information about the YARDStick mailing list