static int CmdHelp(const char *Cmd);
//set the demod buffer with given array of binary (one bit per byte)
static int CmdHelp(const char *Cmd);
//set the demod buffer with given array of binary (one bit per byte)
size = removeParity(BitStream, preambleIndex + 11, 9, 2, 117);
size = removeParity(BitStream, preambleIndex + 11, 9, 2, 117);
uint8_t carrier=countFC(BitStream, BitLen, 0);
if (carrier!=2 && carrier!=4 && carrier!=8){
//invalid carrier
uint8_t carrier=countFC(BitStream, BitLen, 0);
if (carrier!=2 && carrier!=4 && carrier!=8){
//invalid carrier