示例#1
0
int setCCxConfig(){
  // load the appropriate config table
  unsigned char cfg=Config.get(CONFIG_CONFIG_ID);
  CCx.Setup(cfg);  
  setMyAddress();
  setAddressCheck();
  setPowerAmplifier();
  setRFBeeMode();
  return OK;
}
示例#2
0
文件: rfBeeSerial.c 项目: bpg/RFBee
int setCCxConfig() {
	// load the appropriate config table
	uint8_t cfg = config_get(CONFIG_CONFIG_ID);

	ccx_setup(cfg);
	//ccx_read_setup();
	// and restore the config settings
	setMyAddress();
	setDstAddress();
	setAddressCheck();
	setPowerAmplifier();
	setRFBeeMode();

	return OK;
}