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.
HI Cjb21,
Please tell me which example do you use from my github.
and then how to reproduce sequence .
Thank you for your reply.
The project url you used on your github.
https://github.com/jimmywong2003/nrf5-ble-multiple-role-example
Two examples were downloaded and tested on the nrf52832 dk board.
I used sdk 15.3.
I have connected nrf52832 board and iphone7 (app: nrf toolbox).
I want to send and receive data in both directions using uart terminal.
But The <ble_app_lbs_nus_its_multi-role> example doesn't seem to be normal.
I used nrf52832(pca10040/s132) board.
A. Example <ble_app_lbs_nus_its_multi_role> and the Mobile Connection Screen
<ble_app_lbs_nus_its_multi_role/nrf52832(Peripheral mode)>
In the uart terminal, I typed "data send" on the keyboard.
(Tx "DATA SEND")
<NRF TOOLBOX(ios)> (Central)
not reveive
B. Example <ble_app_lbs_nus> and the Mobile Connection Screen
<ble_app_lbs_nus/nrf52832(Peripheral)>
In the uart terminal, I typed "data send" on the keyboard.
(Tx "DATA SEND")
<NRF TOOLBOX(ios)> (Central)
reveived "data send"
C.
There are additional issues involved.
Two NRF52832 DK boards were used. On the first NRF52832 DK board I downloaded the <ble_app_lbs_nus_its_multi_role> example. On the second board I downloaded ble_app_lbs_nus. <ble_app_lbs_nus_its_multi_role> was used in CENTRAL mode.
I set <ble_app_lbs_nus> to Peripheral. The connection was successful. However, Using UART terminal <ble_app_lbs_nus_its_multi_role> Sent data to the board. <ble_app_lbs_nus> No data is received on the board.
In my opinion, the ble_nus_data_send () function seems to have a problem
in the ble_app_lbs_nus_its_multi_role example.
Thanks to Jimmy, the development went smoothly.
Please, reply.
thank you.
Have a nice day