LAUNCHXL-CC1352P: Issue: Router crashes when join into the network.

Part Number: LAUNCHXL-CC1352P

Tool/software:

There are multiple coordinators in the environment, all of whom have closed the Permit Job. If the router fails to detect the possibility of joining the network, it will crash.

it is. This issue is caused by the function 'bdb_filterNwkDisc'. It can be fixed like this.

Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
void bdb_filterNwkDisc(void)
{
networkDesc_t* pNwkDesc;
uint8_t i = 0;
uint8_t ResultCount = 0, ResultTotal = 0;
pBDBListNwk = nwk_getNwkDescList();
nwk_desc_list_release();
pNwkDesc = pBDBListNwk;
while (pNwkDesc)
{
ResultCount++;
pNwkDesc = pNwkDesc->nextDesc;
}
ResultTotal = ResultCount;
if(pBDBListNwk)
{
pNwkDesc = pBDBListNwk;
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX