コード例 #1
0
ファイル: RFBeeSerial.cpp プロジェクト: Bazing4/libraries
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;
}