Jump to content

Using FHSS in RfCat/YS1


Hobbit944
 Share

Recommended Posts

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

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...