hi ,
how to set rssithreshold value in coprocessor(i rebuild co-processor rssithreshold ,it not valid)
now,we measure the rf performance for Ti 15.4 , in which i get about 400M which show rssi value about -9xdbm.
in CC1200 to sniffer ,it can see the sensor device send "orphan notification" ,but co-processor not ack coordinator relignment.
i try to rebuild
Co-processor and Sensor:
@ccfg.c for high Txpower
#define CCFG_FORCE_VDDR_HH 0x1
Co-processor:
@Collector.c for set rssithreshold to -110dbm
ApiMac_mlmeSetReqUint8(ApiMac_attribute_rssiThreshold,
0x91);
------------------------
void Collector_init(void)
{
uint8_t TestrssiThreshold;
/* Initialize the collector's statistics */
memset(&Collector_statistics, 0, sizeof(Collector_statistics_t));
/* Initialize the MAC */
sem = ApiMac_init(CONFIG_FH_ENABLE);
/* Initialize the Coordinator Logical Link Controller */
Cllc_init(&Collector_macCallbacks, &cllcCallbacks);
/* Register the MAC Callbacks */
ApiMac_registerCallbacks(&Collector_macCallbacks);
/* Initialize the platform specific functions */
Csf_init(sem);
/* Set the indirect persistent timeout */
ApiMac_mlmeSetReqUint16(ApiMac_attribute_transactionPersistenceTime,
INDIRECT_PERSISTENT_TIME);
ApiMac_mlmeSetReqUint8(ApiMac_attribute_phyTransmitPowerSigned,
(uint8_t)CONFIG_TRANSMIT_POWER);
ApiMac_mlmeSetReqUint8(ApiMac_attribute_rssiThreshold,
0xF1);//try to very low,about -15
ApiMac_mlmeGetReqUint8(ApiMac_attribute_rssiThreshold,
&TestrssiThreshold);
printf("ApiMac_attribute_rssiThreshold %x\n",TestrssiThreshold);
/* Initialize the app clocks */
initializeClocks();
if(CONFIG_AUTO_START)
{
/* Start the device */
Util_setEvent(&Collector_events, COLLECTOR_START_EVT);
}
}
----------------------------
sdk:
simplelink_cc13x0_sdk_1_00_00_13
#define FEATURE_NON_BEACON_MODE
/*! Polling interval in milliseconds */
#define CONFIG_POLLING_INTERVAL 6000
/* Interval for scan backoff */
#define CONFIG_SCAN_BACKOFF_INTERVAL 5000
RF,
| Freq bank=915MHz; Link Budget = 124dbm,data rate=50kbps,Height of Antenna=1M |