How recovery network?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How recovery network?

1,221 Views
qidongli
Contributor II

While use JN-AN-1216-Zigbee-3-0-IoT-ControlBridge Project act to Coordinator node, I found a macro definition in the file as follows

#ifdef NETWORK_RECOVERY
#include "app_network_recovery.h"
#endif

If in file define NETWORK_RECOVERY macro, the compiler will prompt for an error, is remind not found "app_network_recovery.h" file,  the "app_network_recovery.h" file in where can found. If I want to recovery network, what should I do ?

Labels (1)
Tags (1)
5 Replies

1,060 Views
patrick_pan
NXP Employee
NXP Employee

Hi, Li

Currently , network recovery feature is not officially released in AN1216.

1,060 Views
qidongli
Contributor II

Hi,

When I try in Makefile define

NETWORK_RECOVERY       = 1  

An error occurs at compile time, below:

c:/NXP/Application/JN-AN-1216-Zigbee-3-0-IoT-ControlBridge/Source/ZigbeeNodeControlBridge/app_Znc_cmds.c:64:34: fatal error: app_network_recovery.h: No such file or directory
compilation terminated.
make: *** [app_Znc_cmds.o] Error 1

This question need remove "app_network_recovery.h" file, Then recompile?

Regards,

Liqidong

0 Kudos

1,060 Views
mario_castaneda
NXP TechSupport
NXP TechSupport

Hi,

Please define the NETWORK_RECOVERY=1 in the Makefile.

###############################################################################
# commands options
# enable optional commands as required per applicaion.

NETWORK_RECOVERY       = 1 
STACK_MEASURE          ?= 0
APP_AHI_CONTROL        ?= 1

###############################################################################

Regards,

Mario

0 Kudos

1,060 Views
nguyenanhgiau10
Contributor IV

Hi Mario,

Where do I can find app_network_recovery.c file?

0 Kudos

1,060 Views
mario_castaneda
NXP TechSupport
NXP TechSupport

Hi Giau,

Network recovery feature is not officially released in AN1216.

Mario

0 Kudos