Home | History | Annotate | Download | only in rfcomm

Lines Matching defs:fcs

75 ** Description      This function calculate FCS for the RFCOMM frame
84 UINT8 fcs = 0xFF;
88 fcs = rfc_crctable[fcs ^ *p++];
92 return (0xFF - fcs);
100 ** Description This function checks FCS for the RFCOMM frame
105 ** received_fcs - received FCS
110 UINT8 fcs = 0xFF;
114 fcs = rfc_crctable[fcs ^ *p++];
118 fcs = rfc_crctable[fcs ^ received_fcs];
121 return (fcs == 0xCF);