<?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>Questions regarding Mesh Android app:</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/36114/questions-regarding-mesh-android-app</link><description>thanks for the answer on the previous post. 
 What I came to know from our firmware engineer was that your initial version of the Android app could not support 
 1. multiple subscriptions for the nodes and 
 2. also adding clients 
 But he said he read</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 25 Jul 2018 05:21:41 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/36114/questions-regarding-mesh-android-app" /><item><title>RE: Questions regarding Mesh Android app:</title><link>https://devzone.nordicsemi.com/thread/141246?ContentTypeID=1</link><pubDate>Wed, 25 Jul 2018 05:21:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dcca2fc6-980b-4603-9780-a0b55fa44638</guid><dc:creator>Roshan Rajaratnam</dc:creator><description>&lt;p&gt;Thanks for understanding!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Questions regarding Mesh Android app:</title><link>https://devzone.nordicsemi.com/thread/141245?ContentTypeID=1</link><pubDate>Wed, 25 Jul 2018 05:20:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7e080197-d4fc-449c-8845-376ca7ad57c9</guid><dc:creator>xavierg</dc:creator><description>&lt;p&gt;OK. I&amp;#39;m sorry for that.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Questions regarding Mesh Android app:</title><link>https://devzone.nordicsemi.com/thread/141244?ContentTypeID=1</link><pubDate>Wed, 25 Jul 2018 05:17:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dd7a730e-fe6a-4a49-987a-421d4377a6bc</guid><dc:creator>Roshan Rajaratnam</dc:creator><description>&lt;p&gt;Hi Could you open another thread for new questions please. We are going against the community guidelines here and it would be useful for other users as well.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Questions regarding Mesh Android app:</title><link>https://devzone.nordicsemi.com/thread/141243?ContentTypeID=1</link><pubDate>Wed, 25 Jul 2018 05:14:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ff5e963c-578e-498a-bfa4-c85d53a47fa8</guid><dc:creator>xavierg</dc:creator><description>&lt;p&gt;Is there a way to access the GenericOnOffStatus using MeshManagerApi of the MeshService? If not, which route should I go? Meaning, how should I get access to&amp;nbsp;&lt;span&gt;GenericOnOffStatus which uses the same context as the running MeshService from my Activity? What is the handle I should use in my activity to access this?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Questions regarding Mesh Android app:</title><link>https://devzone.nordicsemi.com/thread/140594?ContentTypeID=1</link><pubDate>Thu, 19 Jul 2018 05:16:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:249b71c5-8a5e-4607-9f7b-95702b23d921</guid><dc:creator>Roshan Rajaratnam</dc:creator><description>&lt;p&gt;Ah yes I was referring to the bluetooth mesh specification v1.0 which has everything related provisioning and comfogconfig of nodes. In addition you might want to read up the mesh model specofication spec as well. This contains all the&amp;nbsp;SIG defined models and their messages.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Questions regarding Mesh Android app:</title><link>https://devzone.nordicsemi.com/thread/140593?ContentTypeID=1</link><pubDate>Thu, 19 Jul 2018 04:56:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:98d8917a-b823-4b33-b24b-20a8b5458124</guid><dc:creator>xavierg</dc:creator><description>&lt;p&gt;Also, you said &amp;#39;read the spec&amp;#39;. Which spec are you talking about?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Questions regarding Mesh Android app:</title><link>https://devzone.nordicsemi.com/thread/140517?ContentTypeID=1</link><pubDate>Wed, 18 Jul 2018 12:04:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4b25e685-7425-4913-8fe3-b99ba1fafb7c</guid><dc:creator>xavierg</dc:creator><description>&lt;p&gt;Correct. It&amp;#39;s&amp;nbsp;&lt;/p&gt;
&lt;pre&gt;&lt;span&gt;mViewModel&lt;/span&gt;.bindAppKey(appKeyIndex)&lt;span&gt;;&lt;/span&gt;&lt;/pre&gt;
&lt;p&gt;and not&lt;/p&gt;
&lt;pre&gt;sendBindAppKey(appKeyIndex);&lt;/pre&gt;
&lt;p&gt;like you said in the prev. comment.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ll have a look at Get and See. Where is this&amp;nbsp;&lt;span&gt;GenericOnOffStatus? In which structure? In the example, you have used mViewModel&amp;nbsp;and not MeshManagerApi.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Questions regarding Mesh Android app:</title><link>https://devzone.nordicsemi.com/thread/140514?ContentTypeID=1</link><pubDate>Wed, 18 Jul 2018 11:44:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:39344eab-ac97-4844-a56b-4bf3a11a638d</guid><dc:creator>Roshan Rajaratnam</dc:creator><description>&lt;p&gt;That&amp;#39;s great, its impossible that the line is not there, if that&amp;#39;s the case the app won&amp;#39;t be able to bind a key at all. I have refactored some of the api calls locally probably this is why. I suppose you are not using 1.0 version of the app because you can find it &lt;a href="https://github.com/NordicSemiconductor/Android-nRF-Mesh-Library/blob/master/Example/nrf-mesh/app/src/main/java/no/nordicsemi/android/nrfmeshprovisioner/ModelConfigurationActivity.java#L247"&gt;here&lt;/a&gt;. When you send a GenericOnOffGet message you will get a GenericOnOffStatus. You should read up the spec and follow the example app.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Questions regarding Mesh Android app:</title><link>https://devzone.nordicsemi.com/thread/140511?ContentTypeID=1</link><pubDate>Wed, 18 Jul 2018 11:32:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ef67c499-197e-4b2a-8d2e-b0155f907fcf</guid><dc:creator>xavierg</dc:creator><description>&lt;p&gt;It worked. I can send a generic on-off set to the node. Didn&amp;#39;t require sendBindAppKey(Index);&lt;/p&gt;
&lt;p&gt;On a side note, there is no such function&amp;nbsp;&lt;strong&gt;sendBindAppKey(Index);&lt;/strong&gt; exists in that Activity.&lt;/p&gt;
&lt;p&gt;Also, regarding Generic on-off Get, where do I get the value (true/false) of server model in the element?&lt;/p&gt;
&lt;p&gt;Bcoz,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="java"&gt;public void getGenericOnOff(final ProvisionedMeshNode node, final MeshModel model, final byte[] dstAddress, final int appKeyIndex)&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Doesn&amp;#39;t return any Boolean value.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Questions regarding Mesh Android app:</title><link>https://devzone.nordicsemi.com/thread/140508?ContentTypeID=1</link><pubDate>Wed, 18 Jul 2018 10:40:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:db2d9c22-6ae5-4537-a6f7-cfd83d850cbd</guid><dc:creator>Roshan Rajaratnam</dc:creator><description>&lt;p&gt;You can find it on line 261 in ModelConfigurationActivity.java&lt;/p&gt;
&lt;pre&gt;sendBindAppKey(appKeyIndex)&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Questions regarding Mesh Android app:</title><link>https://devzone.nordicsemi.com/thread/140506?ContentTypeID=1</link><pubDate>Wed, 18 Jul 2018 10:31:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3e644d33-cf3c-49d5-b2d9-b7a29b873747</guid><dc:creator>xavierg</dc:creator><description>&lt;p&gt;I was seeing that activity itself. I could see:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="java"&gt;final MeshModel model = mViewModel.getMeshModel().getValue();
        if(model != null){
            if(model instanceof GenericOnOffServerModel) {&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;On line 326. But it uses ConfigurationModel&lt;/p&gt;
&lt;p&gt;But there is no&amp;nbsp;&lt;span&gt;sendBindAppKey() over there.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Questions regarding Mesh Android app:</title><link>https://devzone.nordicsemi.com/thread/140504?ContentTypeID=1</link><pubDate>Wed, 18 Jul 2018 10:21:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cd8c85e0-fbc5-4d44-8ec7-142d9e8e9547</guid><dc:creator>Roshan Rajaratnam</dc:creator><description>&lt;p&gt;Sorry that was my bad, it should be mMeshManagerApi.getProvisionedNodes().get(5).getElements(elementaddress).getMeshModels.&lt;/p&gt;
&lt;p&gt;This because models belong to a certain element in a node. Look at ModelConfigurationActivity and you should see&amp;nbsp;sendBindAppKey()&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Questions regarding Mesh Android app:</title><link>https://devzone.nordicsemi.com/thread/140503?ContentTypeID=1</link><pubDate>Wed, 18 Jul 2018 10:16:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b9cbe7ec-5d54-4713-a0cd-a42b43ec1c7e</guid><dc:creator>xavierg</dc:creator><description>&lt;p&gt;I have already added an app key to the generic on off server model in the node&amp;#39;s element. If I do a:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="java"&gt;mMeshManagerApi.getProvisionedNodes().get(5).getAddedAppKeys();&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;I can get a Map of bound app keys. I&amp;#39;ve seen that the app key is correct. That means that the app key is bound to the node.&lt;/p&gt;
&lt;p&gt;I could not find a getMeshModels() like you mentioned above.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="java"&gt;mMeshManagerApi.getProvisionedNodes().get(5).getMeshModels();&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;So how can I use getMeshModels()&lt;/p&gt;
&lt;p&gt;Can you tell me In your code, in which file are you binding app keys to models?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Questions regarding Mesh Android app:</title><link>https://devzone.nordicsemi.com/thread/140484?ContentTypeID=1</link><pubDate>Wed, 18 Jul 2018 07:53:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:63c57458-31bb-42c0-9a0a-5f6898756fa7</guid><dc:creator>Roshan Rajaratnam</dc:creator><description>&lt;p&gt;Not sure entirely what you&amp;#39;re trying to do by declaring a model. When you provision a node, the library will create all the models that are available in the node. So all you have to do is just list all the models you need by just calling node.getMeshModels(). From what I see you&amp;#39;re creating a model in the app and turn on the same model in the app, so it does not look right to me.&lt;/p&gt;
&lt;p&gt;Also binding app keys&amp;nbsp;works fine on our end so you must be doing something wrong in your implementation.&lt;/p&gt;
&lt;p&gt;Before binding an app key an app key should be added to that particular node. Hope that is done and if that&amp;#39;s the case that app key should be bound to a specific model you want to talk to.&lt;/p&gt;
&lt;p&gt;So as you have done bindAppKey index should work as it is. Also When you send a bindAppKey message you should get a Model App Status and that will contain if its successful or not and is&lt;span&gt;&amp;nbsp;&lt;/span&gt;handled&lt;span&gt;&amp;nbsp;&lt;/span&gt;in the library. You can find the status codes in the specification as well.&lt;/p&gt;
&lt;p&gt;When it comes to app key index, you can get it from the node.getAddedAppKeys() list for that specific node.&lt;span&gt;&amp;nbsp;&lt;/span&gt;When you try to bind an appKey you need to specify the index of that particular appkeyindex. If you follow our example you should see this.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Questions regarding Mesh Android app:</title><link>https://devzone.nordicsemi.com/thread/140483?ContentTypeID=1</link><pubDate>Wed, 18 Jul 2018 07:27:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ae3eddc9-92d9-48c7-aee6-60e0b4621764</guid><dc:creator>xavierg</dc:creator><description>&lt;p&gt;I was trying to send data to the mesh using the method of:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="java"&gt;mMeshManagerApi.setGenericOnOffUnacknowledged(mMeshManagerApi.getProvisionedNodes().get(5),
                genericOnOffServerModel,
                new byte[]{0x00, 0x05},
                0,
                null,
                null,
                null,
                isLightOn);&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve declared the model as:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="java"&gt;GenericOnOffServerModel genericOnOffServerModel = new GenericOnOffServerModel(0x1000);&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;However, I get the error of model not having a binding with an&amp;nbsp;app key like below:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;java.lang.IllegalArgumentException: Please bind an app key to this model to control this model!
        at no.nordicsemi.android.meshprovisioner.MeshManagerApi.setGenericOnOffUnacknowledged(MeshManagerApi.java:881)
        at no.nordicsemi.android.nrfmeshprovisioner.MainFragment.send(MainFragment.java:72)
        at no.nordicsemi.android.nrfmeshprovisioner.MainFragment_ViewBinding$1.doClick(MainFragment_ViewBinding.java:30)&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;I then used the method mentioned in MeshManagerApi as:&lt;/p&gt;
&lt;pre&gt;&lt;span&gt;mMeshManagerApi&lt;/span&gt;.bindAppKey(&lt;span&gt;mMeshManagerApi&lt;/span&gt;.getProvisionedNodes().get(&lt;span&gt;5&lt;/span&gt;)&lt;span&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span&gt;        new byte&lt;/span&gt;[]{&lt;span&gt;0x00&lt;/span&gt;&lt;span&gt;, &lt;/span&gt;&lt;span&gt;0x05&lt;/span&gt;}&lt;span&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span&gt;        &lt;/span&gt;&lt;span&gt;genericOnOffServerModel&lt;/span&gt;&lt;span&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span&gt;        &lt;/span&gt;&lt;span&gt;0&lt;/span&gt;)&lt;span&gt;;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;It doesn&amp;#39;t work. Am I doing something wrong?&lt;br /&gt;Also what should I enter in AppKeyIndex? Where is this array and how do I get it?&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Questions regarding Mesh Android app:</title><link>https://devzone.nordicsemi.com/thread/140169?ContentTypeID=1</link><pubDate>Mon, 16 Jul 2018 08:30:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:872a9152-f98c-4aea-a95d-4a68da18cdeb</guid><dc:creator>Roshan Rajaratnam</dc:creator><description>&lt;p&gt;1) No, that&amp;#39;s the mesh node that is passed in to that activity from the previous activity. This will point to only the node you want to talk to. Since its a mesh network you can connect to a random one and the configure the one you click and select from the main network menu. You might want to read up on Android services. A binder is used to connect to a service from an activity.&lt;/p&gt;
&lt;p&gt;2) You may do that and will make it very simple to you since you are new to dagger2, viewmodels and repositories. This way you can write your own app without having to dig deep in to our source.&lt;/p&gt;
&lt;p&gt;3) Like I said you might want to read up on Android services.&lt;/p&gt;
&lt;p&gt;4) If you have gone through the code you might see in the ViewModel attached to the main activity has onCleared(), disconnects and unbinds from the service and stops it.&lt;/p&gt;
&lt;p&gt;5) to get the context you will have to call getApplicationContext in the service&lt;/p&gt;
&lt;p&gt;If you&amp;#39;re very new to Android I would suggest you go down the acitvity and service approach (you can find lot of documentation related to services) removing all the viewmodels and repositories. The reason for using viewmodels is to use the new Architecture Components in Android which makes it very easy to handle configuration changes and lifecycle changes in Android.&lt;/p&gt;
&lt;p&gt;Going down the service approach is only a change in the design and you can have all the api calls related to meshmanager api within the binder in the meshservice. This way you call the meshMaangerApi methods via the binder.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Questions regarding Mesh Android app:</title><link>https://devzone.nordicsemi.com/thread/140165?ContentTypeID=1</link><pubDate>Mon, 16 Jul 2018 08:02:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6461ec83-0a87-49df-9c47-36f2c7484020</guid><dc:creator>xavierg</dc:creator><description>&lt;p&gt;I can see in ModelConfigurationActivity.java where you have implemented&amp;nbsp;&lt;pre class="ui-code" data-mode="java"&gt;mViewModel.getExtendedMeshNode().getMeshNode();&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;and&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="java"&gt;mViewModel.sendGenericOnOff(node, .... );&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;at lines 347 and 352 respectively. This gets me to the first question:&lt;/p&gt;
&lt;p&gt;1) Does that mean that I can get the mesh node reference I&amp;#39;m connected to using this piece of code from any of my Activities?&lt;/p&gt;
&lt;p&gt;Now,&lt;strong&gt;&amp;nbsp;mViewModel&lt;/strong&gt; is of type &lt;strong&gt;ModelConfigurationViewModel&lt;/strong&gt; which in turn relates to &lt;strong&gt;ModelConfigurationRepository&lt;/strong&gt;. This &lt;strong&gt;ModelConfigurationRepository&lt;/strong&gt;, in turn, sends control messages to a &lt;strong&gt;mBinder&lt;/strong&gt;&amp;nbsp;which is declared in the extended class of &lt;strong&gt;BaseMeshRepository&lt;/strong&gt;. Over here, &lt;strong&gt;mBinder&lt;/strong&gt; is declared as &lt;strong&gt;MeshService.MeshServiceBinder&lt;/strong&gt;. In the service, it looks like the Binder connects to a device and uses &lt;strong&gt;BleMeshManagerApi&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;2) So basically, my idea was that you can directly cut through all of the other structures and just use the&amp;nbsp;&lt;strong&gt;mBleMeshManagerApi&lt;/strong&gt; or &lt;strong&gt;MeshServiceBinder&lt;/strong&gt; from the service to connect and send messages. Is this possible and is it the right way of doing it?&lt;/p&gt;
&lt;p&gt;3) Also, regarding the MeshService. I want to have control over the when the service starts and stops. How do I do that?&lt;/p&gt;
&lt;p&gt;4) I have an activity which connects to your MainActivity which does scanning and connection to the network in the respective fragments. Also, somewhere, (I don&amp;#39;t know where) your MainActivity starts the MeshService. But after connecting to a Proxy node, if I press Back on MainActivity which goes to my activity, the service stops and disconnects from the proxy. I don&amp;#39;t want it to stop and disconnect from the proxy. How do I achieve this?&lt;/p&gt;
&lt;p&gt;5) Now if that is solved, I want to use the&amp;nbsp;mBleMeshManagerApi that the service is using. I will have to use either Binder or something of the service from my activity to send data to the mesh. How do I get the MeshService Context such that I can get the context of:&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;pre class="ui-code" data-mode="java"&gt;mMeshManagerApi = new MeshManagerApi(this);&lt;/pre&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;at line 221 in the service. I guess that is only how I can use the service BleMeshManagerApi. How do I do it?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Questions regarding Mesh Android app:</title><link>https://devzone.nordicsemi.com/thread/139501?ContentTypeID=1</link><pubDate>Tue, 10 Jul 2018 05:56:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:42845fba-ff14-4aca-acfa-19f875d1a239</guid><dc:creator>Roshan Rajaratnam</dc:creator><description>&lt;p&gt;Hey, If you look at each and every message that is implemented, there is a class for every message.&amp;nbsp;In MeshConfigurationhandler.java&amp;nbsp; there is&amp;nbsp;&lt;span&gt;bindAppKey method. youll see that there is a class with&amp;nbsp;&lt;/span&gt;ConfigModelAppBind. In this class there is&amp;nbsp;&lt;span&gt;createAccessMessage() method whcih creates a message and executeSend() that sends a message. Once you send a message, a received corresponding notification is handled in the MeshConfigurationHandler in the&amp;nbsp;&lt;/span&gt;&lt;span&gt;parseConfigurationNotifications method. This is as simple as it can be and can&amp;#39;t that difficult to follow the same principle. This will be common for all messages that you will implement. If you just follow the same principle you can implement any message you want. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Please note that this is not a production ready library yet and we have not implemented the whole mesh specification.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Questions regarding Mesh Android app:</title><link>https://devzone.nordicsemi.com/thread/139498?ContentTypeID=1</link><pubDate>Tue, 10 Jul 2018 05:24:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:175c8853-66c4-457c-8a0e-de8f577d0cca</guid><dc:creator>xavierg</dc:creator><description>&lt;p&gt;There is one more thing which many other developers might need. The pain point of this library is the documentation. My firmware counterpart gets a lot of documentation from the Nordic website. He gets explanations of each and every statement of the firmware SDK up to the point where the input and output parameters of each function, structure, object, etc. He even easily gets any getting started examples, intermediate examples .etc. The Android library, however, doesn&amp;#39;t explain anything. Absolutely nothing. We desperately need documentation for the Android nRF Mesh library. Along with documentation of using examples and getting started guides .etc. I&amp;#39;m understanding your code in bits and pieces but I need concrete documentation on how to use it and what can be achieved with which statements to go ahead and start changing it for my use.&lt;/p&gt;
&lt;p&gt;Like if I want to send a certain msg byte array to a certain 2-byte element address then how do I send it? Where to get started? Which structures to use? I need to be sure what the answers are and not spend many hours implementing something that may be wrong.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Questions regarding Mesh Android app:</title><link>https://devzone.nordicsemi.com/thread/139186?ContentTypeID=1</link><pubDate>Fri, 06 Jul 2018 07:12:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2074974b-48e7-4fba-b5ad-a69e86f60b9b</guid><dc:creator>Roshan Rajaratnam</dc:creator><description>&lt;p&gt;You&amp;#39;ll have to clone the latest version from github and use that, there is an example in it where you can call resetNode. If you follow the latest implementation on github you could see what&amp;#39;s available.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Questions regarding Mesh Android app:</title><link>https://devzone.nordicsemi.com/thread/139182?ContentTypeID=1</link><pubDate>Fri, 06 Jul 2018 06:50:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cc730a69-ff00-45a1-94a2-ff0184752dd4</guid><dc:creator>xavierg</dc:creator><description>&lt;p&gt;I have the source code for the most initial version of Android where Generic on off&amp;nbsp;was not implemented. Does this version allow un-provisioning? If so which Java file does it and how to call these structure in my Activity? Or can I just click on a mesh node and there is a un-provision button?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Questions regarding Mesh Android app:</title><link>https://devzone.nordicsemi.com/thread/139116?ContentTypeID=1</link><pubDate>Thu, 05 Jul 2018 12:38:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1b4baa0d-1257-42e5-b428-4b93810d0b37</guid><dc:creator>Roshan Rajaratnam</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;1. The app supports mulitple subscriptions and is not disabled.&lt;/p&gt;
&lt;p&gt;2. Adding clients is not supported yet in the app. That&amp;#39;s something that will be implemented in the near future. This is a more complex functionality that will need some time to build. Unfortunately its not something I can explain here. You will have to do it manually in your UI by creating the Models you need for this.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>