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

Getting name and id from advertisers

Hi there

First I tell you what I'm, trying to do...

I want to made a connection between a robot and a pc. Over this connection I want to program the robot with new software.

The clue is that there are multiple robots with a dongle with the same services. Now i want to connect my pc with the correct robot. So i have to know the name and

also his uuid to connect to him (if i need uuid to connect and nothing else).

On the PC side i'm also using a nrf52840 Dongle

How can i get the number and name from advertising dongle for my central dongle while advertising/scanning ?

Is this even possible ?

If yes...how ?

I'm working with ble_app_uart example from sdk15.3 on central and peripheral. The service i'm using is NUS.

I'm using s140.

Thanks for every response.

greetings N3210

Parents
  • Hi

    You do this during service discovery. Again, the custom BLE service example explains how to decide what is shown to a central during service discovery. As far as I know, there shouldn't be any problems using the ble_app_uart_c example, could you provide a link to where you read this? I think the ble_app_uart example should be fine for your central. 

    Best regards,

    Simon

Reply
  • Hi

    You do this during service discovery. Again, the custom BLE service example explains how to decide what is shown to a central during service discovery. As far as I know, there shouldn't be any problems using the ble_app_uart_c example, could you provide a link to where you read this? I think the ble_app_uart example should be fine for your central. 

    Best regards,

    Simon

Children
Related