Hi guys, Im trying to write a function or interface in c++ or python that takes packet from stream of packets that CC1350 transmit and this function must return if this packet is ok or not ok related to the size of syncWordLength which it's constant for me as 20.
I can use an application that provides this which called SmartRF Packet Sniffer 2. but I need to do this as open source for connecting my code to something else .
what's confusing me that my packet is 32 bit and I configure this parametrs
RadioSetup, ID2_433_92
>,Property, protocol, VILDEHAYE
>,Property, modulation, GFSK
>,Property, msbFirst, 1
>,Property, syncWordLen, 20
>,Property, syncWord, 0x00000000
>,Property, frequency, 433920000
>,Property, deviation, 25000
>,Property, symbolRate, 100000
>,Property, rxBandwidth, 200000
>,Property, encoding, CC1310_MODE2LRM
what's confusing me that I want to sniff this packet and decide if it's ok or not, so because synWordLen is constant for all packets which it's 20 .. I want to discover from which bit till which bit does the data of syncWordLen are inserted inside my packet .. could anyone help me how could I know from which bit till which bit the data of syncWordLen found?
the packet format is found on this link http://www.ti.com/lit/ug/swcu117h/swcu117h.pdf#page=1692&zoom=100,0,456
I've read every step on that file of packet format and didn't figure out which bits from where to where does the syncWordLen data inserted inside my packet, any help please to know that ? I tried to read phy which it's related to the protocol and didn't understand very well ..
could anyone help me to understand how can I sniff my packet and to say if it's ok or not ok and where syncWordLen data is found inside my packet ?
really appreciated and Im about one week stuck on that problem
I can use an application that provides this which called SmartRF Packet Sniffer 2. but I need to do this as open source for connecting my code to something else .
what's confusing me that my packet is 32 bit and I configure this parametrs
RadioSetup, ID2_433_92
>,Property, protocol, VILDEHAYE
>,Property, modulation, GFSK
>,Property, msbFirst, 1
>,Property, syncWordLen, 20
>,Property, syncWord, 0x00000000
>,Property, frequency, 433920000
>,Property, deviation, 25000
>,Property, symbolRate, 100000
>,Property, rxBandwidth, 200000
>,Property, encoding, CC1310_MODE2LRM
what's confusing me that I want to sniff this packet and decide if it's ok or not, so because synWordLen is constant for all packets which it's 20 .. I want to discover from which bit till which bit does the data of syncWordLen are inserted inside my packet .. could anyone help me how could I know from which bit till which bit the data of syncWordLen found?
the packet format is found on this link http://www.ti.com/lit/ug/swcu117h/swcu117h.pdf#page=1692&zoom=100,0,456
I've read every step on that file of packet format and didn't figure out which bits from where to where does the syncWordLen data inserted inside my packet, any help please to know that ? I tried to read phy which it's related to the protocol and didn't understand very well ..
could anyone help me to understand how can I sniff my packet and to say if it's ok or not ok and where syncWordLen data is found inside my packet ?
really appreciated and Im about one week stuck on that problem
Last edited: