Welcome Guest,Register Now
Log In

ANT Forum

Welcome guest, please Login or Register

   

user defined device type multiple devices search

Rank

Total Posts: 22

Joined 2015-01-28

PM

Hi,

i want to search all devices having device type 1 or need to do wild card search and display all device Number.
I have studied Multi Device Search in ANT+ SDK source code .


I need to wild card search of all devices and display the list of available device number.so user can select one to which he/she want to connect .

please suggest the solution ASAP,
     
Avatar
RankRankRankRank

Total Posts: 745

Joined 2012-09-14

PM

Hi,

Are you attempting to list ANT+ devices or private ANT devices?      
Rank

Total Posts: 22

Joined 2015-01-28

PM

Hi,

Yes, I want to list out all private ant devices.

If user choose one option from selected devices, then app should be connected to same device. and all other devices should be blacklisted, user should not connect to them.

I have tried this with background scanning and i had got device list available in id list.

I also wanted seperate Blacklist features , where user can add ID to which app should not allow to connect.

I have added code for Inclusive /Exclusive list for that.
but when i add id in blacklist,error is not generated and inclusive/ exclusive features does not work.
after added to inclusive/exclusive list, i close the device and start again, but it is connecting to the ant device id previously blacklisted.