Skip to content

Instantly share code, notes, and snippets.

@ecc1
Created December 3, 2015 21:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ecc1/e48db392ae3385ef5b0a to your computer and use it in GitHub Desktop.
Save ecc1/e48db392ae3385ef5b0a to your computer and use it in GitHub Desktop.
#!/usr/bin/python
from rflib import *
d = RfCat()
print 'Created RfCat instance'
d.setFreq(916620000)
d.setMdmModulation(MOD_ASK_OOK)
d.setMdmChanBW(300e3)
d.setMdmDRate(16400)
d.setMdmChanSpc(103300)
d.setMdmSyncWord(0xFF00)
print d.reprRadioConfig()
print 'Listening ...'
d.RFlisten()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment