Hi Support team!
1.JN-AN-1218-Zigbee-3-0-Light-Bulb
2.JN-AN-1216-Zigbee-3-0-IoT-ControlBridge
I have run this application on 2 JN5169 modules.USB Dongle as a Coordinator. DR1174 board as an End. => It works well
However, I try to connect cable to "End device" on UART0 with baud rate 115200 to get log
=> But never receive anything from portcom . As i know this UART to print log or Maybe I'm wrong
So. Is there a way to get a log from UART of End (DimmableLight), please guide me!
Thank you!
Actually. I only received one log "Set a ramdom pan"
As i see in in app_start_light.c
Log is printed with UART0? How can i get log? Help me!
Thanks
Hi Tran,
If you look into the app_start_light for example, the TRACE_START is defined as FALSE.
Look at the makefile.
# Define TRACE to use with DBG module
TRACE ?=1
ifeq ($(TRACE), 1)
CFLAGS += -DDBG_ENABLE
#Define to bump debug baud rate to 921600
#CFLAGS += -DDEBUG_921600
endif
At the begining, the c file has defined the next code.
#ifndef DEBUG_START_UP
#define TRACE_START FALSE
#else
#define TRACE_START TRUE
#endif
.
.
.
In this case, if you want to debug the applications, you should define as below.
CFLAGS += -DDEBUG_START_UP
Please let me know if you have issues with the log print.
Regards,
Mario
Thanks a lot. Hope you have nice day! :smileygrin: