<?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>Calculating RSSI without receiving user messages</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/45609/calculating-rssi-without-receiving-user-messages</link><description>Hey 
 I am working on Bluetooth mesh. I am able to find the RSSI from server whenever i received the message from client in mesh(light switch example). Now I have to find the RSSI for 3 seconds even without receiving any user message. I know that the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 04 Apr 2019 10:41:32 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/45609/calculating-rssi-without-receiving-user-messages" /><item><title>RE: Calculating RSSI without receiving user messages</title><link>https://devzone.nordicsemi.com/thread/180271?ContentTypeID=1</link><pubDate>Thu, 04 Apr 2019 10:41:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9c085961-dcc3-44a5-9362-1d8610f35edd</guid><dc:creator>P Sumanth</dc:creator><description>&lt;p&gt;Yes it worked Thank you&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;sumanth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Calculating RSSI without receiving user messages</title><link>https://devzone.nordicsemi.com/thread/180251?ContentTypeID=1</link><pubDate>Thu, 04 Apr 2019 10:08:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:135d39ad-91cc-4798-81c1-d7046ec34c01</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;I don&amp;#39;t see any problem with that. You can request the softdevice to report RSSI when there is any change in RSSI using&amp;nbsp;sd_ble_gap_rssi_start() there is a threshold value and skip count that you can configure. Have a look &lt;a href="https://www.nordicsemi.com/DocLib/Content/SoftDevice_API_Doc/S132/v6-1-1/group_ble_gap_rssi_filt_msc"&gt;here.&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Should have pretty low power consumption with 300ms interval. You can calculate the estimated power consumption &lt;a href="https://devzone.nordicsemi.com/power/"&gt;here.&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Calculating RSSI without receiving user messages</title><link>https://devzone.nordicsemi.com/thread/180083?ContentTypeID=1</link><pubDate>Wed, 03 Apr 2019 15:53:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:80f161dc-c026-4976-8af0-b184533eb449</guid><dc:creator>P Sumanth</dc:creator><description>&lt;p&gt;Yes I know that,&amp;nbsp;My idea is&amp;nbsp;if two devices connected through BLE and when they are out of range it should generate some alert (ex-buzzer). I am using nrf52 DK. I will be using about 30-40 devices later(star network), power consumption is major factor i am considering,&lt;/p&gt;
&lt;p&gt;Right now I am working on BLE central and peripheral, I am able to calculate the RSSI of peripheral before and after the connection.&lt;/p&gt;
&lt;p&gt;I would like to use that RSSI, I am thinking to take RSSI reading for every 300ms, total of five times and take the average of it and compare with the reference value, Is that possible with low power consumption&amp;nbsp; or is there any other way to do it?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Calculating RSSI without receiving user messages</title><link>https://devzone.nordicsemi.com/thread/180065?ContentTypeID=1</link><pubDate>Wed, 03 Apr 2019 15:02:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b82054f9-4ca4-4145-8d6a-21946b39b73d</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;You would need to give us your exact application definition and requirements to be able to give you advice. You can convert this case to private if there is confidential information.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;To get the distance between connected device, you can use RSSI. But be aware that RSSI is relative and can&amp;#39;t be used to calculate the exact distance to a node. It can be affected largely by for example if a human is stand between the devices, if there is some reflection etc.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Calculating RSSI without receiving user messages</title><link>https://devzone.nordicsemi.com/thread/179869?ContentTypeID=1</link><pubDate>Wed, 03 Apr 2019 04:28:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7104006b-2cd6-406c-95c7-f32ff712b46a</guid><dc:creator>P Sumanth</dc:creator><description>&lt;p&gt;I would like use BLE since we need to restrict power consumption, What will be the procedure for that.(star network) to find the distance between the connected devices .&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Calculating RSSI without receiving user messages</title><link>https://devzone.nordicsemi.com/thread/179833?ContentTypeID=1</link><pubDate>Tue, 02 Apr 2019 16:06:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4ad67f89-824d-43b4-973a-a176582f670d</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;It&amp;#39;s still possible to use BLE to connect a network with 40 nodes (by using multiple of BLE star network) But mesh maybe a better solution if power consumption is not your concern.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I would suggest to study the mesh spec to have a rough idea of Heartbeat how it&amp;#39;s configured. And then check the example to see the modification made in node_setup.c and provisioner_helper.c file that I did.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Mainly it&amp;#39;s about sending a configuration message to the configuration server to enable subscription and publication of heart beat.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Calculating RSSI without receiving user messages</title><link>https://devzone.nordicsemi.com/thread/179734?ContentTypeID=1</link><pubDate>Tue, 02 Apr 2019 11:36:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7447672f-66db-4071-a911-c4529e3bb350</guid><dc:creator>P Sumanth</dc:creator><description>&lt;p&gt;The number of devices will&amp;nbsp;be around 40 and for now I working on 3 devices so i am choosing mesh, right now I am using nrf52 DK for the setup and i am little familiar with nrf Mesh SDK like creating custom models and looking forward to work more on mesh SDK.&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Sumanth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Calculating RSSI without receiving user messages</title><link>https://devzone.nordicsemi.com/thread/179731?ContentTypeID=1</link><pubDate>Tue, 02 Apr 2019 11:25:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4fa49137-747e-48be-8739-104a9aae9052</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Sumanth,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;How many devices you have in the network ? What is the setup of the application ? I need to ask because if you have less than 20 devices and they are all in the range of the central device, you can think of using BLE instead of Mesh.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Are you familiar with our mesh SDK ?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Calculating RSSI without receiving user messages</title><link>https://devzone.nordicsemi.com/thread/179634?ContentTypeID=1</link><pubDate>Tue, 02 Apr 2019 05:43:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e547df72-f8a8-4e8f-80da-a317c74b00ab</guid><dc:creator>P Sumanth</dc:creator><description>&lt;p&gt;Hey thanks and I have gone through the specs, My idea is I have two devices, one which publishes the data and other which subscribe, they should blink the led when both are out of range(ref distance), I want to do it in mesh because I have multiple publishers and one device that subscribes all publishers. I have also seen the post&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/39270/ble-mesh-heartbeat-example"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/39270/ble-mesh-heartbeat-example&lt;/a&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;but couldn&amp;#39;t understand the procedure, If possible explain the procedure and configuration of heartbeat messages and finding rssi?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regards&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Sumanth&amp;nbsp; &amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Calculating RSSI without receiving user messages</title><link>https://devzone.nordicsemi.com/thread/179517?ContentTypeID=1</link><pubDate>Mon, 01 Apr 2019 13:12:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fb7b155b-7ec5-434e-97bb-4e618c438744</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Sumanth,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I think you maybe confused between Bluetooth Low Energy and Bluetooth Mesh. They are not the same. Bluetooth Mesh doesn&amp;#39;t have empty packets to keep the connection, there is no connection in Bluetooth mesh.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;But what you can do is to send HeartBeat packet instead.&amp;nbsp;It&amp;#39;s made for this purpose. Please have a look at section 3.6.7 in Bluetooth mesh spec v1.0&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You would need to configure the server to send heartbeat to a particular group address, and then configure other node to subscribe to that address.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>