Ios BLE extended Advertising example - ios

Does anyone know how to implement BLE extended advertising using Core Bluetooth or any other library in ios . From BLE 5.0 there should be option of sending 255 Bytes in advertising pockets as described here
Thanks in advance for your help.

Related

Implementing BLE Paired connection in Peripheral App

I was looking for sample codes for implementing the BLE peripheral. I was able to find few example projects for reference but I could not find APIs related to BLE pairing. As per the requirement my App(configured as a peripheral) needs to pair (using a passkey) with the central before communicating any data. Can anyone guide me?
NOTE: My development environment is iOS V11, Swift 4 and XCode 9.

App connecting with Iheath BP7 device BLE

I want to write application IOS and use IHealth BP7 device BLE.
In the delegate of CBCentralManager i didn't receive the BP7 device.
Someone know if it is possible to write BLE app with datas from the BP7 device?
Thanks.
Well, no wonder you can't connect to iHealth BP7 as it doesn't even have BLE.
It has Bluetooth V3.0 as the official doc states:
Wireless Communication: Bluetooth V3.0 + EDR Class 2 SPP
You have limited options if you want use regular bluetooth on iOS. More here:
iOS and bluetooth

iOS sample to connect a Bluetooth with MFI

I have an application for Android that communicates via Bluetooth with a hardware we develop. Now I need to develop an application for iOS that connects with the same hardware via bluetooth. This hardware makes serial communication via Bluetooth.
I've been researching quite recently and found two outputs:
- Bluetooth Low Energy (BLE).
- Bluetooth with "MFI Program".
Analyzing the smartphone today, both Android as iOS, the best option would be the MFI. Due to availability on older smartphones. Even already started the enrollment process over MFI program.
My question focuses on the development on iOS. And my question is:
Looking for Objective-C. Is there a difference between connecting to a Bluetooth Low Energy or MFI? Could someone show me an example of connecting via Bluetooth MFI?
As I understand it, devices enrolled in the MFi program use the EAAccessory framework, not CoreBluetooth. Documentation is here: External Accessory Programming Topics.
Sample code here.
MFI is for Bluetooth device Hardware.
Coming to connecting to BLE device from iOS devices, you have to use CoreBluetooth framework.
http://www.raywenderlich.com/52080/introduction-core-bluetooth-building-heart-rate-monitor
Check this link.

How to connect iOS with BLE and previous versions of Bluetooth

we are about to start developing an app for iOS that reads data sent via Bluetooth from a device. Which framework should we use if the Bluetooth device that sends the data is not BLE 4.0? In addition to this, if it is possible to develop to app by using a different framework, will the same app also be able to connect to BLE 4.0?
Any pointer is highly appreciated.
Thanks in advance for any pointer.
The framework you are looking for is the ExternalAccessory.framework (although there are limitations). You can use it and the Corebluetooth.framework inside the same app, but they will not be related on which devices they can connect to. Corebluetooth is Bluetooth low energy only. Check this answer and the related links for more information on using the ExternalAccessory.framework :
How to use bluetooth classic instead of le

Can CoreBluetooth framework pair and talk to a slave bluetooth 2.0 serial module?

I would like to write an app for iPhone 4s that can talk to a slave bluetooth 2.0 serial module such as the HC-06, BC417, or EGBT-046S. Is this possible? Can anyone provide some sample code?
No, CoreBluetooth is for Bluetooth Low Energy. The External Accessory Framework can be used for Classic Bluetooth connection. But to be able to open on a serial link from the iPhone, you need a peripheral that complies with the Made For iPhone (MFi) program, and you need to be an MFi member to be able to buy one. Look at this question for more info: What's needed to use the Apple Accessory Protocol?

Resources