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.

CC1352P: CC1352P

Hi everyone,
I have tried DMM example code in "simplelink_cc13xx_cc26xx_sdk_6_10_00_29" on CC1352P-4, example "dmm_zr_light_remote_display_oad_app"


I need user install zigbee panId manually. They will connect to CC1352P-4 via bluetooth of smartphone, user enter new panId, press save, so it will be in external flash (MX25R8035FZUIL0 flash).


Therefore, instead of using the default "ZDAPP_CONFIG_PAN_ID", I will call the new panId from the external flash each time CC1352 boots.


I think it's related to internal flash too.
So, pls give me the advice for resolving the this problem.
Thank you.

  • Hi Minh,

    The device's Zigbee Pan ID can be altered during run-time, this can be accomplished by calling Zstackapi_sysConfigWriteReq using the zstack_sysConfigWriteReq_t has_panID and panID parameters.  See the Z-Stack User's Guide or the uiActionProcessConfigurePanId function of zcl_sampleapps_ui.c for examples.

    External flash should not be needed to accomplish this.  The DMM OAD-enabled projects use external flash to store factory and download images.  Also, the Pan ID cannot be changed once a device enters a Zigbee network.  The device would have to leave its existing network and perform a factory reset (i.e. remove NV information) to change its Pan ID.

    Regards,
    Ryan

  • Thank Ryan,

    I will try as your instruction, and update result later.

  • Hi Ryan,

    The "Zstackapi_sysConfigWriteReq" help me understand few things. Although there are still some problems, I will handle gradually.

    Thank you again.