This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

LAUNCHXL-CC2650: Printing different events in zstack

Part Number: LAUNCHXL-CC2650
Other Parts Discussed in Thread: CC2650

Hi,

We are using cc2650 and zstack 1.2.2.a home automation.

We want to print debug messages on serial port for different  events of z stack such as beancon started, end device become orphan, received short address, binding process done successfully using ezmode.

We are write down code for printing debug messages on serial port in application and tested. 

Guide me for following points:

1. Can i know this events at application side since we have different project for zstack? if yes tell me method.

2. Is it recomended to use serial driver code in zstack project? if no please tell me how to print messages for zstack project and zstack different events?

3. Any already exiting method for printing messages on mentioned Zstack events?

Thanks you.

  • You can try to check different state in Zstart_processStateChange function in zstart.c. I suppose you can use UART to output state message but you have to add UART related code by yourself.

  • Hi Dhiraj,

    I think you can repurpose the ZNP's NPI UART driver to accomplish your application needs, given there is enough flash memory available to support it.  You can refer to the NPI User's Guide and ZNP Interface Specification documentation for more information.

    Regards,
    Ryan