文章分类 -  TR69

摘要:1. deviceconfig中, ConfigFile的长度32K, 是32000还是32 * 1024. 是32768.2. time文件中, 类型为datetime的长度处理。 长度为0.3. time文件, currentlocaltime,读写类型。 读写类型为2.4. userinterface文件中, ISPLogoSize,长度为【0:4095】5. 阅读全文
posted @ 2013-06-04 11:33 安心种田 阅读(170) 评论(0) 推荐(0)
摘要:1, 节点 文件信息 参数1, gatewayinfo, 在创建文件名以及读取文件gatewayinfo中有作用。 参数2, gwInfoDesc, 在节点描述文件TRxObjNode gwInfoDesc中有用到。 阅读全文
posted @ 2013-06-03 11:43 安心种田 阅读(211) 评论(0) 推荐(0)
摘要:1. rootparams.h中 添加 SVAR(GatewayInfo);2. rootparams.c文件中 去掉 gwInfoDesc[]的注释。3. 下面要进行 生成gatewayinfoparams.c文件 其中有gwInfoDesc[]节点描述 TRxObjNode gwInfoDesc[] = {... }4. 在gatewayinfoparams.h文件中 声明gwInfoDesc[]={}中 各个parameter的SVAR(parameter);5. 在 gatewayinfoparams.c文件中 声明TRXGFUNC (parameter);6. 在gatewayin. 阅读全文
posted @ 2013-05-31 18:04 安心种田 阅读(282) 评论(0) 推荐(0)
摘要:以Device下的Device.DeviceInfo为例1. grep DeviceInfo -r ./ (1) rootparams.h 文件中 /* InternetGatewayDevice.DeviceInfo. */ SVAR(DeviceInfo); (2) rootparams.c 文件中 TRxObjNode DeviceDesc[] = {.... {DeviceInfo,{{tObject,0,0}}, NULL,NULL, deviceInfoDesc,NULL}, ....2. grep deviceInfoDesc -r ./ (1) rootparams.c ... 阅读全文
posted @ 2013-05-31 17:26 安心种田 阅读(507) 评论(0) 推荐(0)
摘要:1. external/tr69c/inc/tr69cdefs.htypedef struct TRxObjNode{ const char *name; TRxPAtrrib paramAttrib; TRxSETFUNC setTRxParam; /* only set if param is writeable */ TRxGETFUNC getTRxParam; void *objDetail; InstanceDope *instanceDope;}TRxObjNode;2. (1)typedef union TRxPAttrib { struct Attrib { eTRxType 阅读全文
posted @ 2013-05-31 15:11 安心种田 阅读(322) 评论(0) 推荐(0)
摘要:安装了ssh后, 想卸载, 卸不掉。打卡ubuntu software center, 查看history.】再用apt-get remove 卸载相应选项。 阅读全文
posted @ 2013-05-30 10:35 安心种田 阅读(153) 评论(0) 推荐(0)