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.

NV读写工具

Other Parts Discussed in Thread: Z-STACK

你好,

    请问一下有没有一个读写NV的工具?

   开NV保存网络,是具体保存哪几条NV?

谢谢

JKING

  • 1  有专门的API 

      uint8 osal_nv_read( uint16 id, uint16 offset, uint16 len, void *buf );

      uint8 osal_nv_write( uint16 id, uint16 offset, uint16 len, void *buf );

    2  在z-stack中,每一个参数的配置对应的是一个Nv条目(item),每一个item都有自己的ID,z-stack中使用的条目ID范围如下:

        0x0000                              保留

        0x0001~0x0020              操作系统抽象层(OSAL)

        0x0021~0x0040              网络层(NWK)

        0x0041~0x0060              应用程序支持子层(APS)

        0x0061~0x0080              安全(Security)

        0x0081~0x00A0             Zigbee设备对象(ZDO)

        0x00A1~0x0200             保留

        0x0201~0x0FFF              应用程序

        0x1000~0xFFFF              保留


  • 你好,

       请问有没有Windows下的专门工具去读取呢

  • 有的,用Ztool就可以

    C:\Texas Instruments\Z-Stack Home 1.2.2.42930\Tools\Z-Tool