- GraphTraceLen = bytelength;
- RepaintGraphWindow();
-
- manchester_decode(data, bytelength);
-
- free(data);
+ GraphTraceLen = LF_TRACE_BUFF_SIZE;
+
+ // BiDirectional
+ //CmdDirectionalThreshold("70 -60");
+
+ // Askdemod
+ //Cmdaskdemod("1");
+
+ uint8_t bits[1000];
+ uint8_t * bitstream = bits;
+ memset(bitstream, 0x00, sizeof(bits));
+
+ manchester_decode(GraphBuffer, LF_TRACE_BUFF_SIZE, bitstream);