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

Unable to find API Reference for BT_LE_AD_GENERAL

Hi,

I've setup nRF Connect SDK v1.1.0 and I was taking a look at the the peipheral_uart example. I couldn't find any API reference when I searched in the v1.1.0 documentation for 

BT_LE_AD_GENERAL and BT_LE_AD_NO_BREDR. I tried searching for it in all the 4 documentation options. Am I missing something here or is this an issue with the documentation?
Thanks
Gowtham
Parents
  • Hello Gowtham,

    Can you please elaborate on what you are looking for? Are you looking for what BT_LE_AD_GENERAL and BT_LE_AD_NO_BREDR mean? These are defined in zephyr\include\bluetooth\gap.h

    Fullscreen
    1
    2
    3
    #define BT_LE_AD_LIMITED 0x01 /* Limited Discoverable */
    #define BT_LE_AD_GENERAL 0x02 /* General Discoverable */
    #define BT_LE_AD_NO_BREDR 0x04 /* BR/EDR not supported */
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    Kind regards,
    Øyvind

  • Hi, 

    I was looking for the documentation for these macros. You can see that in the below link, it mentions that no results are found when I searched for this macro in the zephyr documentation for nRF Conenct SDK v1.1.0

    https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.1.0/zephyr/search.html?q=BT_LE_AD_GENERAL&check_keywords=yes&area=default

    Since, these macros are being used in the example code(peripheral_uart example), I believe that a decent bit of documentation should be available as to what these macros are and how to use them.

Reply Children
  • I did some investigation, and it seems like this is a documentation bug which I agree should be documented. I will report this to our NCS team. 

    Kind regards,
    Øyvind