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

About connecting to a smartphone using extended advertising

Hi everyone,

I am trying to connect to a smartphone in an extended advertising using the firmware created under the following conditions.
However, there are no event notifications from Softdevice under certain conditions and smartphones are in general error.

Unfortunately Sniffer doesn't support extended advertising , so it can't be parsed.

Why does this happen?


[conditions]

Chip:nRF52840

Softdevice version:6.1.0

PHY:

Primary:1Mbps

Secondary:all

cellphone:Galaxy S10+

Thanks!

Parents
  • Hi

    Are you seeing an error on the nRF side as well? Error 133 is a generic GATT error and is hard to narrow down without any other details. Can you share a snippet of your advertising_init() function as well, so we can make sure that the extended advertising is set up correctly?

    Best regards,

    Simon

  • Hi

    1.Are you seeing an error on the nRF side as well? 

    Yes.

    nRF Connect error is "Error 133 (0x85): GATT ERROR".

    2.Can you share a snippet of your advertising_init() function as well, so we can make sure that the extended advertising is set up correctly?

    "advertising_init" function is not used.

    Which setting's information should I give?

    Best regards

  • Hi

    Just to confirm. You are using an nRF52840 as a peripheral in your setup, correct, where the nRF52840 is advertising data to your phone using extended advertising?

    1. By "on the nRF side" I mean: If you try debugging the nRF52840 that is advertising while it's running. Does it return any errors when this GATT ERROR occurs in nRFConnect? 

    2. Can you show me the part of your code (in the peripheral device) where you initialize the advertising and set up the advertising parameters?

    Best regards,

    Simon

Reply
  • Hi

    Just to confirm. You are using an nRF52840 as a peripheral in your setup, correct, where the nRF52840 is advertising data to your phone using extended advertising?

    1. By "on the nRF side" I mean: If you try debugging the nRF52840 that is advertising while it's running. Does it return any errors when this GATT ERROR occurs in nRFConnect? 

    2. Can you show me the part of your code (in the peripheral device) where you initialize the advertising and set up the advertising parameters?

    Best regards,

    Simon

Children
No Data
Related