<?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>i want to do simple data transfer and why blueetooth serial terminal was not be able to detect the device?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/81952/i-want-to-do-simple-data-transfer-and-why-blueetooth-serial-terminal-was-not-be-able-to-detect-the-device</link><description>how to do simple data transfer using bluetooth serail terminal?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 08 Dec 2021 10:13:49 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/81952/i-want-to-do-simple-data-transfer-and-why-blueetooth-serial-terminal-was-not-be-able-to-detect-the-device" /><item><title>RE: i want to do simple data transfer and why blueetooth serial terminal was not be able to detect the device?</title><link>https://devzone.nordicsemi.com/thread/342508?ContentTypeID=1</link><pubDate>Wed, 08 Dec 2021 10:13:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c60fdddf-c204-4117-a5a7-fc5a4e175d19</guid><dc:creator>Karl Ylvisaker</dc:creator><description>[quote user="venkatesha kj"]thanks karl its wprking[/quote]
&lt;p&gt;Great, I am happy to hear that!&lt;/p&gt;
[quote user="venkatesha kj"]&lt;p&gt;one more thing what is the minimum data rate i can set in BLE?&lt;/p&gt;
&lt;p&gt;i know only 1mbps and 2mbps are the possible but will it be possible to set below 1mbps data rate?&amp;nbsp;&lt;/p&gt;[/quote]
&lt;p&gt;I am not sure what you are asking about here, are you asking in regards to reducing the power consumption, or to practically send as little as possible? I will assume the former and say that; you will actually save power by using the 2 M PHY over the 1 M PHY because the RADIO will only be used for half the time.&lt;/p&gt;
[quote user="venkatesha kj"]i did like this to change the phy rate to 1mbps will this is the right way?[/quote]
&lt;p&gt;Yes, this will make your device advertise on the 1 M PHY. When a central scans on the 1 M PHY and initiates a connection with the device the connection will also be on 1 M PHY (it inherits the PHY of the scanner/advertiser).&lt;br /&gt;&lt;br /&gt;If you have more questions that diverge from your original ticket I would recommend that you open a new ticket for these questions, to keep the forum tidy and easy to navigate.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: i want to do simple data transfer and why blueetooth serial terminal was not be able to detect the device?</title><link>https://devzone.nordicsemi.com/thread/342460?ContentTypeID=1</link><pubDate>Wed, 08 Dec 2021 06:19:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:47a76e90-9322-4398-8201-f7511e39d701</guid><dc:creator>venkatesha kj</dc:creator><description>&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;static void advertising_init(void)
{
    int8_t tx_power_level = 8;
    uint32_t               err_code;
    ble_advertising_init_t init;
    ble_gap_adv_params_t adv_params;

    memset(&amp;amp;init, 0, sizeof(init));

    init.advdata.name_type          = BLE_ADVDATA_FULL_NAME;
    init.advdata.include_appearance = false;
   // init.advdata.flags              = BLE_GAP_ADV_FLAGS_LE_ONLY_LIMITED_DISC_MODE;
    init.advdata.flags              = BLE_GAP_ADV_FLAGS_LE_ONLY_GENERAL_DISC_MODE;

    init.srdata.uuids_complete.uuid_cnt = sizeof(m_adv_uuids) / sizeof(m_adv_uuids[0]);
    init.srdata.uuids_complete.p_uuids  = m_adv_uuids;

    init.config.ble_adv_fast_enabled  = true;
    init.config.ble_adv_fast_interval = APP_ADV_INTERVAL;
    //init.config.ble_adv_fast_timeout  = APP_ADV_DURATION;
    init.config.ble_adv_fast_timeout  = 0;
    init.evt_handler = on_adv_evt;

    adv_params.primary_phy = BLE_GAP_PHY_1MBPS;
    adv_params.secondary_phy = BLE_GAP_PHY_1MBPS;
    adv_params.duration = APP_ADV_DURATION;
    adv_params.p_peer_addr = NULL;
    adv_params.filter_policy = BLE_GAP_ADV_FP_ANY;
    adv_params.interval = APP_ADV_INTERVAL;

   // err_code = sd_ble_gap_adv_set_configure(&amp;amp;m_adv_handle, &amp;amp;m_adv_data, &amp;amp;adv_params);
   // APP_ERROR_CHECK(err_code);

     err_code = ble_advertising_init(&amp;amp;m_advertising, &amp;amp;init);
     APP_ERROR_CHECK(err_code);

     ble_advertising_conn_cfg_tag_set(&amp;amp;m_advertising, APP_BLE_CONN_CFG_TAG);

  //  err_code = sd_ble_gap_tx_power_set(BLE_GAP_TX_POWER_ROLE_ADV, m_advertising.adv_handle, tx_power_level);
   // APP_ERROR_CHECK(err_code);
}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;i did like this to change the phy rate to 1mbps will this is the right way?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: i want to do simple data transfer and why blueetooth serial terminal was not be able to detect the device?</title><link>https://devzone.nordicsemi.com/thread/342383?ContentTypeID=1</link><pubDate>Tue, 07 Dec 2021 14:30:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:19cbad1c-2c6d-4d8f-9a83-43981cc38e1e</guid><dc:creator>venkatesha kj</dc:creator><description>&lt;p&gt;thanks karl its wprking and one more thing what is the minimum data rate i can set in BLE?&lt;/p&gt;
&lt;p&gt;i know only 1mbps and 2mbps are the possible but will it be possible to set below 1mbps data rate?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: i want to do simple data transfer and why blueetooth serial terminal was not be able to detect the device?</title><link>https://devzone.nordicsemi.com/thread/342317?ContentTypeID=1</link><pubDate>Tue, 07 Dec 2021 12:32:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2dd53db2-64b4-4d7d-b60c-1aa547ed3d90</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Have you verified that your code ever enters into the BSP_EVENT_KEY_2 case?&lt;br /&gt;&lt;br /&gt;Please check the error code returned by your call to ble_nus_data_send. If you do not check the returned error code you will never be alerted if the function call fails&amp;nbsp;unexpectedly.&lt;br /&gt;Please also make sure to have DEBUG defined in your preprocessor defines, like shown in the included image:&lt;br /&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/4571.enabling_5F00_debug_5F00_SES.PNG" /&gt;&lt;br /&gt;&lt;br /&gt;This will make your logger output a detailed error message whenever a non-NRF_SUCCESS error code is passed to an APP_ERROR_CHECK.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: i want to do simple data transfer and why blueetooth serial terminal was not be able to detect the device?</title><link>https://devzone.nordicsemi.com/thread/342297?ContentTypeID=1</link><pubDate>Tue, 07 Dec 2021 11:18:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6e2792bb-7a1f-4c9a-99fe-07b8471044ee</guid><dc:creator>venkatesha kj</dc:creator><description>&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;void bsp_event_handler(bsp_event_t event)
{
    uint32_t err_code;
   // uint8_t count = 48;
  // uint8_t data_array1 = count;
   // uint8_t len = sizeof(count);
    char count[] = &amp;quot;hi serobit&amp;quot;;
    uint8_t len = strlen(count);
    switch (event)
    {
        case BSP_EVENT_SLEEP:
            sleep_mode_enter();
            break;

        case BSP_EVENT_DISCONNECT:
            err_code = sd_ble_gap_disconnect(m_conn_handle, BLE_HCI_REMOTE_USER_TERMINATED_CONNECTION);
            if (err_code != NRF_ERROR_INVALID_STATE)
            {
                APP_ERROR_CHECK(err_code);
            }
            break;

        case BSP_EVENT_WHITELIST_OFF:
            if (m_conn_handle == BLE_CONN_HANDLE_INVALID)
            {
                err_code = ble_advertising_restart_without_whitelist(&amp;amp;m_advertising);
                if (err_code != NRF_ERROR_INVALID_STATE)
                {
                    APP_ERROR_CHECK(err_code);
                }
            }
            break;
         case BSP_EVENT_KEY_2:
            // Set_Count(count-48);
             err_code = ble_nus_data_send(&amp;amp;m_nus, count, &amp;amp;len, m_conn_handle);
           // err_code = ble_nus_data_send(&amp;amp;m_nus, &amp;amp;str, &amp;amp;len, m_conn_handle);


        default:
            break;
    }
}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;i try to send the data when ever the button intterupt occured but not be able to see the data on nrf-connect app?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: i want to do simple data transfer and why blueetooth serial terminal was not be able to detect the device?</title><link>https://devzone.nordicsemi.com/thread/341091?ContentTypeID=1</link><pubDate>Mon, 29 Nov 2021 13:23:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b5b9b9b1-f095-49b4-b594-58fdc3537304</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Please share the section of the code in which you did this, using the&amp;nbsp;&lt;em&gt;Insert -&amp;gt; Code&amp;nbsp;&lt;/em&gt;option.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: i want to do simple data transfer and why blueetooth serial terminal was not be able to detect the device?</title><link>https://devzone.nordicsemi.com/thread/341068?ContentTypeID=1</link><pubDate>Mon, 29 Nov 2021 12:25:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:401d759b-ebc6-4de1-a57b-339ccc3b10ae</guid><dc:creator>venkatesha kj</dc:creator><description>&lt;p&gt;i got the output properly i am suppose to use int8_t variable&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: i want to do simple data transfer and why blueetooth serial terminal was not be able to detect the device?</title><link>https://devzone.nordicsemi.com/thread/341058?ContentTypeID=1</link><pubDate>Mon, 29 Nov 2021 11:59:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:37ca5a51-5e31-4c95-bdd1-512a4837d492</guid><dc:creator>Karl Ylvisaker</dc:creator><description>[quote user="venkatesha kj"]i want to scan the central device and check the rssi level of the central device how do i do that?[/quote]
&lt;p&gt;The peripheral does not do any scanning.&lt;br /&gt;You can still use&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.api.v7.3.0/group___b_l_e___g_a_p___f_u_n_c_t_i_o_n_s.html?cp=4_7_3_1_2_1_3_34#ga63b6ec4b1af260085b8dfe5c7b02b724"&gt;sd_ble_gap_rssi_get&lt;/a&gt;&amp;nbsp;on the peripheral to retrieve the RSSI of the last connection event on the peripheral&amp;#39;s side.&lt;/p&gt;
[quote user="venkatesha kj"]i started measuring the rssi level when i am near to the device its showing high values but when i move away from the device its showing lower values. But in nrf connect it value is negitive and showing lower negitive values when i am near to the device. will the values returned from the rssi get function are correct?[/quote]
&lt;p&gt;How did you produce these values? They do not seem like any RSSI values I have ever seen before. Could it be that you have formatted or type-casted them improperly?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: i want to do simple data transfer and why blueetooth serial terminal was not be able to detect the device?</title><link>https://devzone.nordicsemi.com/thread/340827?ContentTypeID=1</link><pubDate>Fri, 26 Nov 2021 07:25:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:af19fdcb-6140-4629-90ef-9a7e665e347e</guid><dc:creator>venkatesha kj</dc:creator><description>&lt;p&gt;app: RSSI: 206&lt;br /&gt;&amp;lt;info&amp;gt; app: RSSI: 195&lt;br /&gt;&amp;lt;info&amp;gt; app: RSSI: 180&lt;br /&gt;&amp;lt;info&amp;gt; app: RSSI: 179&lt;br /&gt;&amp;lt;info&amp;gt; app: RSSI: 164&lt;br /&gt;&amp;lt;info&amp;gt; app: RSSI: 171&lt;br /&gt;&amp;lt;info&amp;gt; app: RSSI: 173&lt;br /&gt;&amp;lt;info&amp;gt; app: RSSI: 179&lt;br /&gt;&amp;lt;info&amp;gt; app: RSSI: 174&lt;br /&gt;&amp;lt;info&amp;gt; app: RSSI: 176&lt;br /&gt;&amp;lt;info&amp;gt; app: RSSI: 170&lt;br /&gt;&amp;lt;info&amp;gt; app: RSSI: 175&lt;br /&gt;&amp;lt;info&amp;gt; app: RSSI: 177&lt;br /&gt;&amp;lt;info&amp;gt; app: RSSI: 180&lt;br /&gt;&amp;lt;info&amp;gt; app: RSSI: 176&lt;br /&gt;&amp;lt;info&amp;gt; app: RSSI: 180&lt;br /&gt;&amp;lt;info&amp;gt; app: RSSI: 180&lt;br /&gt;&amp;lt;info&amp;gt; app: RSSI: 181&lt;br /&gt;&amp;lt;info&amp;gt; app: RSSI: 181&lt;br /&gt;&amp;lt;info&amp;gt; app: RSSI: 180&lt;br /&gt;&amp;lt;info&amp;gt; app: RSSI: 182&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;i started measuring the rssi level when i am near to the device its showing high values but when i move away from the device its showing lower values. But in nrf connect it value is negitive and showing lower negitive values when i am near to the device. will the values returned from the rssi get function are correct?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: i want to do simple data transfer and why blueetooth serial terminal was not be able to detect the device?</title><link>https://devzone.nordicsemi.com/thread/340824?ContentTypeID=1</link><pubDate>Fri, 26 Nov 2021 07:14:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:19fd701e-e1ad-495a-9f0d-0df766f139ca</guid><dc:creator>venkatesha kj</dc:creator><description>&lt;p&gt;i want to scan the central device and check the rssi level of the central device how do i do that?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: i want to do simple data transfer and why blueetooth serial terminal was not be able to detect the device?</title><link>https://devzone.nordicsemi.com/thread/340819?ContentTypeID=1</link><pubDate>Fri, 26 Nov 2021 05:42:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f523dc24-ed9d-4e17-90a9-b14a97fdd55a</guid><dc:creator>venkatesha kj</dc:creator><description>&lt;p&gt;how to check the rssi level of the central device in the pheripheral device?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: i want to do simple data transfer and why blueetooth serial terminal was not be able to detect the device?</title><link>https://devzone.nordicsemi.com/thread/340770?ContentTypeID=1</link><pubDate>Thu, 25 Nov 2021 14:32:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e88269c5-baed-42dd-8fb3-bebee5da3e15</guid><dc:creator>Karl Ylvisaker</dc:creator><description>[quote user="venkatesha kj"]but it was not increased in my case?[/quote]
&lt;p&gt;It is not guaranteed - it depends on a lot of external factors in the environement.&lt;/p&gt;
[quote user="venkatesha kj"]can i use any of the above transmission power levels for nrf52840 development kit?[/quote]
&lt;p&gt;You can use the values specified as valid for the TXPOWER register in the documentation for the SoC you are working with, which I linked earlier.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: i want to do simple data transfer and why blueetooth serial terminal was not be able to detect the device?</title><link>https://devzone.nordicsemi.com/thread/340735?ContentTypeID=1</link><pubDate>Thu, 25 Nov 2021 12:58:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:13934add-75fa-4540-a834-e004d71b8118</guid><dc:creator>venkatesha kj</dc:creator><description>&lt;p&gt;-40dBm, -20dBm, -16dBm, -12dBm, -8dBm, -4dBm, 0dBm, +3dBm and +4dBm.&lt;br /&gt; * In addition, on some chips following values are supported: +2dBm, +5dBm, +6dBm, +7dBm and +8dBm.&lt;/p&gt;
&lt;p&gt;can i use any of the above transmission power levels for nrf52840 development kit?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: i want to do simple data transfer and why blueetooth serial terminal was not be able to detect the device?</title><link>https://devzone.nordicsemi.com/thread/340734?ContentTypeID=1</link><pubDate>Thu, 25 Nov 2021 12:56:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:48bb1d1d-4776-45bd-b21f-c6d5b48684c3</guid><dc:creator>venkatesha kj</dc:creator><description>&lt;p&gt;but it was not increased in my case?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: i want to do simple data transfer and why blueetooth serial terminal was not be able to detect the device?</title><link>https://devzone.nordicsemi.com/thread/340733?ContentTypeID=1</link><pubDate>Thu, 25 Nov 2021 12:55:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a214ad1f-8806-42d7-8d75-bb7a759fa921</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Yes, compared to +0dBm it will increase the transmission range.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: i want to do simple data transfer and why blueetooth serial terminal was not be able to detect the device?</title><link>https://devzone.nordicsemi.com/thread/340726?ContentTypeID=1</link><pubDate>Thu, 25 Nov 2021 12:41:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ebb4b928-6f5a-4724-bda1-a811c0ce81f5</guid><dc:creator>venkatesha kj</dc:creator><description>&lt;p&gt;&lt;span&gt;err_code = sd_ble_gap_tx_power_set(BLE_GAP_TX_POWER_ROLE_ADV, m_advertising.adv_handle, tx_power_level);&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;if tx power set to 4dbm it increases the transmission range right?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: i want to do simple data transfer and why blueetooth serial terminal was not be able to detect the device?</title><link>https://devzone.nordicsemi.com/thread/340684?ContentTypeID=1</link><pubDate>Thu, 25 Nov 2021 10:00:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0861f05a-0ad8-469d-9053-5c5f6413c657</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;The RSSI is the&amp;nbsp;&lt;em&gt;received signal&amp;nbsp;&lt;/em&gt;strength indicator. The signal will always be received weaker than what it was transferred as on the other side of the link.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: i want to do simple data transfer and why blueetooth serial terminal was not be able to detect the device?</title><link>https://devzone.nordicsemi.com/thread/340678?ContentTypeID=1</link><pubDate>Thu, 25 Nov 2021 09:36:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:00d50111-cc1d-484b-bdbe-29c343294e15</guid><dc:creator>venkatesha kj</dc:creator><description>&lt;p&gt;RSSI actually indicates the received strength right then if the transmited signal strength is 4dbm then why rssi shows -45dbm?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: i want to do simple data transfer and why blueetooth serial terminal was not be able to detect the device?</title><link>https://devzone.nordicsemi.com/thread/340654?ContentTypeID=1</link><pubDate>Thu, 25 Nov 2021 08:22:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c9a39358-a55e-4e4f-b95c-b823c14f3299</guid><dc:creator>Karl Ylvisaker</dc:creator><description>[quote user="venkatesha kj"]i have set the transmit power to 4dbm but in nrf connect app rssi level was -45dbm when i am near to the device will the tx power set to 4dbm or not?[/quote]
&lt;p&gt;No, the +4 dBm is what the radio will be outputting - so the RSSI on the receiving device will always be lower than the power it was sent with. -45 dBm is a normal value for a close device.&lt;/p&gt;
[quote user="venkatesha kj"]and am using s140 can i set&amp;nbsp;Supported tx_power values: -40dBm, -20dBm, -16dBm, -12dBm, -8dBm, -4dBm, 0dBm, +3dBm and +4dBm.&lt;br /&gt; * In addition, on some chips following values are supported: +2dBm, +5dBm, +6dBm, +7dBm and +8dBm. any of the tx power level?[/quote]
&lt;p&gt;The possible TXPOWER levels depends on which SoC you are using, not which SoftDevice you are using. You could &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fps_nrf52840%2Fradio.html&amp;amp;anchor=register.TXPOWER"&gt;see which power levels are supported in the TXPOWER register of the device you are working with&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: i want to do simple data transfer and why blueetooth serial terminal was not be able to detect the device?</title><link>https://devzone.nordicsemi.com/thread/340642?ContentTypeID=1</link><pubDate>Thu, 25 Nov 2021 07:13:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:032771a8-a461-4a61-9565-ef463c3eb5d4</guid><dc:creator>venkatesha kj</dc:creator><description>&lt;p&gt;static void advertising_init(void)&lt;br /&gt;{&lt;br /&gt; int8_t tx_power_level = 4;&lt;br /&gt; uint32_t err_code;&lt;br /&gt; ble_advertising_init_t init;&lt;/p&gt;
&lt;p&gt;memset(&amp;amp;init, 0, sizeof(init));&lt;/p&gt;
&lt;p&gt;init.advdata.name_type = BLE_ADVDATA_FULL_NAME;&lt;br /&gt; init.advdata.include_appearance = false;&lt;br /&gt; // init.advdata.flags = BLE_GAP_ADV_FLAGS_LE_ONLY_LIMITED_DISC_MODE;&lt;br /&gt; init.advdata.flags = BLE_GAP_ADV_FLAGS_LE_ONLY_GENERAL_DISC_MODE;&lt;/p&gt;
&lt;p&gt;init.srdata.uuids_complete.uuid_cnt = sizeof(m_adv_uuids) / sizeof(m_adv_uuids[0]);&lt;br /&gt; init.srdata.uuids_complete.p_uuids = m_adv_uuids;&lt;/p&gt;
&lt;p&gt;init.config.ble_adv_fast_enabled = true;&lt;br /&gt; init.config.ble_adv_fast_interval = APP_ADV_INTERVAL;&lt;br /&gt; //init.config.ble_adv_fast_timeout = APP_ADV_DURATION;&lt;br /&gt; init.config.ble_adv_fast_timeout = 0;&lt;br /&gt; init.evt_handler = on_adv_evt;&lt;/p&gt;
&lt;p&gt;err_code = ble_advertising_init(&amp;amp;m_advertising, &amp;amp;init);&lt;br /&gt; APP_ERROR_CHECK(err_code);&lt;/p&gt;
&lt;p&gt;ble_advertising_conn_cfg_tag_set(&amp;amp;m_advertising, APP_BLE_CONN_CFG_TAG);&lt;/p&gt;
&lt;p&gt;err_code = sd_ble_gap_tx_power_set(BLE_GAP_TX_POWER_ROLE_ADV, m_advertising.adv_handle, tx_power_level);&lt;br /&gt; APP_ERROR_CHECK(err_code);&lt;br /&gt;}&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;i have set the transmit power to 4dbm but in nrf connect app rssi level was -45dbm when i am near to the device will the tx power set to 4dbm or not? and am using s140 can i set&amp;nbsp;Supported tx_power values: -40dBm, -20dBm, -16dBm, -12dBm, -8dBm, -4dBm, 0dBm, +3dBm and +4dBm.&lt;br /&gt; * In addition, on some chips following values are supported: +2dBm, +5dBm, +6dBm, +7dBm and +8dBm. any of the tx power level?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: i want to do simple data transfer and why blueetooth serial terminal was not be able to detect the device?</title><link>https://devzone.nordicsemi.com/thread/340564?ContentTypeID=1</link><pubDate>Wed, 24 Nov 2021 13:54:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:286dcd52-aa20-48a7-8d05-55da04d618ff</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;If you do not specify it explicitly it will use the default value of +0 dBm.&lt;br /&gt;You may re-configure this at the end of the advertising_init function.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: i want to do simple data transfer and why blueetooth serial terminal was not be able to detect the device?</title><link>https://devzone.nordicsemi.com/thread/340563?ContentTypeID=1</link><pubDate>Wed, 24 Nov 2021 13:47:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:46c1fab1-b3f5-4145-9d9f-83c9c7fc2417</guid><dc:creator>venkatesha kj</dc:creator><description>&lt;p&gt;static void advertising_init(void)&lt;br /&gt;{&lt;br /&gt; uint32_t err_code;&lt;br /&gt; ble_advertising_init_t init;&lt;/p&gt;
&lt;p&gt;memset(&amp;amp;init, 0, sizeof(init));&lt;/p&gt;
&lt;p&gt;init.advdata.name_type = BLE_ADVDATA_FULL_NAME;&lt;br /&gt; init.advdata.include_appearance = false;&lt;br /&gt; // init.advdata.flags = BLE_GAP_ADV_FLAGS_LE_ONLY_LIMITED_DISC_MODE;&lt;br /&gt; init.advdata.flags = BLE_GAP_ADV_FLAGS_LE_ONLY_GENERAL_DISC_MODE;&lt;/p&gt;
&lt;p&gt;init.srdata.uuids_complete.uuid_cnt = sizeof(m_adv_uuids) / sizeof(m_adv_uuids[0]);&lt;br /&gt; init.srdata.uuids_complete.p_uuids = m_adv_uuids;&lt;/p&gt;
&lt;p&gt;init.config.ble_adv_fast_enabled = true;&lt;br /&gt; init.config.ble_adv_fast_interval = APP_ADV_INTERVAL;&lt;br /&gt; //init.config.ble_adv_fast_timeout = APP_ADV_DURATION;&lt;br /&gt; init.config.ble_adv_fast_timeout = 0;&lt;br /&gt; init.evt_handler = on_adv_evt;&lt;/p&gt;
&lt;p&gt;err_code = ble_advertising_init(&amp;amp;m_advertising, &amp;amp;init);&lt;br /&gt; APP_ERROR_CHECK(err_code);&lt;/p&gt;
&lt;p&gt;ble_advertising_conn_cfg_tag_set(&amp;amp;m_advertising, APP_BLE_CONN_CFG_TAG);&lt;br /&gt;}&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;in advertisement initialisation where actually tx power was set?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: i want to do simple data transfer and why blueetooth serial terminal was not be able to detect the device?</title><link>https://devzone.nordicsemi.com/thread/340562?ContentTypeID=1</link><pubDate>Wed, 24 Nov 2021 13:43:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:36d16aa1-039e-4ede-9286-c18536d4d34c</guid><dc:creator>Karl Ylvisaker</dc:creator><description>[quote user="venkatesha kj"]will online power profiler requires power profiler kit ?[/quote]
&lt;p&gt;No, the online power profiler only makes estimates of power consumption for the specified scenario. Please keep in mind that these estimates assume no other operations are happening on your DK concurrently with the radio activity.&lt;/p&gt;
[quote user="venkatesha kj"]where actually transmission power set api called and how to change the transmission power?[/quote]
&lt;p&gt;You may set the TX power through &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s112.api.v7.2.0/group___b_l_e___g_a_p___f_u_n_c_t_i_o_n_s.html#gad10e80ba20ddab42d1753fd1be2d8c26"&gt;the sd_ble_gap_tx_power_set&lt;/a&gt;&amp;nbsp;function. This should be called as part of the advertising / scanning initialization, before advertising / scanning has begun. Connections will inherit the power level configured during initialization of advertising / scanning.&lt;/p&gt;
[quote user="venkatesha kj"]how to measure power consumption in nrf52840 development kit using power profiler kit?[/quote]
&lt;p&gt;If you wish &lt;a href="https://infocenter.nordicsemi.com/topic/ug_nrf52840_dk/UG/dk/hw_measure_current.html"&gt;to measure the current consumption of the nRF52840 DK you should follow the Current Measurement section of its Product Specification&lt;/a&gt;.&lt;br /&gt;I see that you have made a separate ticket for this. Please do not post duplicates of your questions, and please create new tickets for issues that diverge from your existing ticket - such as power consumption, in this case.&lt;/p&gt;
[quote user="venkatesha kj"]this was the function to assign the buttons to appropriate bsp events but in that function why default event passed ? which means all the buttons assinged to default events then how come button1 assigned to bsp_event_wakeup?[/quote]
&lt;p&gt;This is only for the general bsp.c case, the application actually uses the bsp_btn_ble case which is what the button overview you are referencing is referring to. Please take a look at the bsp_btn_ble.c &amp;#39;s bsp_btn_ble_init function.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: i want to do simple data transfer and why blueetooth serial terminal was not be able to detect the device?</title><link>https://devzone.nordicsemi.com/thread/340524?ContentTypeID=1</link><pubDate>Wed, 24 Nov 2021 11:49:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:43817eb9-6150-48aa-9ebc-f9d88022acf6</guid><dc:creator>venkatesha kj</dc:creator><description>&lt;p&gt;how to measure power consumption in nrf52840 development kit using power profiler kit?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: i want to do simple data transfer and why blueetooth serial terminal was not be able to detect the device?</title><link>https://devzone.nordicsemi.com/thread/340522?ContentTypeID=1</link><pubDate>Wed, 24 Nov 2021 11:37:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e33544ea-4c7e-44f4-a19c-2a0edf97a87a</guid><dc:creator>venkatesha kj</dc:creator><description>&lt;p&gt;where actually transmission power set api called and how to change the transmission power?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>