SmartRC-CC1101-Driver-Lib icon indicating copy to clipboard operation
SmartRC-CC1101-Driver-Lib copied to clipboard

sendData adding a length byte to packets

Open gusgorman402 opened this issue 4 years ago • 1 comments

I thought changing PKTCTRL0 to 0x00 would remove any length or address bytes, but a Length byte was still being added to the packets. I had to change the first line of sendData function to fix this SpiWriteReg(CC1101_TXFIFO, 0)

If you'd like to see the other mods I made to create/clone raw OOK signals, my code&comments is here: https://github.com/gusgorman402/rfmoggy I'm making a cheaper & cruder version of the YardstickOne and PandwaRf

gusgorman402 avatar May 10 '20 03:05 gusgorman402

Hi, Good work! I recommend taking the new lib changes with you. For example, the old frequency calculator incorrectly sets some frequencies. Example I enter 444,000 MHz, it turns it into 444,100. I will test your lib extensively soon.

LSatan avatar May 10 '20 08:05 LSatan