记录几个问题: *********************************** 1、 有关设备的启动模式选项:(有待完善): 非自动启动模式 HOLD_AUTO_START:HOLD_AUTO_START is a compile option that will surpress ZDApp from starting the device and wait for the application to start the device
不通过 ZDApp(具体讲是 ZDOInitDevice())而是等待应用程序来开启设备并初始化建立/加入网络
软启动模式 SOFT_START:SOFT_START is a compile option that allows the device to start as a coordinator if one isn't found
Otherwise, the device will start as a router
如果没有协调器则作为协调器启动,有则作为路由器启动
自动启动模式:个人认为就是自动通过 ZDApp(具体讲是 ZDOInitDevice())来开启设备并初始化建立/加入网络,设备的逻辑类型由所携带的配置文件来决定
*********************************** *********************************** 2、三种逻辑类型节点的配置文件 协调器:f8wCoord
cfg 配置文件中同时编译了路由功能 RTR_NWK 和协调器功能 ZDO_COORDINATOR /* Common To All Applications */ -DCPU32MHZ // CC2430s Run at 32MHz -DFORCE_MAC_NEAR // M