How & what to save provisioning configuration set by meshctl utility into flash memory of NRF52840-PDK ??


Vikrant More <vikrant8051@...>
 

Now I able able to access, first byte send by "onoff" command after editing get_onoff_set( ) function as follow;

static void gen_onoff_set(struct bt_mesh_model *model,
              struct bt_mesh_msg_ctx *ctx,
              struct net_buf_simple *buf)
{    

        unsigned char tmp = net_buf_simple_pull_u8(buf);
   
        NRF_P0->OUTSET |= 0x0001E000;

        switch (tmp)
        {
           case 0:     NRF_P0->OUT &= ~(1<<13);  break;
           case 1:     NRF_P0->OUT &= ~(1<<14);  break;   
        }
}

---------------------------------------------------------------------------------------------------------------------------------------

Am also able to connect mesh n/w using "connect 0000" command.

---------------------------------------------------------------------------------------------------------------------------------------

Now I want to save configuration set by meshctl utilitty into flash memory of nRF52840-PDK board.

Plus I don't know what to save from that configuration.
 
Does anyone have knowledge about it ?

---------------------------------------------------------------------------------------------------------------------------------------
 

Join {users@lists.zephyrproject.org to automatically receive all group messages.