<?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>How to limit BLE 5 range in nRF52840 to 5m in ble_app_uart?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/41247/how-to-limit-ble-5-range-in-nrf52840-to-5m-in-ble_app_uart</link><description>Hi, 
 
 Board: nRF52840 PCA10056 Development kit 
 Keiluvision 5 
 SoftDevice : S140 
 nRF-SDK 15.2 
 SDK example code: ble_app_uart 
 
 Hi, I want to change the BLE range to 5 meters, so I tried this function as belows: 
 uint32_t err_code = sd_ble_gap_tx_power_set</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 14 Dec 2018 14:22:18 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/41247/how-to-limit-ble-5-range-in-nrf52840-to-5m-in-ble_app_uart" /><item><title>RE: How to limit BLE 5 range in nRF52840 to 5m in ble_app_uart?</title><link>https://devzone.nordicsemi.com/thread/161887?ContentTypeID=1</link><pubDate>Fri, 14 Dec 2018 14:22:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f5237124-ab89-4b76-a205-ae947db1dca0</guid><dc:creator>run_ar</dc:creator><description>&lt;p&gt;Do you have a sniffer log? this will show if there are any scan or connection request and also the rssi value of the packets at the sniffer.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to limit BLE 5 range in nRF52840 to 5m in ble_app_uart?</title><link>https://devzone.nordicsemi.com/thread/161590?ContentTypeID=1</link><pubDate>Thu, 13 Dec 2018 07:28:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2d599b46-88d9-469a-816d-e2c0b502d74b</guid><dc:creator>Devanshi1510</dc:creator><description>&lt;p&gt;Yes, you got it correct at -40dB, setting I can connect at 2 ft and disconnection at 10 feet but cant reconnect at longer distance than 2 ft. No, there are no active scanners in the area. Central is not able to receive advertisement packets from peripheral.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to limit BLE 5 range in nRF52840 to 5m in ble_app_uart?</title><link>https://devzone.nordicsemi.com/thread/161132?ContentTypeID=1</link><pubDate>Tue, 11 Dec 2018 08:43:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d967ce1e-c4b0-49c2-bfde-299ef1e80551</guid><dc:creator>run_ar</dc:creator><description>&lt;p&gt;Are you saying that with the -40dBm setting you can connect at 2 ft, and you are disconnected at 10 feet? But you cannot reconnect at a longer distance than 2 feet?&lt;/p&gt;
&lt;p&gt;Can you confirm if there are any other scanners in the area, especially active scanners? You should also check with a sniffer to see if the central is able to receive the advertisement packet and actually sends a connection request. Also note that the connection request is a one off, i.e. if you have an error in this packet the connection will never be established (by the peripheral, while the central will send 6 packets to try to establish the connection). but when you are in a connection you can loose several packets without loosing the link, the number of packets depending on your connection parameters.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to limit BLE 5 range in nRF52840 to 5m in ble_app_uart?</title><link>https://devzone.nordicsemi.com/thread/160712?ContentTypeID=1</link><pubDate>Fri, 07 Dec 2018 11:19:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7bc7df68-6efa-432c-ada0-fff55f14aab4</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;As frequently noted on this forum, the relationship between RSSI and distance is &lt;em&gt;&lt;strong&gt;not at all&lt;/strong&gt;&lt;/em&gt; precise in practice - especially when dealing with 3rd-party products like phones over which you have no control at all.&lt;/p&gt;
&lt;p&gt;Also remember that antennas are often directional...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to limit BLE 5 range in nRF52840 to 5m in ble_app_uart?</title><link>https://devzone.nordicsemi.com/thread/160698?ContentTypeID=1</link><pubDate>Fri, 07 Dec 2018 10:06:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c02d7dcf-f74f-41e7-8639-64f9c09d0721</guid><dc:creator>run_ar</dc:creator><description>&lt;p&gt;I guess you could try to measure the RSSI you are getting at -40 dBm. I assume you are aware that the range will vary depending on the environment in the location you are in.&amp;nbsp; At what distance can you connect at -40dBm?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>