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

nrf51822 advertising interval in Connectable undirected mode

Hi,

i am using nrf51822 for my application.

i am using connectable undirected mode with 40 ms advertising interval but when i am seeing the device data in the nrf master control panel app,it is showing advertised interval as N/A.

plz explain me about this issue or i am doing something wrong.

thanks, shah Rays

Parents
  • FormerMember
    0 FormerMember

    What are your advertising settings? Do you see the same problem if you copy the advertising settings from one of our examples to your application?

    If you do what shibshab suggests, use the sniffer, do you see that your device is advertising correctly?

    For continuous advertising, with not timeout, the timeout parameters should be set to '0'. If you don't want any centrals to connect to your device, you should set the advertising type to 'non connectable', BLE_GAP_ADV_TYPE_ADV_NONCONN_IND.

  • FormerMember
    0 FormerMember in reply to FormerMember

    Could you use the sniffer, and catch what is actually being transferred over the air? And then upload the sniffer trace here?

    If you run your application in debug mode, and set a break point in app_error_handler(..), is there an error at any point? When debugging the application, I would recommend you to set "DEBUG" in "options for target --> C/C++ --> Define". By doing so, the chip will not reset when in app_error_handler, instead it will go into an infinity loop.

Reply
  • FormerMember
    0 FormerMember in reply to FormerMember

    Could you use the sniffer, and catch what is actually being transferred over the air? And then upload the sniffer trace here?

    If you run your application in debug mode, and set a break point in app_error_handler(..), is there an error at any point? When debugging the application, I would recommend you to set "DEBUG" in "options for target --> C/C++ --> Define". By doing so, the chip will not reset when in app_error_handler, instead it will go into an infinity loop.

Children
No Data
Related