Re: Peripheral not being discovered in the background until I open the BlueTooth Settings page
Re: Peripheral not being discovered in the background until I open the BlueTooth Settings page
- Subject: Re: Peripheral not being discovered in the background until I open the BlueTooth Settings page
- From: Jan Lübeck (Fyrastudio) <email@hidden>
- Date: Tue, 10 Nov 2015 15:52:43 -0500
- X_v_e_cd: e0589476708c5a281863be1aa1383c87
- X_v_r_cd: f16157868fd596a5c80c78bc456e2204
Hey Craig, I just found out that the service is definitely in the advertisement. This is what I'm getting in the centralManager:didDiscoverPeripheral delegate inside the advertisementData dictionary:
{
kCBAdvDataIsConnectable = 0;
kCBAdvDataLocalName = OurBLEName;
kCBAdvDataServiceUUIDs = (
"Human Interface Device",
"BEC45326-A8D8-4A94-80FC-9AC1DE89DAA6"
);
kCBAdvDataTxPowerLevel = "-40";
}
That UUID is the one I'm scanning for.
Any ideas?