Changed DASH7 sync word.
authortravisutk <travisutk@12e2690d-a6be-4b82-a7b7-67c4a43b65c8>
Thu, 20 Jan 2011 09:30:23 +0000 (09:30 +0000)
committertravisutk <travisutk@12e2690d-a6be-4b82-a7b7-67c4a43b65c8>
Thu, 20 Jan 2011 09:30:23 +0000 (09:30 +0000)
Still don't have hardware to test on.

git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@850 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

client/GoodFETCC.py

index c37f540..c1e20e1 100644 (file)
@@ -275,8 +275,9 @@ class GoodFETCC(GoodFET):
         self.pokebysym("ADDR"     , 0x01)   # Device address.
         self.pokebysym("PKTLEN"   , 0xFF)   # Packet length.
         
-        self.pokebysym("SYNC1",0xD3);
-        self.pokebysym("SYNC0",0x91);
+        #Sync word hack
+        self.pokebysym("SYNC1",0x83);
+        self.pokebysym("SYNC0",0xFE);
         return;
     def config_iclicker(self,band="lf"):
         #Mike Ossmann figured most of this out, with help from neighbors.