How recovery network?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How recovery network?

1,697件の閲覧回数
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 ?

ラベル(1)
タグ(1)
5 返答(返信)

1,536件の閲覧回数
patrick_pan
NXP Employee
NXP Employee

Hi, Li

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

1,536件の閲覧回数
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 件の賞賛
返信

1,536件の閲覧回数
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 件の賞賛
返信

1,536件の閲覧回数
nguyenanhgiau10
Contributor IV

Hi Mario,

Where do I can find app_network_recovery.c file?

0 件の賞賛
返信

1,536件の閲覧回数
mario_castaneda
NXP TechSupport
NXP TechSupport

Hi Giau,

Network recovery feature is not officially released in AN1216.

Mario

0 件の賞賛
返信