I am currently working on one of the IOS BLE app and found some issues while advertising from Peripheral,
1) When app goes to background it doesent seems to be discovered by my Central app(I have even tried with LightBlue app which works well in foreground), from apple docs I have found that,
All service UUIDs contained in the value of the CBAdvertisementDataServiceUUIDsKey advertisement key are placed in a special “overflow” area; they can be discovered only by an iOS device that is explicitly scanning for them.
Does that means Central must be scanning particular Service UUIDs only? I was trying by passing nil as I need to discover all nearby peripherals.
2) Is there any way to pass custom advertisement data which can be read by an central without connecting the peripheral? Or Can I pass custom UUID instead of default one? I have tried different ways but not able to found which is helpful to pass custom data, i want to pass some user specific details from peripheral.
I heard that Mingleton is also based on BLE and it seems like that their app is working well in background, any idea what technique they have used?