This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Which basis set value for SDM_SVC_BASE is 0x10?

Hi Everyone,

I am working on nrf52832, I am using sdk15.0.0 ble_beacon_app.

I want set tx_power but when softdevice enable gettting error.

I am tried using sd_ble_gap_tx_power_set(); 

SD_SOFTDEVICE_ENABLE = SDM_SVC_BASE, /**< ::sd_softdevice_enable */

/** @brief SoftDevice Manager SVC Base number. */

#define SDM_SVC_BASE 0x10 //0x10

please someone help me to solved this problem.

Parents
  • Hello,

     

    I am tried using sd_ble_gap_tx_power_set(); 

     What happened? Did it work? If not, what did it return?

     

    SD_SOFTDEVICE_ENABLE = SDM_SVC_BASE, /**< ::sd_softdevice_enable */

    /** @brief SoftDevice Manager SVC Base number. */

    #define SDM_SVC_BASE 0x10 //0x10

     I don't know this by heart, but I guess it depends on the softdevice version you are using. Please don't change the default value for this. It should be the same as it was when you unzipped the SDK that you are using.

    And you don't need SDM_SVC_BASE in order to set the tx power.

    Just check what sd_ble_gap_tx_power_set() returns.

    Best regards,

    Edvin

Reply
  • Hello,

     

    I am tried using sd_ble_gap_tx_power_set(); 

     What happened? Did it work? If not, what did it return?

     

    SD_SOFTDEVICE_ENABLE = SDM_SVC_BASE, /**< ::sd_softdevice_enable */

    /** @brief SoftDevice Manager SVC Base number. */

    #define SDM_SVC_BASE 0x10 //0x10

     I don't know this by heart, but I guess it depends on the softdevice version you are using. Please don't change the default value for this. It should be the same as it was when you unzipped the SDK that you are using.

    And you don't need SDM_SVC_BASE in order to set the tx power.

    Just check what sd_ble_gap_tx_power_set() returns.

    Best regards,

    Edvin

Children
Related