steamclock / bluejay

A simple Swift framework for building reliable Bluetooth LE apps.
MIT License
1.09k stars 98 forks source link

Unable to detect my device #257

Open abhi-aztech opened 3 years ago

abhi-aztech commented 3 years ago

Summary: The peripheral I am trying to find with bluetooth scan is not getting listed after addition of few service.

Steps to Reproduce:

  1. Set Expected services
  2. Start scanning
  3. Wait for returning devices in callback

Actual Result:

No Devices Expected Result: Device to be listed in Peripheral found.

Device, Build, OS: iPhone X, iOS 14

Log :

2021-04-26 18:26:06.053600+0800 Kyla Mercury[931:309467] Lost discovery: ScanDiscovery(peripheralIdentifier: Bluejay.PeripheralIdentifier(uuid: 0629A72F-D08B-9C64-DA54-183D0111B8C8, name: "KYLA MECURY"), advertisementPacket: ["kCBAdvDataSolicitedServiceUUIDs": <__NSArrayM 0x2833b7e40>(
Current Time
)
, "kCBAdvDataTimestamp": 641125551.046602, "kCBAdvDataIsConnectable": 1, "kCBAdvDataRxPrimaryPHY": 0, "kCBAdvDataServiceUUIDs": <__NSArrayM 0x2833b7d20>(
Heart Rate,
Battery,
Device Information,
1814,
Blood Pressure,
Health Thermometer,
Bond Management
)
, "kCBAdvDataLocalName": KY, "kCBAdvDataRxSecondaryPHY": 0], rssi: 127)