<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Using Simple message model.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/37269/using-simple-message-model</link><description>Hi, 
 I have certain doubts regarding simple message model . 
 1. Why simple_message_client_init or simple_message_server_init is never used? Don&amp;#39;t we need this function to bind model to the element? 
 2. I am sending a message from client to server.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 26 Nov 2018 16:21:06 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/37269/using-simple-message-model" /><item><title>RE: Using Simple message model.</title><link>https://devzone.nordicsemi.com/thread/159092?ContentTypeID=1</link><pubDate>Mon, 26 Nov 2018 16:21:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9384aa1f-9780-4770-86cc-66111b6f12fc</guid><dc:creator>turki</dc:creator><description>&lt;ul&gt;
&lt;li class="attribute-item close"&gt;Case ID: 218518&lt;/li&gt;
&lt;li class="attribute-item close"&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/40903/problem-in-adding-and-configuring-a-model-to-an-example-like-in-case-id-212035"&gt;devzone.nordicsemi.com/.../problem-in-adding-and-configuring-a-model-to-an-example-like-in-case-id-212035&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using Simple message model.</title><link>https://devzone.nordicsemi.com/thread/159081?ContentTypeID=1</link><pubDate>Mon, 26 Nov 2018 15:21:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:30eb82a0-3481-4075-b771-78268a4014ff</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/turki"&gt;turki&lt;/a&gt;It seems this case was made private. Hence it is not visible to you. Could you please create a new devzone case?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using Simple message model.</title><link>https://devzone.nordicsemi.com/thread/159015?ContentTypeID=1</link><pubDate>Mon, 26 Nov 2018 12:33:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:28a7ab50-d785-4851-97f0-4e605ab6051d</guid><dc:creator>turki</dc:creator><description>&lt;p&gt;hello Arya&amp;nbsp;&lt;/p&gt;
&lt;p&gt;where are you using the&amp;nbsp;&lt;span&gt;RSSI_server_index_get() function and why ?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using Simple message model.</title><link>https://devzone.nordicsemi.com/thread/158975?ContentTypeID=1</link><pubDate>Mon, 26 Nov 2018 09:27:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:10a0fa63-293e-43a8-96ab-ca7adf099791</guid><dc:creator>turki</dc:creator><description>&lt;p&gt;&lt;span&gt;case ID:213044 is not available&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;i have the same issue&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using Simple message model.</title><link>https://devzone.nordicsemi.com/thread/146315?ContentTypeID=1</link><pubDate>Wed, 29 Aug 2018 12:55:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2948bf8e-e570-47e7-a314-9a091ffa5c38</guid><dc:creator>Arya</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/37960/adding-new-model-in-ble-mesh" rel="noopener noreferrer" target="_blank"&gt;New case link.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;case ID:213044&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using Simple message model.</title><link>https://devzone.nordicsemi.com/thread/146128?ContentTypeID=1</link><pubDate>Tue, 28 Aug 2018 13:08:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:21ac6afd-62a9-4cec-9be7-91d63daa6534</guid><dc:creator>Arya</dc:creator><description>&lt;p&gt;Okay Bj&amp;oslash;rn, will do that. Thank you&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using Simple message model.</title><link>https://devzone.nordicsemi.com/thread/146127?ContentTypeID=1</link><pubDate>Tue, 28 Aug 2018 13:03:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:76da7bfe-e994-43b4-92ae-99d84797427c</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;Hi Arya,&lt;/p&gt;
&lt;p&gt;Yes, please create a new case. Could you please comment here what the case ID of the new case is and/or upload a link to your new case?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using Simple message model.</title><link>https://devzone.nordicsemi.com/thread/146057?ContentTypeID=1</link><pubDate>Tue, 28 Aug 2018 08:44:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ac05faca-a0a7-4ab7-814d-aadd33bf1dc2</guid><dc:creator>Arya</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I think the error is in the way that I am adding the new model because, publish_appkey_handle, publish_address_handle, and opcodes are invalid in the function check_tx_params. Problem might be with the element index I guess. Should I begin&amp;nbsp; a new case for this?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using Simple message model.</title><link>https://devzone.nordicsemi.com/thread/145282?ContentTypeID=1</link><pubDate>Wed, 22 Aug 2018 10:54:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f864ead2-f2a7-4da0-9477-d5e46a6f806e</guid><dc:creator>Arya</dc:creator><description>&lt;p&gt;Hi Bj&amp;oslash;rn,&lt;/p&gt;
&lt;p&gt;My error comes from simple_RSSI_client_set_unreliable -&amp;gt; access_model_publish -&amp;gt; packet_tx -&amp;gt; check_tx_params. I think the way I am setting the publishing address is wrong. Or is it something related to provisioning? Can you please check the way I am initiating model and setting address to send message. Probably there will be something wrong I guess.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using Simple message model.</title><link>https://devzone.nordicsemi.com/thread/145127?ContentTypeID=1</link><pubDate>Tue, 21 Aug 2018 12:28:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c1f4e2a0-42c4-4487-a88e-e16bdc071484</guid><dc:creator>Arya</dc:creator><description>&lt;p&gt;Provisioner Log:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;lt;t:          0&amp;gt;, main.c,  550, ----- BLE Mesh Light Switch Provisioner Demo -----
&amp;lt;t:          0&amp;gt;, mesh_softdevice_init.c,  112, Initializing SoftDevice...
&amp;lt;t:          0&amp;gt;, mesh_softdevice_init.c,   77, Enabling BLE...
&amp;lt;t:          1&amp;gt;, mesh_softdevice_init.c,   88, Ram base: 0x200032C8
&amp;lt;t:        604&amp;gt;, main.c,  488, Initializing and adding models
&amp;lt;t:        617&amp;gt;, main.c,  531, Setup defaults: Adding keys, addresses, and bindings 
&amp;lt;t:        769&amp;gt;, provisioner_helper.c,  329, netkey_handle: 0
&amp;lt;t:        781&amp;gt;, main.c,  578, &amp;lt;start&amp;gt; 
&amp;lt;t:      27358&amp;gt;, main.c,  117, Flash write complete
&amp;lt;t:      27360&amp;gt;, main.c,  565, Starting application ...
&amp;lt;t:      27362&amp;gt;, main.c,  567, Provisoned Nodes: 0, Configured Nodes: 0 Next Address: 0x0100
&amp;lt;t:      27366&amp;gt;, main.c,  568, Dev key : B3A51809537338801488B944EDE54B01
&amp;lt;t:      27369&amp;gt;, main.c,  569, Net key : 68F6AC161BB591FD9248501CF195BFF4
&amp;lt;t:      27372&amp;gt;, main.c,  570, App key : F927212BDC82948FB0A60E1992F5EE3A
&amp;lt;t:      27375&amp;gt;, main.c,  571, Press Button 1 to start provisioning and configuration process. 
0&amp;lt;t:    2635493&amp;gt;, main.c,  448, Button 1 pressed
&amp;lt;t:    2635495&amp;gt;, main.c,  361, Waiting for Client node to be provisioned ...
&amp;lt;t:    2640249&amp;gt;, provisioner_helper.c,  282, Scanning For Unprovisioned Devices
&amp;lt;t:    2667060&amp;gt;, provisioner_helper.c,  144, UUID seen: 0059FFFF00000000108AD6A930A6E556
&amp;lt;t:    2696197&amp;gt;, provisioner_helper.c,  144, UUID seen: 0059ABCDEFABCDEFACCDEFABCDEFABCD
&amp;lt;t:    2696200&amp;gt;, provisioner_helper.c,   95, UUID filter matched
&amp;lt;t:    2696652&amp;gt;, provisioner_helper.c,  259, Provisioning link established
&amp;lt;t:    2710138&amp;gt;, provisioner_helper.c,  254, Static authentication data provided
&amp;lt;t:    2722171&amp;gt;, provisioner_helper.c,  192, Provisioning completed received
&amp;lt;t:    2722174&amp;gt;, provisioner_helper.c,  197, Adding device address, and device keys
&amp;lt;t:    2722179&amp;gt;, provisioner_helper.c,  214, Addr: 0x0100 addr_handle: 0 netkey_handle: 0 devkey_handle: 2
&amp;lt;t:    2726297&amp;gt;, provisioner_helper.c,  155, Local provisioning link closed: prov_state: 2  remaining retries: 2
&amp;lt;t:    2726301&amp;gt;, main.c,  282, Provisioning successful
&amp;lt;t:    2726303&amp;gt;, provisioner_helper.c,  181, Provisioning complete. Node addr: 0x0100 elements: 5
&amp;lt;t:    2726307&amp;gt;, node_setup.c,  672, Configuring Node: 0x0100
&amp;lt;t:    2726310&amp;gt;, node_setup.c,  586, Config client setup: devkey_handle:2 addr_handle:0
&amp;lt;t:    2726313&amp;gt;, node_setup.c,  361, Getting composition data
&amp;lt;t:    2726377&amp;gt;, main.c,  117, Flash write complete
&amp;lt;t:    2780045&amp;gt;, main.c,  332, Config client event
&amp;lt;t:    2780048&amp;gt;, node_setup.c,  371, Adding appkey
&amp;lt;t:    2800057&amp;gt;, main.c,  332, Config client event
&amp;lt;t:    2800059&amp;gt;, node_setup.c,  234, Unexpected opcode: exp 0x8003  rx 0x0002
&amp;lt;t:    2809682&amp;gt;, main.c,  332, Config client event
&amp;lt;t:    2809684&amp;gt;, node_setup.c,  272, opcode status field: 0 
&amp;lt;t:    2809687&amp;gt;, node_setup.c,  382, App key bind: Health server
&amp;lt;t:    2810584&amp;gt;, main.c,  332, Config client event
&amp;lt;t:    2810586&amp;gt;, node_setup.c,  272, opcode status field: 0 
&amp;lt;t:    2810589&amp;gt;, node_setup.c,  450, Setting publication address for the health server to 0x0001
&amp;lt;t:    2813780&amp;gt;, main.c,  332, Config client event
&amp;lt;t:    2813782&amp;gt;, node_setup.c,  272, opcode status field: 0 
&amp;lt;t:    2813784&amp;gt;, node_setup.c,  416, App key bind: Simple On/Off client on element 0x0101
&amp;lt;t:    2815287&amp;gt;, main.c,  332, Config client event
&amp;lt;t:    2815290&amp;gt;, node_setup.c,  272, opcode status field: 0 
&amp;lt;t:    2815292&amp;gt;, node_setup.c,  416, App key bind: Simple On/Off client on element 0x0102
&amp;lt;t:    2815979&amp;gt;, main.c,  332, Config client event
&amp;lt;t:    2815981&amp;gt;, node_setup.c,  272, opcode status field: 0 
&amp;lt;t:    2815984&amp;gt;, node_setup.c,  416, App key bind: Simple On/Off client on element 0x0103
&amp;lt;t:    2816935&amp;gt;, main.c,  332, Config client event
&amp;lt;t:    2816937&amp;gt;, node_setup.c,  272, opcode status field: 0 
&amp;lt;t:    2816939&amp;gt;, node_setup.c,  416, App key bind: Simple On/Off client on element 0x0104
&amp;lt;t:    2817875&amp;gt;, main.c,  332, Config client event
&amp;lt;t:    2817877&amp;gt;, node_setup.c,  272, opcode status field: 0 
&amp;lt;t:    2817880&amp;gt;, node_setup.c,  301, Set: on/off client: 0x0101  pub addr: 0x0105
&amp;lt;t:    2821600&amp;gt;, main.c,  332, Config client event
&amp;lt;t:    2821602&amp;gt;, node_setup.c,  272, opcode status field: 0 
&amp;lt;t:    2821605&amp;gt;, node_setup.c,  301, Set: on/off client: 0x0102  pub addr: 0x0106
&amp;lt;t:    2825063&amp;gt;, main.c,  332, Config client event
&amp;lt;t:    2825065&amp;gt;, node_setup.c,  272, opcode status field: 0 
&amp;lt;t:    2825067&amp;gt;, node_setup.c,  301, Set: on/off client: 0x0103  pub addr: 0xC002
&amp;lt;t:    2829581&amp;gt;, main.c,  332, Config client event
&amp;lt;t:    2829583&amp;gt;, node_setup.c,  272, opcode status field: 0 
&amp;lt;t:    2829586&amp;gt;, node_setup.c,  301, Set: on/off client: 0x0104  pub addr: 0xC002
&amp;lt;t:    2833837&amp;gt;, main.c,  332, Config client event
&amp;lt;t:    2833839&amp;gt;, node_setup.c,  272, opcode status field: 0 
&amp;lt;t:    2833842&amp;gt;, main.c,  248, Configuration of device 0 successful
&amp;lt;t:    2833845&amp;gt;, provisioner_helper.c,  282, Scanning For Unprovisioned Devices
&amp;lt;t:    2833902&amp;gt;, main.c,  117, Flash write complete
&amp;lt;t:    2864209&amp;gt;, provisioner_helper.c,  144, UUID seen: 0059FFFF00000000108AD6A930A6E556
&amp;lt;t:    2864212&amp;gt;, provisioner_helper.c,   95, UUID filter matched
&amp;lt;t:    2864727&amp;gt;, provisioner_helper.c,  259, Provisioning link established
&amp;lt;t:    2877566&amp;gt;, provisioner_helper.c,  254, Static authentication data provided
&amp;lt;t:    2890351&amp;gt;, provisioner_helper.c,  192, Provisioning completed received
&amp;lt;t:    2890354&amp;gt;, provisioner_helper.c,  197, Adding device address, and device keys
&amp;lt;t:    2890359&amp;gt;, provisioner_helper.c,  214, Addr: 0x0105 addr_handle: 1 netkey_handle: 0 devkey_handle: 3
&amp;lt;t:    2894056&amp;gt;, provisioner_helper.c,  155, Local provisioning link closed: prov_state: 2  remaining retries: 2
&amp;lt;t:    2894060&amp;gt;, main.c,  282, Provisioning successful
&amp;lt;t:    2894062&amp;gt;, provisioner_helper.c,  181, Provisioning complete. Node addr: 0x0105 elements: 2
&amp;lt;t:    2894066&amp;gt;, node_setup.c,  672, Configuring Node: 0x0105
&amp;lt;t:    2894069&amp;gt;, node_setup.c,  586, Config client setup: devkey_handle:3 addr_handle:1
&amp;lt;t:    2894073&amp;gt;, node_setup.c,  361, Getting composition data
&amp;lt;t:    2894136&amp;gt;, main.c,  117, Flash write complete
&amp;lt;t:    2949503&amp;gt;, main.c,  332, Config client event
&amp;lt;t:    2949505&amp;gt;, node_setup.c,  371, Adding appkey
&amp;lt;t:    2952678&amp;gt;, main.c,  332, Config client event
&amp;lt;t:    2952680&amp;gt;, node_setup.c,  272, opcode status field: 0 
&amp;lt;t:    2952683&amp;gt;, node_setup.c,  382, App key bind: Health server
&amp;lt;t:    2953486&amp;gt;, main.c,  332, Config client event
&amp;lt;t:    2953489&amp;gt;, node_setup.c,  272, opcode status field: 0 
&amp;lt;t:    2953491&amp;gt;, node_setup.c,  397, App key bind: Simple On/Off server
&amp;lt;t:    2954236&amp;gt;, main.c,  332, Config client event
&amp;lt;t:    2954238&amp;gt;, node_setup.c,  272, opcode status field: 0 
&amp;lt;t:    2954241&amp;gt;, node_setup.c,  450, Setting publication address for the health server to 0x0001
&amp;lt;t:    2957459&amp;gt;, main.c,  332, Config client event
&amp;lt;t:    2957461&amp;gt;, node_setup.c,  272, opcode status field: 0 
&amp;lt;t:    2957464&amp;gt;, node_setup.c,  476, Set: on/off server pub addr: 0x0101
&amp;lt;t:    2960840&amp;gt;, main.c,  332, Config client event
&amp;lt;t:    2960843&amp;gt;, node_setup.c,  272, opcode status field: 0 
&amp;lt;t:    2960845&amp;gt;, node_setup.c,  487, Adding subscription
&amp;lt;t:    2962841&amp;gt;, main.c,  332, Config client event
&amp;lt;t:    2962843&amp;gt;, node_setup.c,  272, opcode status field: 0 
&amp;lt;t:    2962845&amp;gt;, main.c,  248, Configuration of device 1 successful
&amp;lt;t:    2962848&amp;gt;, provisioner_helper.c,  282, Scanning For Unprovisioned Devices
&amp;lt;t:    2962905&amp;gt;, main.c,  117, Flash write complete
&amp;lt;t:    3140366&amp;gt;, main.c,  311, Node 0x0100 alive with 0 active fault(s), RSSI: -53
&amp;lt;t:    3283386&amp;gt;, main.c,  311, Node 0x0105 alive with 0 active fault(s), RSSI: -50
&amp;lt;t:    3467786&amp;gt;, main.c,  311, Node 0x0100 alive with 0 active fault(s), RSSI: -52
&amp;lt;t:    3611803&amp;gt;, main.c,  311, Node 0x0105 alive with 0 active fault(s), RSSI: -44
&amp;lt;t:    3795738&amp;gt;, main.c,  311, Node 0x0100 alive with 0 active fault(s), RSSI: -52
&amp;lt;t:    3939276&amp;gt;, main.c,  311, Node 0x0105 alive with 0 active fault(s), RSSI: -47&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using Simple message model.</title><link>https://devzone.nordicsemi.com/thread/145122?ContentTypeID=1</link><pubDate>Tue, 21 Aug 2018 12:16:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0796b16a-5b3f-453c-8293-6a8ab9460570</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;Could you please also upload the provisioner log information? Mesh error 7 refers to&amp;nbsp;NRF_ERROR_INVALID_PARAM from nrf_error.h. It seems to me as if the client was successfully provisioned, but not configured. It would be useful to see the provisioner log to double check this assumption.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using Simple message model.</title><link>https://devzone.nordicsemi.com/thread/145115?ContentTypeID=1</link><pubDate>Tue, 21 Aug 2018 12:05:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aea2c9b0-0d4d-4307-a27c-f358f25c346e</guid><dc:creator>Arya</dc:creator><description>&lt;p&gt;Log of client:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;lt;t:          0&amp;gt;, main.c,  336, ----- BLE Mesh Light Switch Client Demo -----
&amp;lt;t:          0&amp;gt;, mesh_softdevice_init.c,  112, Initializing SoftDevice...
&amp;lt;t:          0&amp;gt;, mesh_softdevice_init.c,   77, Enabling BLE...
&amp;lt;t:          2&amp;gt;, mesh_softdevice_init.c,   88, Ram base: 0x200032C8
&amp;lt;t:        543&amp;gt;, main.c,  303, Initializing and adding models1
&amp;lt;t:       5405&amp;gt;, main.c,  364, Device UUID : 0059ABCDEFABCDEFACCDEFABCDEFABCD
&amp;lt;t:    1058393&amp;gt;, main.c,  127, Successfully provisioned
&amp;lt;t:    1058396&amp;gt;, main.c,  131, Node Address: 0x0100 
4&amp;lt;t:    2727012&amp;gt;, main.c,  228, Button 4 pressed
entering button 4 field
Sending to group address 0xCAFE
&amp;lt;t:    2759785&amp;gt;, app_error_weak.c,  105, Mesh error 7 at 0x00026B15 (C:\Users\arya\Desktop\Bluetooth\BLE Tools\mesh_V_2.0.1\mesh\nrf5_SDK_for_Mesh_v2.0.1_src_II\examples\Simple_RSSI\client\src\main.c:479)
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Log of server:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;lt;t:          0&amp;gt;, main.c,  236, ----- BLE Mesh Light Switch Server Demo -----
&amp;lt;t:          0&amp;gt;, mesh_softdevice_init.c,  112, Initializing SoftDevice...
&amp;lt;t:          0&amp;gt;, mesh_softdevice_init.c,   77, Enabling BLE...
&amp;lt;t:          2&amp;gt;, mesh_softdevice_init.c,   88, Ram base: 0x200032C8
&amp;lt;t:        584&amp;gt;, main.c,  204, Initializing and adding models
&amp;lt;t:       5456&amp;gt;, main.c,  264, Device UUID : 0059FFFF00000000108AD6A930A6E556
&amp;lt;t:      83213&amp;gt;, main.c,   97, Successfully provisioned
&amp;lt;t:      83215&amp;gt;, main.c,  101, Node Address: 0x0105 
&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using Simple message model.</title><link>https://devzone.nordicsemi.com/thread/145099?ContentTypeID=1</link><pubDate>Tue, 21 Aug 2018 11:28:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:15f4ba28-2549-4ecf-bead-29e621fe8603</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;Could you please upload the logging information from the client &amp;amp; server? You can run a debugging session using Segger Embedded Studio &amp;amp; just copy the logging information directly from the debug terminal.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using Simple message model.</title><link>https://devzone.nordicsemi.com/thread/145089?ContentTypeID=1</link><pubDate>Tue, 21 Aug 2018 10:52:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:28e03d9a-c2f7-4aec-9fcf-bcdcdb4dfd29</guid><dc:creator>Arya</dc:creator><description>&lt;p&gt;Hi Bj&amp;oslash;rn,&lt;/p&gt;
&lt;p&gt;Now I don&amp;#39;t get all those errors. But I can not send a string message. I added one button to send message using app timer in each one second using the the same function of simple message model, except that I am using my own API now. But it is returning NRF_ERROR_INVALID_PARAM. I know that this is because publication address allocation problem. How can I set my address properly? Or is it because model is not bound to appkey? The function is as shown below.&amp;nbsp;&lt;pre class="ui-code" data-mode="text"&gt;void address_new_set(uint16_t addr)                   //setting address for sending message
{
  ERROR_CHECK(dsm_address_publish_add(addr, &amp;amp;m_central_handle));
  ERROR_CHECK(access_model_publish_address_set(r_server.model_handle, m_central_handle));
}

void send_new_message(void)                         //function for sending a simple message
{
    uint32_t status=0;
    uint8_t buffer[5] = &amp;quot;hello&amp;quot;;
    uint8_t length;
    uint16_t address;
    access_message_tx_t msg;
    length = sizeof(buffer); 
    
    if(length)
    {
      address = 0xCAFE; 
      address_new_set(address);
      SEGGER_RTT_printf(0,&amp;quot;Sending to group address 0x%04x\n&amp;quot;, address);
      status= simple_RSSI_client_set_unreliable(r_clients.model_handle, &amp;amp;buffer, GROUP_MSG_REPEAT_COUNT);

      if(status == NRF_ERROR_INVALID_STATE ||
      status == NRF_ERROR_BUSY||
      status == NRF_ERROR_NO_MEM)
      {
        __LOG(LOG_SRC_APP, LOG_LEVEL_INFO, &amp;quot;Cannot send. Device is busy.\n&amp;quot;);
        hal_led_blink_ms(LEDS_MASK, 50, 4);
      }
      else
      {
         ERROR_CHECK(status);
      }
    }
  
}
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;I took this function from &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/29836/send-and-receive-a-string-via-access-layer"&gt;simple message model&lt;/a&gt; and modified it. &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using Simple message model.</title><link>https://devzone.nordicsemi.com/thread/144907?ContentTypeID=1</link><pubDate>Mon, 20 Aug 2018 11:07:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:40748453-ed5d-48e3-ae60-5b5fe7707abe</guid><dc:creator>Arya</dc:creator><description>&lt;p&gt;Hi Bj&amp;oslash;rn,&lt;/p&gt;
&lt;p&gt;It got resolved. I need only one switch for this model so I updated my function as this:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;static void models_init_cb(void)
{
    __LOG(LOG_SRC_APP, LOG_LEVEL_INFO, &amp;quot;Initializing and adding models1\n&amp;quot;);
    uint32_t status = 0;

    for (uint32_t i = 0; i &amp;lt; CLIENT_MODEL_INSTANCE_COUNT; ++i)
    {
        m_clients[i].status_cb = client_status_cb;
        m_clients[i].timeout_cb = client_publish_timeout_cb;
        status = simple_on_off_client_init(&amp;amp;m_clients[i], i + 1);
        ERROR_CHECK(status);
        if(status == NRF_SUCCESS)
          {
            printf(&amp;quot;NRF_SUCCESS\n&amp;quot;);
          }

        ERROR_CHECK(access_model_subscription_list_alloc(m_clients[i].model_handle));
    }
    
        r_clients.status_cb = client_RSSI_status_cb;
        r_clients.timeout_cb = client_publish_timeout_cb;
        
        status = simple_RSSI_client_init(&amp;amp;r_clients, 0);
        ERROR_CHECK(status);
        if(status == NRF_SUCCESS)
          {
            printf(&amp;quot;NRF_SUCCESS\n&amp;quot;);
          }
        ERROR_CHECK(access_model_subscription_list_alloc(r_clients.model_handle));
}
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;changed this function too RSSI_server_index_get().&lt;pre class="ui-code" data-mode="text"&gt;uint32_t index = p_client - &amp;amp;r_clients;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Also increased ACCESS_MODEL_COUNT. Now there is no error. Is this the correct way to do it? Assuming that this is the correct way to do it, how should I modify if I had more than one switch for this model?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using Simple message model.</title><link>https://devzone.nordicsemi.com/thread/144840?ContentTypeID=1</link><pubDate>Mon, 20 Aug 2018 07:12:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8a34fd32-342e-4926-b0db-7d6739b3ca80</guid><dc:creator>Arya</dc:creator><description>&lt;p&gt;Hi Bj&amp;oslash;rn,&lt;/p&gt;
&lt;p&gt;Sorry for the delay in reply. Error is coming from the function given below.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;static void models_init_cb(void)
{
    __LOG(LOG_SRC_APP, LOG_LEVEL_INFO, &amp;quot;Initializing and adding models1\n&amp;quot;);
    uint32_t status = 0;

    for (uint32_t i = 0; i &amp;lt; CLIENT_MODEL_INSTANCE_COUNT; ++i)
    {
        m_clients[i].status_cb = client_status_cb;
        m_clients[i].timeout_cb = client_publish_timeout_cb;
        r_clients[i].status_cb = client_RSSI_status_cb;
        r_clients[i].timeout_cb = client_publish_timeout_cb;
        status = simple_on_off_client_init(&amp;amp;m_clients[i], i + 1);
        ERROR_CHECK(status);
        if(status == NRF_SUCCESS)
          {
            printf(&amp;quot;NRF_SUCCESS\n&amp;quot;);
          }

        ERROR_CHECK(access_model_subscription_list_alloc(m_clients[i].model_handle));
        status = simple_RSSI_client_init(&amp;amp;r_clients[i], i + 2);
        ERROR_CHECK(status);
        if(status == NRF_SUCCESS)
          {
            printf(&amp;quot;NRF_SUCCESS\n&amp;quot;);
          }
        ERROR_CHECK(access_model_subscription_list_alloc(r_clients[i].model_handle));
    }
}
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;error is in the 13th line of function given above. It executes once i.e when i = 0 and when i becomes one it gives an error at that point.&lt;/p&gt;
&lt;p&gt;Output is:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;NRF_SUCCESS
NRF_SUCCESS
&amp;lt;t:       7696&amp;gt;, app_error_weak.c,  105, Mesh error 15 at 0x000267CD&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;I could not find the address 0x000267CD in .map file.&lt;/p&gt;
&lt;p&gt;As you said&amp;nbsp; the error is &amp;quot;Multiple model instances per element is not allowed&amp;quot;.&lt;/p&gt;
&lt;p&gt;I have both custom server model as well as custom client model. Now I am trying to add custom client model. I am initializing my custom model like simple_on_off_client model. I have a function similar to that named simple_RSSI_client_init().&lt;/p&gt;
&lt;p&gt;Sorry I could not understand this question.&lt;/p&gt;
&lt;p&gt;&amp;quot;Do you want four client models (e.g. one for each button) on the client board?&amp;quot;&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t have a clear idea about element index.I still have the above error. I changed some parameters in function element_has_model_id but no change. &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using Simple message model.</title><link>https://devzone.nordicsemi.com/thread/144691?ContentTypeID=1</link><pubDate>Fri, 17 Aug 2018 11:36:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:59e77eb4-e640-4b45-9faa-474660e5ab28</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;Hi Arya,&lt;/p&gt;
&lt;p&gt;Mesh error 15 refers to NRF_ERROR_FORBIDDEN (see nrf_error.h). Do you have any idea where this error is called? What you can do is open the .map file in the build folder of your mesh example &amp;amp; find the location of&amp;nbsp;0x000267CD. It might be between two values.&lt;/p&gt;
&lt;p&gt;Most likely it is an error when you initialize the&amp;nbsp;simple_model_client_init(). If it is, then the error says that &amp;quot;Multiple model instances per element is not allowed&amp;quot; (see declaration of function in simple_on_off_client.h). What this means is that you are&amp;nbsp;initializing the simple_on_off_model &amp;amp; the simple_message_model on the same element (i.e. element indexes 2,3,4).&lt;/p&gt;
&lt;p&gt;I will double check about this internally &amp;amp; get back to you.&lt;/p&gt;
&lt;p&gt;Are you trying to initialize the custom client or the custom server model? The custom model should be initialized similar to the simple_on_off_client model (i.e. via the&amp;nbsp;simple_on_off_client_init() function), like you have done above.&lt;/p&gt;
&lt;p&gt;Do you want four client models (e.g. one for each button) on the client board?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind Regards,&lt;/p&gt;
&lt;p&gt;Bjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using Simple message model.</title><link>https://devzone.nordicsemi.com/thread/144181?ContentTypeID=1</link><pubDate>Tue, 14 Aug 2018 12:58:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ed8e7b1b-d961-451c-b282-ce3480314867</guid><dc:creator>Arya</dc:creator><description>&lt;p&gt;Hi Bj&amp;oslash;rn,&lt;/p&gt;
&lt;p&gt;I tried this way.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;static void models_init_cb(void)
{
    __LOG(LOG_SRC_APP, LOG_LEVEL_INFO, &amp;quot;Initializing and adding models1\n&amp;quot;);
    uint32_t status = 0;

    for (uint32_t i = 0; i &amp;lt; CLIENT_MODEL_INSTANCE_COUNT; ++i)
    {
        m_clients[i].status_cb = client_status_cb;
        m_clients[i].timeout_cb = client_publish_timeout_cb;
        r_clients[i].status_cb = new_client_status_cb;
        r_clients[i].timeout_cb = client_publish_timeout_cb;
        ERROR_CHECK(simple_on_off_client_init(&amp;amp;m_clients[i], i + 1));
        ERROR_CHECK(access_model_subscription_list_alloc(m_clients[i].model_handle));
        status = simple_model_client_init(&amp;amp;r_clients[i], i + 2);
        ERROR_CHECK(status);
        if(status == NRF_SUCCESS)
          {
            printf(&amp;quot;NRF_SUCCESS\n&amp;quot;);
          }
        ERROR_CHECK(access_model_subscription_list_alloc(r_clients[i].model_handle));
    }
}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;But it is returning this error&lt;/p&gt;
&lt;p&gt;app_error_weak.c,&amp;nbsp; 105, Mesh error 15 at 0x000267CD. Can you help me with this?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using Simple message model.</title><link>https://devzone.nordicsemi.com/thread/144149?ContentTypeID=1</link><pubDate>Tue, 14 Aug 2018 11:29:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d257cf0c-f06a-4962-b713-01cef4e5a8af</guid><dc:creator>Arya</dc:creator><description>&lt;p&gt;Hi Bj&amp;oslash;rn,&lt;/p&gt;
&lt;p&gt;Thank you for that suggestion. I have created a new model based on that. How can I init that new model? I tried adding the new model in &amp;#39;models_init_cb()&amp;#39;, along with simple on off model. I added a snippet given below. &lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;static void models_init_cb(void)
{
    __LOG(LOG_SRC_APP, LOG_LEVEL_INFO, &amp;quot;Initializing and adding models\n&amp;quot;);
    uint32_t status = 0;

    for (uint32_t i = 0; i &amp;lt; CLIENT_MODEL_INSTANCE_COUNT; ++i)
    {
        m_clients[i].status_cb = client_status_cb;
        m_clients[i].timeout_cb = client_publish_timeout_cb;
        ERROR_CHECK(simple_on_off_client_init(&amp;amp;m_clients[i], i + 1));
        ERROR_CHECK(access_model_subscription_list_alloc(m_clients[i].model_handle));
    }
    for (uint32_t j = 0; j &amp;lt; CLIENT_MODEL_INSTANCE_COUNT; ++j)
    {
        r_clients[j].status_cb = new_client_status_cb;
        r_clients[j].timeout_cb = client_publish_timeout_cb;
        ERROR_CHECK(simple_model_client_init(&amp;amp;r_clients[j], j + 1));
        ERROR_CHECK(access_model_subscription_list_alloc(r_clients[i].model_handle));
    }

}
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;But it is returning error. when I removed the simple on off part, it is returning NRF_SUCCESS. Should I add it in a different function similar to &amp;#39;models_init_cb&amp;#39;? If then how should I add the new model to the structure &amp;#39;mesh_stack_init_params_t&amp;#39;?&amp;nbsp; Like this?&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;static void mesh_init(void)
{
    mesh_stack_init_params_t init_params =
    {
        .core.irq_priority       = NRF_MESH_IRQ_PRIORITY_LOWEST,
        .core.lfclksrc           = DEV_BOARD_LF_CLK_CFG,
        .core.p_uuid             = m_client_node_uuid,
        .models.models_init_cb   = models_init_cb,
        .models.models_init_cb   = models_init_cb2,
        .models.config_server_cb = config_server_evt_cb
    };
    ERROR_CHECK(mesh_stack_init(&amp;amp;init_params, &amp;amp;m_device_provisioned));
}
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Where the &amp;#39;models_init_cb2&amp;#39; is a function which initializes only the new client model? Is it like I can not add a new model apart from simple on off model with out removing it?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using Simple message model.</title><link>https://devzone.nordicsemi.com/thread/143712?ContentTypeID=1</link><pubDate>Fri, 10 Aug 2018 11:56:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:350ce09a-f6e3-4508-bee5-e40a5727b053</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;What about if you create a new model based off of the simple on off model instead? If you take a look at the light switch client example, you can see that when a user presses button 1 on the dev kit, the client sends a unicast message to the first provisioned server using the simple_on_off_client_set() function. This function first makes sure that the parameter pointer p_client &amp;amp; the status_cb pointer are not null. Then, a check is done to make sure the client is not in an invalid state.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It&amp;#39;s this struct that is interesting for us:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;/** Simple OnOff Client state structure. */
struct __simple_on_off_client
{
    /** Model handle assigned to the client. */
    access_model_handle_t model_handle;
    /** Status callback called after status received from server. */
    simple_on_off_status_cb_t status_cb;
    /** Timeout callback called after acknowledged message sending times out */
    simple_on_off_timeout_cb_t timeout_cb;
    /** Internal client state. */
    struct
    {
        bool reliable_transfer_active; /**&amp;lt; Variable used to determine if a transfer is currently active. */
        simple_on_off_msg_set_t data;  /**&amp;lt; Variable reflecting the data stored in the server. */
    } state;
};&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;The simple_on_off_msg_set struct contains the on_off state (i.e. whether the server light should be on or off).&lt;/p&gt;
&lt;p&gt;The simple_on_off_client_set() function then calls send_reliable_message(), which will then send the data via the access_model_reliable_publish() call on the access layer of the mesh stack.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;What if you try to create a new model based on the simple on off model &amp;amp; then update the&amp;nbsp;simple_on_off_msg_set_t struct to send a string message instead of uint8_t on_off?&lt;/p&gt;
&lt;p&gt;I would also recommend making a copy of each of the three light switch examples (provisioner, client, server) &amp;amp; modify those. This way, if you were to make a mistake &amp;amp; the mesh network does not work anymore, you can refer back on the working light switch example. Hope that helps!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using Simple message model.</title><link>https://devzone.nordicsemi.com/thread/143520?ContentTypeID=1</link><pubDate>Thu, 09 Aug 2018 09:16:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e7165783-fefc-4232-a6e3-17eea839dbf2</guid><dc:creator>Arya</dc:creator><description>&lt;p&gt;Hi Bj&amp;oslash;rn,&lt;span class="user-name"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;I am working in mesh 2.0.1. I have added this simple message model into my light switch example. What I actually want is to send a string from client to server. That is done through simple message model. But it is not handling messages as it is in simple on off model. I have gone through light switch model as well as the documentation on adding new models. I think I should merge these two models (Light switch and simple message model). Or I should remove on off model and add a new model which can send a string and can handle messages. Would that be possible?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using Simple message model.</title><link>https://devzone.nordicsemi.com/thread/143481?ContentTypeID=1</link><pubDate>Thu, 09 Aug 2018 06:54:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ec61fb55-5d5e-48b7-b97f-8cb6e1513264</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I would not refer to this simple message model, as it is using an outdated mesh sdk. I would rather take a look at the&lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.meshsdk.v2.1.1/md_examples_light_switch_README.html?cp=4_1_0_4_0"&gt; light switch example&lt;/a&gt; in the newest mesh sdk v2.1.1. Follow the testing guidelines there and run a debug session or have an rtt viewer open in each of the three boards (provisioner, client, server) &amp;amp; take a look at how the&amp;nbsp;light switch example works.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Also, make sure to take a look at the configuration model in the provisioner (config_client.c &amp;amp; config_client.h), as well as config_server.c &amp;amp; config_server.h in the client example. I would also recommend taking a look at &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.meshsdk.v2.1.1/md_doc_getting_started_how_to_models.html?cp=4_1_0_3_5"&gt;this documentation&lt;/a&gt;, as well as the &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.meshsdk.v2.1.1/md_models_simple_on_off_README.html?cp=4_1_0_4_7_0"&gt;simple OnOff Model documentation&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>