Forums - Gatt server stops advertsing after pairing

5 posts / 0 new
Last post
Gatt server stops advertsing after pairing
aswin.v
Join Date: 22 Feb 17
Posts: 12
Posted: Mon, 2017-06-12 22:32

Hello ,

I am working with "gatt_ser_ver" available in the CSR SDK sample apps.It works fine and broadcasts the name "CSR_GATT_SERVER".But once I pair the device with a android phone (by going to bluetooth page ,scan and pair) ,the device stops advertising.Even after I pressed forget pairing button in the bluetooth page ,it is not advertising.After scanning then onwards,bluetooth is not showing.I tried disabling whitelists,removing pairing support etc.But it is not working.Please help.

 

  • Up0
  • Down0
Dr. Nissim Zur
Profile picture
Join Date: 6 Jun 16
Location: Skype: nissim.test CSR1010 External design house
Posts: 235
Posted: Tue, 2017-06-13 00:22

Try to press on device button 7 to 15 sec to clear CSR1010 device state. 

Note that advertising will stop in ~1 min. 

  • Up0
  • Down0
aswin.v
Join Date: 22 Feb 17
Posts: 12
Posted: Tue, 2017-06-13 02:26

Sir ,I dont want the BLE advertisement to stop.How it can be enabled through out and without any key press from user ?

  • Up0
  • Down0
Dr. Nissim Zur
Profile picture
Join Date: 6 Jun 16
Location: Skype: nissim.test CSR1010 External design house
Posts: 235
Posted: Tue, 2017-06-13 05:36

Just use CSR iBeacon demo. https://goo.gl/EZQFXc

 

  • Up0
  • Down0
Acutetech
Join Date: 29 Jul 16
Posts: 25
Posted: Wed, 2017-06-14 01:09

Hi Aswin

If you are interested in beacons (which advertise only) then you should check out the Eddystone specifications. They provide a lot of flexibility. There is a CSR1010 implementation here:

https://github.com/google/eddystone/tree/master/eddystone-url/implementa...

Regards - Charles

  • 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.