I need to communicate with a non-C1101 device. It uses a simple packet format. The Sync and Preamble are defined and then the data payload is 14 bytes. Using RF Studio I have been able to set up most parameters. Using a SDR and RTL_433 to decode the signal (it has a built in decoder for the device I am looking at) it shows the correct sync, preamble and data payload - however the CC1101 is inserting the packetlen byte as the first following the preamble. My understanding from the CC1101 and CC430 datasheets is that this is optional, however the actual optional mode is not decleared. The CC430 guidance seemed to indicate that it was not used for variable packet length mode, I have tried fixed, variable and infinite but it does not seem to change the packet being sent.
THe CC1101 is being driven from an ESP32 - the init code writes the RF Studio settings to the registers. As indicated I have tried all three packet length options but it does not change the output..
SpiWriteReg(CC1101_SYNC1,0x2D);
SpiWriteReg(CC1101_SYNC0,0xD4);
SpiWriteReg(CC1101_PKTLEN,0x0E);
SpiWriteReg(CC1101_PKTCTRL1,0x00);
SpiWriteReg(CC1101_PKTCTRL0,0x00);
What am I missing??