- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I want to check connection and transfer data function via hello_sensor demo example. I use APP in mobile phone to simulate pheriphery. But I cant judge which one is my APP pheriphey Because I just list mac address and UUID. I don't know how to print pheriphy's "name". What can I do?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Treacy,
In your callback function, you can compare the peripheral device name which you want using strncmp and and connect to that device.
Please refer implementation here: CypressAcademy_WBT101_Files/Projects/ch04d/key_ch04d_ex02_observer_mydev at master · cypresssemicond...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Treacy,
In your callback function, you can compare the peripheral device name which you want using strncmp and and connect to that device.
Please refer implementation here: CypressAcademy_WBT101_Files/Projects/ch04d/key_ch04d_ex02_observer_mydev at master · cypresssemicond...