Welcome Guest,Register Now
Log In

ANT Forum

Welcome guest, please Login or Register

   

Parallel search on Sony Xperia Active

Rank

Total Posts: 2

Joined 0

PM

Dear all,

I am trying to search for devices in parallel on multiple channels.

The channels are configured with the same network id, same radio frequency and same channel period. According to "ANT_AN15_Multi_Channel_Design_Considerations" the search should then be done in parallel, however on the Xperia Active the search is done sequentially.

Has anybody a hint of what I could have done wrong? Thank you!

Cheers,
Sebastian


MESG_VERSION_ID: [0B][3E][41][4F][56][31][2E][30][38][42][30][30][00]
MESG_CAPABILITIES: [06][54][08][03][00][B2][36][00]      
Avatar
RankRankRankRank

Total Posts: 745

Joined 2012-09-14

PM

Hi,

It would be very helpful to describe exactly what your seeing, but I would recommend reading this thread about the AP2 module and how it's search behaviour works. It should be very similar to the Xperia Active.

Cheers      
Rank

Total Posts: 2

Joined 0

PM

Thanks for the answer! I didn't know that the search timeouts stack up. I've now worked around it, by setting the search timeout to infinite and using a software timeout instead.      
Rank

Total Posts: 2

Joined 0

PM

I'm still having problems searching for other devices in parallel.

Here is what I would want to do:
I've a couple of moving devices and on each device I would like to now which other devices are nearby.

Here is what I did:
My approach so far used one master channel on each device that broadcast a device ID. In parallel I open up to 7 slave channels to search for a list of other devices. A slave channel is opened with a deviceID which is popped from a list of devices to search for. I've disabled the high priority search timeout and set the low priority search timeout to infinite and instead used a software timeout each 5 seconds because I don't want the search timeouts to stack up.
In case that a device with a corresponding deviceID is found or a timeout occurs the channel is closed, the deviceID is appended back to the list and the channel is reopened with a new deviceId popped from the list.

The problem:
The approach seems to work for the first hour or so, but after that time, no or not all devices are found anymore. Sometimes even the ANT chip does not respond anymore.

Any guess why this is? I would be very glad for some help or better approaches to find nearby moving devices using ANT.

notes:
- I cannot use background search, because the ANT chip in the phone does not support it.

- I've also tried the list search example from the device pairing application note which uses wildcards instead of a predefined list, however also then not all devices are found.

Thanks for your help.
Sebastian