Searched refs:fcs (Results 1 – 5 of 5) sorted by relevance
/openthread-latest/tests/scripts/thread-cert/ |
D | mac802154.py | 128 fcs=None, argument 146 self.fcs = fcs 208 fcs = self._parse_fcs(data, data.tell()) 215 fcs=fcs, 278 fcs = self._parse_fcs(data, fcs_start) 374 fcs, 432 fcs = bytearray(data.read(2)) 433 return fcs
|
D | test_mac802154.py | 53 self.assertEqual(bytearray([0x34, 0x56]), frame.header.fcs) 66 self.assertEqual(bytearray([0xfe, 0xdc]), frame.header.fcs) 88 self.assertEqual(bytearray([0xfe, 0xdc]), frame.header.fcs) 112 self.assertEqual(bytearray([0xfe, 0xdc]), frame.header.fcs) 135 self.assertEqual(bytearray([0xfe, 0xdc]), frame.header.fcs) 153 self.assertEqual(bytearray([0xfe, 0xdc]), frame.header.fcs) 234 self.assertEqual(bytearray([0x99, 0xfc]), frame.header.fcs) 266 self.assertEqual(bytearray([0x0a, 0x4f]), frame.header.fcs)
|
/openthread-latest/src/lib/hdlc/ |
D | hdlc.cpp | 180 uint16_t fcs = mFcs; in EndFrame() local 182 fcs ^= 0xffff; in EndFrame() 184 SuccessOrExit(error = Encode(fcs & 0xff)); in EndFrame() 185 SuccessOrExit(error = Encode(fcs >> 8)); in EndFrame()
|
/openthread-latest/tools/spi-hdlc-adapter/ |
D | spi-hdlc-adapter.c | 826 uint16_t fcs = kHdlcCrcResetValue; in push_hdlc() local 834 fcs = hdlc_crc16(fcs, c); in push_hdlc() 846 fcs ^= 0xFFFF; in push_hdlc() 848 c = fcs & 0xFF; in push_hdlc() 859 c = (fcs >> 8) & 0xFF; in push_hdlc() 918 static uint16_t fcs; in pull_hdlc() local 931 fcs = kHdlcCrcResetValue; in pull_hdlc() 939 fcs = kHdlcCrcResetValue; in pull_hdlc() 942 else if (fcs != kHdlcCrcCheckValue) in pull_hdlc() 944 … syslog(LOG_WARNING, "HDLC frame with bad CRC (LEN:%d, FCS:0x%04X)", sSpiTxPayloadSize, fcs); in pull_hdlc() [all …]
|
/openthread-latest/tests/scripts/thread-cert/pktverify/ |
D | test_layer_fields.py | 120 self.assertIsInstance(wpan.fcs, int)
|