Forums - Enabling BLE on Qcs610

2 posts / 0 new
Last post
Enabling BLE on Qcs610
f.anusha
Join Date: 20 Nov 20
Posts: 3
Posted: Tue, 2021-03-02 02:25
Hi, When I tried to advertise the BLE packet from the bt App , I m facing issue that device is not able to discover on external BLE app in mobile, Whenever in mobile I m trying to scan, I m not able to discover
  • Up0
  • Down0
g.ramsingh
Join Date: 17 Sep 20
Posts: 7
Posted: Tue, 2021-03-02 03:48

Hi Anusha, when you are trying to ble advertise using btapp. It may require two configuration files named ServerConfigFile.txt and AdvertiseConfigFile.txt.  You need to push these files into /data/misc/bluetooth/  folder.  The format for these files is given below, you can create these files and push them into /data/misc/bluetooth/ folder.

Format for ServerConfigFile.txt

**************Server1*************
Service1:00001111-0000-1000-8000-00805f9b34fb,00009984-0000-1000-8000-00805f9b34fb,10,17,00002a06-0000-1000-8000-00805f9b34fb,17
Service2:00002222-0000-1000-8000-00805f9b34fb,00009977-0000-1000-8000-00805f9b34fb,24,16,00002a06-0000-1000-8000-00805f9b34fb,16
Service3:00003333-0000-1000-8000-00805f9b34fb,00009983-0000-1000-8000-00805f9b34fb,40,16,00002a06-0000-1000-8000-00805f9b34fb,16
Service4:00004444-0000-1000-8000-00805f9b34fb,00009981-0000-1000-8000-00805f9b34fb,24,17,00002a06-0000-1000-8000-00805f9b34fb,17
Service5:00005555-0000-1000-8000-00805f9b34fb,00009968-0000-1000-8000-00805f9b34fb,24,17,00002a06-0000-1000-8000-00805f9b34fb,17
ManufacturerId:0
ManufacturerData:AAAA

Format for AdvertiseConfigFile.txt

*******************AdvertisingSet1***************
TxPower:1
LegacyFlag:1
PeriodicFlag:0
ConnectableFlag:1
ScannableFlag:1
AnonymousFlag:0
IncludePower:1
PrimaryPhy:1
SecondaryPhy:1
Interval:160
TimeOutLegacy:0
AdvertiseMode:1

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