Hello,
What SDK version do you use? Can you check what the on_adv_report() does when it picks up the advertisements from the phone? You can also see inside this function what it is looking for, whether it is a UUID or an advertising name (or something else).
It is a bit hard to pinpoint exactly where it checks for this, as it differs between the different SDK versions, but do a search for "on_adv_rep" in your project, and see if you can find out what function that is called when the scanner receives an advertisement report.
Thank you for answer.
I am using s132 on pca10040 in version 15.3.
I am using the nrf52832 chip.
It is difficult to verify that the on_adv_rep function works
Peripheral is the uart, Central is the.
I tried to match UUID and device_name but it does not work. Help
Ok. So you are using the ble_app_lbs_nus_c project, is that correct?
If so it is looking for devices named "LBS_NUS_Node".
I tested it now, and I see that the nRF Connect for Mobile doesn't actually set the name in the advertisement packets (at least for iOS). Have you tested to connect it to another DK running the peripheral project?
Best regards,
Edvin
Hi.
I am using the ble_app_lbs_nus_its_multi-role example.
I have built and tested a peripheral example on another dk board,
My dk board does not connect to central mode.
Thank you
I assume that you use the Segger Embedded Studio (SES) projects?
Do you see the logging information in SES?
cjb21 said:
I have built and tested a peripheral example on another dk board,
My dk board does not connect to central mode.
What do you mean? It doesn't connect to a central or it doesn't connect to a peripheral? I have tested both cases, and it does. Not the phone advertising, but the ble_app_lbs_nus_its_multi_role example connects to both the ble_app_lbs_nus and the ble_app_lbs_nus_c example.
Did you do any changes to any of the examples?
You use the correct projects, right? The pca10040 ones?