title: CRC Bluetooth Low Energy 4.2
body: <p>In the core bluetooth 4.2 documentation <a href="https://www.bluetooth.org/DocMan/handlers/DownloadDoc.ashx?doc_id=286439&amp;_ga=2.156786354.849882776.1501666472-1386832473.1501666472" rel="nofollow noreferrer">here</a> it talks about a CRC check for data integrity (P2456). This details the below:</p>
  
  <p><a href="https://i.stack.imgur.com/unbvC.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/unbvC.png" alt="enter image description here"></a></p>
  
  <p>With an example below:</p>
  
  <p>4e 01 02 03 04 05 06 07 08 09</p>
  
  <p>Producing CRC: 6d d2</p>
  
  <p>I have tried a number of different methods but can't seem to reproduce the example. Can anyone provide some sample code to produce the CRC above.</p>