马上注册,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?立即注册 
×
char CFG_DB_PARAM[] = "hyd.sdb:CSRA68100_CONFIG";
devHandle = openTestEngine(USBDBG, com, 0, 5000, 0);
if (devHandle != 0){
// Initialise the configuration cache
error = teConfigCacheInit(devHandle, CFG_DB_PARAM);
if(error == TE_OK){
// Read the configuration into the cache from the device
error = teConfigCacheRead(devHandle, NULL, 0);
if(error != TE_OK){
printf("CacheRead失败%u!\n",error);
}
}else{
printf("初始化失败%u!\n",error);
}
closeTestEngine(devHandle);
}else{
printf("连接失败%u!\n",error);
}
|