cc1101-driver icon indicating copy to clipboard operation
cc1101-driver copied to clipboard

Question about maximum packet length and replaying captured signals

Open ImanolBarba opened this issue 1 year ago • 0 comments

Hello there!

I am trying to use this driver to implement a small proof of concept I wrote to send a captured RF signal. I am using an arduino to send the signal by turning the transmission on and off at specific intervals using asynchronous mode (e.g: '1' for 4000us, '0' for 100us, etc etc).

I am not sure how to translate that functionality here, my best guess is that I have to generate a bytestream that represents the same signal by calculating the bytes depending on the selected baud rate, so for instance if I have to send '1' during 600us and I have a baud rate of 100kbps, In theory I would need to send 10 bits, so that needs to be converted into 2 bytes with padding, correct?

The problem I'm running into is that my captured signal is rather long: it was around 18678 bytes @ 100kbps and it would appear the maximum packet size is 1024. I have some intervals that are 60us so I could reduce the baudrate to about 16kbps but I'm wondering if either my assumptions are wrong or perhaps there is a cleaner way to "stream" data to the radio?

I could fragment the packet into several 1K packets, but I'm afraid the additional processing might introduce delays and botch the signal.

Any ideas?

Thanks!

ImanolBarba avatar Mar 16 '23 14:03 ImanolBarba