JiaoXianjun / BTLE

Bluetooth Low Energy (BLE) packet sniffer and transmitter for both standard and non standard (raw bit) based on Software Defined Radio (SDR).
http://sdr-x.github.io/
Apache License 2.0
734 stars 135 forks source link

How can I generate the CRC table? #28

Open lvjiamei opened 2 years ago

lvjiamei commented 2 years ago

Hi Dr. Jiao: We are learning the BLE PHY layer, and BTLE helps us a lot! However, we have some trouble to derive the CRC table, it seems that the calculation of the CRC remainder is different from the traditional method because of the bit ordering. So, can you show us how to generate the CRC table or open source the code to generate this table? Thank you very much! Best regards Yeming Li

JiaoXianjun commented 2 years ago

Can you check the matlab folder?

lvjiamei commented 2 years ago

Yes, I have checked the matlab folder, but only have the code to generate the scramble table.

JiaoXianjun commented 2 years ago

Can you search all files in the matlab folder that includes key word "crc"?

sada45 commented 2 years ago

I tried but still no result. image image