This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Serial pass-through on PCA10059 (nRF58240) dongle

I am sending data over air from an XBee in transparent mode to an nRF52840 dongle as ZC.

The data is going over the air from the source and destination addresses using a sniffer and

the network is properly joined to by the XBee router

How do I see the serial data coming out on the serial port ?

Parents Reply
  • Hi 

    I am not sure what you mean regarding "stock firmware". The PCA10059 dongle is not made only for Zigbee, and out of the box it is only delivered with a USB bootloader in order to allow you to flash it with whatever application you want to run on it. 

    Can you confirm which SDK example you have flashed into the dongle, and which version of the SDK you are using?

    Best regards
    Torbjørn

Children
  • It has not been programmed with anything. It is simply as it was received and I tell it to be a zc

    usin:

    bdb role zc

    bdb start

    The company we are working with said it only has the firmware it is shipped with.

    Is there an example you recommend that will allow serial data to pass out onto a terminal

    for processing e.g. with python etc.?

  • Hi 

    I assume the dongle responds appropriately to the commands you send in the terminal? 

    Are you addressing the data sent directly to the dongle?

    Have you tried to ping it to see if there is any response?

    I have sent a request to the Zigbee team if there is anything in particular you need to do to print incoming messages to the CLI terminal. 

    Do you happen to have an nRF52840DK as well to test with?
    It is highly recommended to get a DK if you need to make any changes to the standard examples. 

    Best regards
    Torbjørn

  • Hi again

    A suggestion from one of my colleagues was to run the following command:

    log enable info zigbee.report

    Can you give this a go and see if you can see the incoming messages?

    Best regards
    Torbjørn

  • I have enabled reporting as follows:

    bdb start 

    bdb legacy enable

    log enable info app

    log enable info zigbee.report

    No don't see any frames arriving from XCTU which are verified as going over the air with my sniffer

    If I was sending data from an XBee on cluster address 11, SE=E8, DE=E8 in transparent (or API mode) is there a CLI command to read the buffered message back to CLI ?

    The back end code is written in Python and sends the data to Azure, I just want to check the messages from our device are arriving.

    I think it may use the zdo command ? Too much to do to read 5000 pages of documentation, I just want to know how to read messages that I see going over air to 16 bit address 0x0000 on the same network, that is the ZC receiving data from my XBee device.

  • Hi 

    I will have to wait for my colleagues with more Zigbee experience to get back next week, and get some help with this. 

    Sorry for the delay. 

    Best regards
    Torbjørn

Related