因为之前的工程是基于SerialApp修改的,移植到Home1.2.0后,可以加网成功,但是发完20多个RataRequest便重启,重新加网(未开NV),如此循环。
原来的工程serialApp是可以正常工作的。
Home1.2.0我也尝试修改出SampleSwitch的ED进行加网,工作正常。
也尝试将未修改的SerialApp直接放入Home1.2.0中进行编译,烧写,一样的现象,依旧会重启。
编译完成一直会有四个warning(编译SampleSwitch 无任何Warning):
Warning[w6]: Type conflict for external/entry "MAC_McpsDataAlloc", in module zmac against external/entry in module mac_beacon; function return types are
different; class/struct/union types have different sizes
Warning[w6]: Type conflict for external/entry "MAC_McpsDataReq", in module zmac against external/entry in module mac_beacon; function types differ in parameter 1; class/struct/union types have different sizes
Warning[w6]: Type conflict for external/entry "pMacDataTx", in module mac_rx against external/entry in module mac_beacon; class/struct/union types have different sizes
Warning[w6]: Type conflict for external/entry "MAC_CbackEvent", in module mac_beacon against external/entry in module zmac_cb; function types differ in
parameter 1; class/struct/union field/base types do not match for field/base 'dataCnf'; class/struct/union field/base types do not match for field/base 'pDataReq'; class/struct/union types have different sizes
暂未找到什么情况引起,特来问看看?