# API mode AT command packet type 08 and 09

**URL:** <https://forums.digi.com/t/api-mode-at-command-packet-type-08-and-09/3115>\
**Category:** Python\
**Created:** [February 18, 2013, 12:50pm UTC](https://forums.digi.com/t/api-mode-at-command-packet-type-08-and-09/3115 "2013-02-18T12:50:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Silverslide](https://avatars.discourse-cdn.com/v4/letter/s/57b2e6/32.png) [@Silverslide](https://forums.digi.com/u/Silverslide)\
**Post date:** [February 18, 2013, 12:50pm UTC](https://forums.digi.com/t/api-mode-at-command-packet-type-08-and-09/3115/1 "2013-02-18T12:50:15Z")

</div>

Hello,

I am writing some code to send API packets. I can send API packets types 08 and 09 and my zigbee replies to them correctly. So I can query parameters.

Problem: Setting parameters  
I am trying to change parameters like NJ or BD etc. The problem is they don’t actually change. I run my code to change parameters and then read all values in XCTU but notice that they haven’t changed.

I also added an apply changes (AC) command but still no result. Now I also added a write (WR) which writes these parameters too non-volatile memory for persitency and then it finally works (in XCTU for the moment but will check my own program later).

My question is, is it necessary to always do a WR command? And how often can I do a WR since writing to non-volatile memory is limited. How many writes can we expect? I am often going to change setting of nodes but I could rely on them being powered all the time so this write is not needed. But even for development, how often can I do this ?

Rgds,

Silver
