<?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>Help with Bluetooth Low Energy Mesh In Unity3d, Provisioning?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/86777/help-with-bluetooth-low-energy-mesh-in-unity3d-provisioning</link><description>Hello, I have been working on trying to get Bluetooth mesh to work in Unity trying to support iOS, Android and UWP. I will have to write most things from scratch. At this moment I have looked trough guides provided by Bluetooth and at nRF-Mesh Library</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 25 May 2022 06:13:15 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/86777/help-with-bluetooth-low-energy-mesh-in-unity3d-provisioning" /><item><title>RE: Help with Bluetooth Low Energy Mesh In Unity3d, Provisioning?</title><link>https://devzone.nordicsemi.com/thread/369417?ContentTypeID=1</link><pubDate>Wed, 25 May 2022 06:13:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5ced3b25-c281-4d4f-9280-8c0f9aa367da</guid><dc:creator>Roshan Rajaratnam</dc:creator><description>&lt;p&gt;Yes endianness! Good luck and happy to help!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Help with Bluetooth Low Energy Mesh In Unity3d, Provisioning?</title><link>https://devzone.nordicsemi.com/thread/369301?ContentTypeID=1</link><pubDate>Tue, 24 May 2022 13:37:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:508d6a6d-4cb9-440b-9dca-4de5af3956e3</guid><dc:creator>Quget</dc:creator><description>&lt;p&gt;Update, I managed to get it all working. It seemed I had some byte arrays reversed... &lt;br /&gt;&lt;br /&gt;I can now successfully provision, configure and also know when a button is pressed and turn on/off the light! &lt;br /&gt;&lt;br /&gt;Thanks for pointing me in the right direction and for your help. The nRF Mesh Library and app was of great help too! &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Help with Bluetooth Low Energy Mesh In Unity3d, Provisioning?</title><link>https://devzone.nordicsemi.com/thread/363757?ContentTypeID=1</link><pubDate>Wed, 20 Apr 2022 07:07:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d3459d0e-3b6e-47b9-bf03-52afff9e8d5c</guid><dc:creator>Roshan Rajaratnam</dc:creator><description>&lt;p&gt;You may refer chapter 8 which has sample message data, should speed up the process.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Help with Bluetooth Low Energy Mesh In Unity3d, Provisioning?</title><link>https://devzone.nordicsemi.com/thread/363755?ContentTypeID=1</link><pubDate>Wed, 20 Apr 2022 07:01:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:acf7a872-5984-4d16-bdd7-3ba0cb33b9f6</guid><dc:creator>Quget</dc:creator><description>&lt;p&gt;Yes, I would need to build a wrapper for Android and iOS and I couldn&amp;#39;t find much about Bluetooth Mesh in UWP. It would mean I needed to build the UWP part anyway.&lt;br /&gt;&lt;br /&gt;Which is why I decided to build it up in C#. It would give me support for multiple platforms. I already have BLE working for those 3 platforms. &lt;br /&gt;&lt;br /&gt;I think I am getting close now, just need to figure out how to parse the messages correctly and send a response that I received it. &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Help with Bluetooth Low Energy Mesh In Unity3d, Provisioning?</title><link>https://devzone.nordicsemi.com/thread/363745?ContentTypeID=1</link><pubDate>Wed, 20 Apr 2022 06:33:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c1c8928e-0083-4e70-9f67-f52a3199341c</guid><dc:creator>Roshan Rajaratnam</dc:creator><description>&lt;p&gt;Pretty sure you have considered, but have you looked into implementing a wrapper around the existing library?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Help with Bluetooth Low Energy Mesh In Unity3d, Provisioning?</title><link>https://devzone.nordicsemi.com/thread/363615?ContentTypeID=1</link><pubDate>Tue, 19 Apr 2022 13:25:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:49fc5f09-da06-40c2-822a-7a6a5fb70fd6</guid><dc:creator>Quget</dc:creator><description>&lt;p&gt;Thanks!&lt;br /&gt;I am using the library code as example, but sadly the library does not work for Unity3d and I need it to work for UWP in Unity3d as well.&lt;br /&gt;&lt;br /&gt;Writing this in C# in Unity3d is gives me more support for devices (iOS, Android, UWP, Windows Standalone) I would defiantly recommend using the library for iOS/Android. It will save so much time &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Help with Bluetooth Low Energy Mesh In Unity3d, Provisioning?</title><link>https://devzone.nordicsemi.com/thread/363431?ContentTypeID=1</link><pubDate>Tue, 19 Apr 2022 07:06:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6d5401b2-d6b1-47a3-ada6-62f728d26b8d</guid><dc:creator>Roshan Rajaratnam</dc:creator><description>&lt;p&gt;Great looks like you&amp;#39;ve found your way. All configuration messages use the device key and all applications messages use the application key to create the nonce in the upper transport layer. However, the library does this for your if you provide the right key to each message you are supposed to be sending. You do not have to create the nonce yourself.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Hope this helps!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Help with Bluetooth Low Energy Mesh In Unity3d, Provisioning?</title><link>https://devzone.nordicsemi.com/thread/363303?ContentTypeID=1</link><pubDate>Fri, 15 Apr 2022 12:44:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ff8d3afd-b750-4dd5-8e0b-461117652d66</guid><dc:creator>Quget</dc:creator><description>&lt;p&gt;Update&lt;br /&gt;After closer look I found out that the nonce was wrong. I was suppose to create a nonce using the device key for configuration instead of application key! Now after sending the command I get a lot of response back! &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Help with Bluetooth Low Energy Mesh In Unity3d, Provisioning?</title><link>https://devzone.nordicsemi.com/thread/363300?ContentTypeID=1</link><pubDate>Fri, 15 Apr 2022 08:52:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b3867c3e-7743-4220-ae63-ff70377e8fab</guid><dc:creator>Quget</dc:creator><description>&lt;p&gt;Okay I took a better look and found the model I need to send over.&lt;br /&gt;0x8008(Command) 0xFF(Parameters) would be to get the composition data.&lt;br /&gt;&lt;br /&gt;But It appears that I am still doing something wrong, it might be the way I am building up the message to send over. I think I am getting close! If I can successful send this message and get a response then that would be amazing! &lt;br /&gt;&lt;br /&gt;To build up the proxy message I went trough some things found here: &lt;a href="https://www.bluetooth.com/bluetooth-resources/bluetooth-mesh-proxy-kit/"&gt;https://www.bluetooth.com/bluetooth-resources/bluetooth-mesh-proxy-kit/&lt;/a&gt; using the android example code &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;br /&gt;Something is still off but I don&amp;#39;t know what I am doing wrong.&lt;br /&gt; I did compare the message I send with the one the NRF Mesh app sends. &lt;br /&gt;Both length are 22&lt;br /&gt;And both messages start with 0x00 0x?? (the second one is always the same when messages are send)&lt;br /&gt;&lt;br /&gt;I did take a closer look at the NRF Mesh Library code as well. I see there that there is some differences between Proxy Config Message, Config Message and Application Message.&lt;br /&gt;&lt;br /&gt; I found that the AKF and AID is different there. &lt;br /&gt;Config these are 0,&lt;br /&gt;ProxyConfig these are - 1&lt;br /&gt;And Application message AKF is set to 1 and AID is calculated from application key.&lt;br /&gt;&lt;br /&gt;Are these the only differences ? Or are they also different in the way the package is build?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Help with Bluetooth Low Energy Mesh In Unity3d, Provisioning?</title><link>https://devzone.nordicsemi.com/thread/362952?ContentTypeID=1</link><pubDate>Tue, 12 Apr 2022 06:17:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d0cebefb-6f2e-44fd-a250-d8799609a5a2</guid><dc:creator>Quget</dc:creator><description>&lt;p&gt;Ohh thank you for your quick reply! &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt; I will take a closer look at the Bluetooth Mesh Specifications and take a look at the light server example.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Help with Bluetooth Low Energy Mesh In Unity3d, Provisioning?</title><link>https://devzone.nordicsemi.com/thread/362744?ContentTypeID=1</link><pubDate>Mon, 11 Apr 2022 07:05:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5fff97f5-2b6e-49f4-b4b2-9b89020164a1</guid><dc:creator>Roshan Rajaratnam</dc:creator><description>&lt;p&gt;Hi &lt;a href="https://devzone.nordicsemi.com/members/quget"&gt;Quget&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Basically upon provisioning a mesh node you need to configure the newly provisioned device so that it can be controllable. The logs that you have filtered out are related to this,&amp;nbsp;so far you&amp;#39;ve done correctly by validating the secure network beacon. The rest of the messages are sent by the mesh app to configure the node as I have mentioned above. THe app sends a CofigCompositionDataGet which returns a ConfigCompositionDataStatus message that contains the composition of the node i.e. number of elements, number of SIG/vendor models and features supported by the node etc. Once the composition of the node is known, you can start by adding application keys to the node which you can bind to a model(s) in order to be able to send messages to control them. This would be minimal configuration steps to get a node up and running. I would also recommend going through the bluetooth mesh specification if you have no already and may be look at some of our examples (Light Server) from the nRF5 Mesh SDK or nRF Connect SDK to try configuring and setting up a node.&lt;/p&gt;
&lt;p&gt;Hope this helps.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>