摘要: 1. BcmDb_setUserInterface(&userinterface); include in cfm/api/bcmcfm.c2. BcmDb_setUserInterface(PBCM_USERINTERFACE pUserInterface) { .... BcmPsi_objStore(sysPsi, SYS_USERINTERFACE_ID, pUserInterface, sizeof(BCM_USERINTERFACE)); // SYS_USERINTERFACE_ID = 9 }3. PSI_STATUS BcmPsi_objStore(PSI_HANDL 阅读全文
posted @ 2013-07-05 12:40 安心种田 阅读(273) 评论(0) 推荐(0) 编辑
摘要: 1. main/informer.c handleSoapMessageCallBack() { handleSoapMessage(); }2. handleSoapMessage() { status = parseGeneric(NULL, soapmsg, len, &parseReq); .... if ( runRPC() == eRPCRunFail) }3. runRPC() include in SOAPParser/RPCState.c .... case: rpcGetParameterValues: doGetParameterValues(rpcAct... 阅读全文
posted @ 2013-07-01 14:03 安心种田 阅读(343) 评论(0) 推荐(0) 编辑
摘要: 1. rootparams.h 中 把 uint32的注释掉, 重复定义。 把 reInitInstancesFrom 中的uint32 换成 unsigned long2. 在bcmcfm.h中, 添加头文件 #include "bcmtypes.h"3. 修改cfm/util/psi/dbapi.cpp 修改acsurl 192.168.168.137:12345/acs 阅读全文
posted @ 2013-06-28 17:51 安心种田 阅读(173) 评论(0) 推荐(0) 编辑
摘要: 1../jacs getconfigfile RPCState.c中, /* Loop through the code twice. The first loop is to calculate * the size of the entire soap envelop so that the HTTP header * can be written to the TCP socket first. The second loop is * to write the content of the envelop to the TCP socket as it * is generated. 阅读全文
posted @ 2013-06-27 17:07 安心种田 阅读(189) 评论(0) 推荐(0) 编辑
摘要: 1. getAllNotification notifyChanges = 0 reInitInstance() sh: logread: not found2. (1) getAllNotifications() included in SOAPParser/RPCState.c fprint(stderr, "getAllNotification notifyChanges = %d\n", notifiyChanges); (2) 阅读全文
posted @ 2013-06-24 10:40 安心种田 阅读(174) 评论(0) 推荐(0) 编辑
摘要: CPE端setprop service.adb.tcp.port 5555stop adbdstart adbdadb get-statePC端adb connect x.x.x.x:5555adb push xxxx /syste/bin/xxxxadb remount(remount文件系统,使CPU文件系统可写) 阅读全文
posted @ 2013-06-24 09:24 安心种田 阅读(276) 评论(0) 推荐(0) 编辑
摘要: 1. 安装kermit2. 在用户目录下添加配置文件 .kermrcset line /dev/ttyS0set speed 115200set carrier-watch off set handshake noneset flow-control nonerobustset file type bin set file name lit set rec pack 1000set send pack 1000set window 5 3. sudo kermit -c (注意串口线连接, 板子电源连接) 阅读全文
posted @ 2013-06-24 09:23 安心种田 阅读(421) 评论(0) 推荐(0) 编辑
摘要: 1. /external/tr69c/cfm/util/psi/dbapi.cpp 修改其中的tr69cAcsURL 为本机的ip地址。 阅读全文
posted @ 2013-06-21 10:44 安心种田 阅读(341) 评论(0) 推荐(0) 编辑
摘要: 1. /out/target/product/g18ref/system/bin/tr69c2. /out/target/product/g18ref/system/lib/libcfmpsi.so 阅读全文
posted @ 2013-06-21 10:41 安心种田 阅读(218) 评论(0) 推荐(0) 编辑
摘要: 1. rm -rf out/target/product/g18ref/obj/EXECUTABLES/tr69c_intermediates2. rm -rf out/target/product/g18ref/obj/SHARED_LIBRARIES/libcfmpsi_intermediates 阅读全文
posted @ 2013-06-21 09:44 安心种田 阅读(178) 评论(0) 推荐(0) 编辑