static const registerSetting_t preferredSettings[]= { {CC1201_IOCFG0, 0x06}, {CC1201_IOCFG2, 0x06}, {CC1201_SYNC_CFG1, 0xA8},//4Bytes 0xA8 {CC1201_SYNC_CFG0, 0x23}, {CC1201_DEVIATION_M, 0x47}, //Deviation 12.5kHz:0x47 {CC1201_MODCFG_DEV_E, 0x0A},//2-GFSK {CC1201_DCFILT_CFG, 0x4B}, {CC1201_PREAMBLE_CFG1, 0x19},//4Bytes Preamble 0x55 {CC1201_PREAMBLE_CFG0, 0x8A}, {CC1201_IQIC, 0xD8}, {CC1201_CHAN_BW, 0x21}, //DC Filter BW 50>0x21 {CC1201_MDMCFG1, 0x42}, {CC1201_MDMCFG0, 0x05}, {CC1201_SYMBOL_RATE2, 0x84},//25kbps 0x84 {CC1201_SYMBOL_RATE1, 0x7A},// 0x7A {CC1201_SYMBOL_RATE0, 0xE1},// 0xE1 {CC1201_AGC_REF, 0x24}, {CC1201_AGC_CS_THR, 0x01}, {CC1201_AGC_GAIN_ADJUST, 0xB0},//offset of RSSI -80dB 0xB0 {CC1201_AGC_CFG1, 0x12}, {CC1201_AGC_CFG0, 0x80}, {CC1201_FIFO_CFG, 0x00}, {CC1201_FS_CFG, 0x12}, {CC1201_PKT_CFG2, 0x00}, {CC1201_PKT_CFG1, 0x01},//No use CRC on hardware //Follow after data byte will be RSSI byte, and CRC_NG bit, LQI (7bit), {CC1201_RFEND_CFG0, 0x30},//After transfer will automatically change to receiver {CC1201_RFEND_CFG1, 0x3E},//After receiver will automatically change to receiver {CC1201_PA_CFG1, 0x3F},//PA_CFG1bit5:0 {CC1201_PKT_LEN, 0x09},//fixed 9 bytes {CC1201_IF_MIX_CFG, 0x1C}, {CC1201_TOC_CFG, 0x03}, {CC1201_MDMCFG2, 0x02}, {CC1201_FREQ2, 0x5C}, //920.0Mhz {CC1201_FREQ1, 0x00}, //920.0Mhz {CC1201_FREQ0, 0x00}, //920.0Mhz {CC1201_IF_ADC1, 0xEE}, {CC1201_IF_ADC0, 0x10}, {CC1201_FS_DIG1, 0x04}, {CC1201_FS_DIG0, 0x55}, {CC1201_FS_CAL1, 0x40}, {CC1201_FS_CAL0, 0x0E}, {CC1201_FS_DIVTWO, 0x03}, {CC1201_FS_DSM0, 0x33}, {CC1201_FS_DVC0, 0x17}, {CC1201_FS_PFD, 0x00}, {CC1201_FS_PRE, 0x6E}, {CC1201_FS_REG_DIV_CML, 0x1C}, {CC1201_FS_SPARE, 0xAC}, {CC1201_FS_VCO0, 0xB5}, {CC1201_IFAMP, 0x09}, {CC1201_XOSC5, 0x0E}, {CC1201_XOSC1, 0x03}, {CC1201_PARTNUMBER, 0x21}, {CC1201_PARTVERSION, 0x11}, {CC1201_MODEM_STATUS1, 0x10}, };