Implementation of Zigbee cli function calls in Shell

Hello Support,


For my Zigbee Coordinator development I use nrf Connect SDK 1.9.1 (for now), and VS, I like using Kconfig GUI as much as possible. 

I'm trying to find some reference or documentation that shows the BDB START (as example) shell commands and what it actually calls.
The shell bdb api document doesn't actually describe what it calls from what I can find when searching on "bdb start".
https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/libraries/zigbee/shell.html#bdb-start


So when people (Marte suggestion in other ticket) say "use the function call" zb_bdb_close_network() as example, what is the actual bdb command?
It does not show in Nordic Coordinator example using 1.9.1 SDK in shell bdb commands.
Looks like I have to add this function?

Same applies to ZDO commands.
As example since I know how this is implemented in Shell cmd: zdo mgmt_lqi
If I search in ZDO API ref docs for "mgmt_lqi" nothing shows up. 
https://developer.nordicsemi.com/nRF_Connect_SDK/doc/zboss/3.9.0.1/group__zdo__api.html

If I search for "mgmt_lqi" in VS  in my coordinator application folder nothing shows up.

Where does "mgmt_lqi" exist?

Perhaps there a document how this works or video tutorial what I have to do to implement?
I see reference to a bunch of call functions in API documentation that would be useful, but how do I implement them using shell CLI commands?

Cheers,
Jorgen

Parents
  • Thanks Marte,


    Wow, it looks to be quite complicated to add function calls but your directions and explanation will help a lot, thanks!
    One can probably do an educated guess to find the shell commands and associated function calls but wanted to make sure I didn't miss something.
    Thanks for the "bdb_c stop" example how to add a command. I will give this a try.

    Just a general question:
    Am I doing something very different from others how to implement a coordinator (using shell and cli)  or is this what everyone is spending time on coding?
    Seem like many of the "hooks" are missing to really utilize the Zigbee stack capabilities without a lot of custom coding?

    If there is a easier/better way feel free to suggest it.


    Have a great time off & Glad Midsummer,

    Jorgen

Reply
  • Thanks Marte,


    Wow, it looks to be quite complicated to add function calls but your directions and explanation will help a lot, thanks!
    One can probably do an educated guess to find the shell commands and associated function calls but wanted to make sure I didn't miss something.
    Thanks for the "bdb_c stop" example how to add a command. I will give this a try.

    Just a general question:
    Am I doing something very different from others how to implement a coordinator (using shell and cli)  or is this what everyone is spending time on coding?
    Seem like many of the "hooks" are missing to really utilize the Zigbee stack capabilities without a lot of custom coding?

    If there is a easier/better way feel free to suggest it.


    Have a great time off & Glad Midsummer,

    Jorgen

Children
Related