title: program for sniffing data from packet
body: <p>I want to sniff packets from stream of packets that are transmitter from CC1350 chip -SimpleLink Ultra-Low Power Dual Band Wireless Microcontroller .
  I want to write a function that gets from the stream a packet and tell if it's ok or not ok - it's valid packet or not valid packet -
  the validation packet or not valid is related to the size of the syncWordLength if it's for instance 20 or less than 20 , what's confusing me that I dont know inside my packet which bits from where to where does the data of syncWorldLength is stored .. any help?
  Proprietary packets is used .. </p>
  
  <p>I can't by wireshark get sniff the packet because it's on chip packet .. </p>
  
  <p>thanks alot</p>