Forums - Can csr1010 connect as Peripheral and scanning at same time?

9 posts / 0 new
Last post
Can csr1010 connect as Peripheral and scanning at same time?
MrFine001
Join Date: 13 Jun 16
Posts: 14
Posted: Mon, 2016-06-13 16:37

Can csr1010 connect as Peripheral and scanning at same time?

  • Up0
  • Down0
Dr. Nissim Zur
Profile picture
Join Date: 6 Jun 16
Location: Skype: nissim.test CSR1010 External design house
Posts: 235
Posted: Mon, 2016-06-13 21:43
CSR1010 support one profile at the time. Once its profile is Observer, it can't act as Peripheral connected profile needs
  • Up0
  • Down0
Jesse Tsai Moderator
Join Date: 5 Apr 16
Posts: 12
Posted: Thu, 2016-06-16 23:37
Hi rui.fan and Dr. Nissim Zur,
 
CSRMesh is an example which connects as peripheral and performs scanning at same time. Please use GapSetMode() function for role switching. It also requires to stop/start scan for each radio event.
 
Thanks.
  • Up0
  • Down0
Dr. Nissim Zur
Profile picture
Join Date: 6 Jun 16
Location: Skype: nissim.test CSR1010 External design house
Posts: 235
Posted: Fri, 2016-06-17 01:21

I believe the question related to doing both profiles on same time without to switch profiles. Moreover, since CSRmesh is based on close libs, it can't really use in applications do not need mesh.

Regarding "stop/start scan for each radio event."
what API can do radio event out ?
Are there events that report the end of broadcaster RF out a message ?

  • Up0
  • Down0
Jesse Tsai Moderator
Join Date: 5 Apr 16
Posts: 12
Posted: Fri, 2016-06-17 02:31
Hi Dr. Nissim Zur,
 
You might be right. It depends on the definition and use case. CSRmesh is also a SDK application and the library use standard API.
 
Regarding "stop/start scan for each radio event." Please refer to the API document for LsRadioEventNotification() in Ls_app_if.h.
 
Thanks.
  • Up0
  • Down0
MrFine001
Join Date: 13 Jun 16
Posts: 14
Posted: Fri, 2016-06-17 23:14

Dr. Nissim Zur and Jesse Tsai:

       Thanks for your help, I had test the case it can connected as a Peripheral and the same time to scan advertising data; but it can`t connect other Peripheral device. 

 

Thanks

  • Up0
  • Down0
Dr. Nissim Zur
Profile picture
Join Date: 6 Jun 16
Location: Skype: nissim.test CSR1010 External design house
Posts: 235
Posted: Sat, 2016-06-18 00:11
Rui, Your reply is no so clear. Is the peripheral that is now connected did also scaning, and find other peripherals ? Maybe the scan you mean is Phone scan ? (Central devices) In any case, peripheral can't connect to other peripherals.
  • Up0
  • Down0
MrFine001
Join Date: 13 Jun 16
Posts: 14
Posted: Tue, 2016-06-21 18:51

Dr Nissim Zur:

          I mean the peripheral can connect to a central and scanning other peripheral`s advertising data at same time, and it can`t connect other peripherals.

  • Up0
  • Down0
Dr. Nissim Zur
Profile picture
Join Date: 6 Jun 16
Location: Skype: nissim.test CSR1010 External design house
Posts: 235
Posted: Wed, 2016-06-22 04:58

The phone can connect to one peripheral and scan for other peripherals on the same time.

But it limited to up to 7 peripherals at the same time.

Maybe more on new OS.

  • Up0
  • Down0
or Register

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.