CC2530 sdk 2.5.1a sample历程基础出现多个终端网络短地址一样的问题
一个协调器带三个终端设备
都开启了NV存储
协调器打印:
shortAddr = 81F6 age = 0 devStatus = 8 mac = : B5 F0 E2 09 00 4B 12 00
shortAddr = FFFF age = 255 devStatus = 255 mac = : 00 00 00 00 00 00 00 00
shortAddr = FFFF age = 255 devStatus = 255 mac = : 00 00 00 00 00 00 00 00
shortAddr = FFFF age = 255 devStatus = 255 mac = : 00 00 00 00 00 00 00 00
shortAddr = FFFF age = 255 devStatus = 255 mac = : 00 00 00 00 00 00 00 00
shortAddr = FFFF age = 255 devStatus = 255 mac = : 00 00 00 00 00 00 00 00
shortAddr = FFFF age = 255 devStatus = 255 mac = : 00 00 00 00 00 00 00 00
shortAddr = FFFF age = 255 devStatus = 255 mac = : 00 00 00 00 00 00 00 00
shortAddr = FFFF age = 255 devStatus = 255 mac = : 00 00 00 00 00 00 00 00
shortAddr = FFFF age = 255 devStatus = 255 mac = : 00 00 00 00 00 00 00 00
shortAddr = FFFF age = 255 devStatus = 255 mac = : 00 00 00 00 00 00 00 00
shortAddr = FFFF age = 255 devStatus = 255 mac = : 00 00 00 00 00 00 00 00
shortAddr = FFFF age = 255 devStatus = 255 mac = : 00 00 00 00 00 00 00 00
无论终端怎么清除nv信息重新入网,三个终端都是获取到同一个网络短地址81F6
协调器清除NV信息重新建立新网络也是一样的问题,网络短地址改变,但是三个终端依然是同一个短地址
user4822357:
无论怎么样换着来当协调器这里的MAC地址都是mac = : B5 F0 E2 09 00 4B 12 00,mac是由AddrMgrEntryGet获取
for(uint8 i = 0; i < NWK_MAX_DEVICES; i++){// set up device infoaddrEntry.user= ADDRMGR_USER_DEFAULT;addrEntry.index = i;AddrMgrEntryGet(&addrEntry);Uart_printf("shortAddr = %04Xage = %ddevStatus = %d mac = : ",temp[i].shortAddr,temp[i].age, temp[i].devStatus);for(uint8 j = 0; j < 8; j++){Uart_printf(" %02X",addrEntry.extAddr[j]);}Uart_printf("\r\n");}
user4822357:
回复 user4822357:
MAC地址都是mac = : B5 F0 E2 09 00 4B 12 00这不是任何一个设备的地址,不清楚怎么回事
Viki Shi:
回复 user4822357:
是否能用新一点的协议栈测试一下,比如zstack home?