MonoTouch Bluetooth/Arduino example - xamarin.ios

Has anyone used bluetooth communications from an iOS device to an Arduino?
The documentation for the MonoTouch 5.0 release mentions a new Bluetooth interface, but I can't find a single piece of documentation in the API docs.
"Bluetooth
Using the MonoTouch Bluetooth APIs you can easily access and communicate with external Bluetooth hardware devices and accessories."

Look in MonoTouch.CoreBluetooth.
That said, iOS only has support for Bluetooth LE (BLE, Bluetooth 4.0 and Smart Bluetooth), not the regular Bluetooth, which is only available under a special partner program with Apple.

Related

Can I send Bluetooth advertising packets with Constant Tone Extension from a smartphone?

Bluetooth 5.1 introduced the ability to include a "Constant Tone Extension" into an Advertising packet. On the receive side, a suitable device can perform Angle-of-Arrival estimation using this information. I have experimented with this technology using BLE EVK devices (Nordic).
My question is can I use a 5.1 compatible smartphone as the transmitter? How can I enable CTE in the advertising packet? Is it something that can be configured through a suitable app and android SDK, or do I need lower-level access to the phones Bluetooth modem (drivers)?
Thanks!
Since CTE is an optional feature for Bluetooth 5.1, the answer is clear: it depends.
Bluetooth direction finding is not yet supported by Android, so it would require a manufacturer-specific API to enable CTE (if it is supported by the smartphone hardware).

The most common Bluetooth profile for implementing modern TV remote control functionality

I'm exploring a possibility to emulate Bluetooth TV remote control. And I faced a problem that I can't find any information about the type of Bluetooth, which TV manufacturers use in their devices. If they use Bluetooth Classic (BR/EDR), then I have to implement either AVRCP or HID profiles to fulfil TV remote control functionality. If they use Bluetooth LE, then I have to implement HOGP profile. So, could you suggest to me which Bluetooth profile is mostly implemented in modern TVs with Bluetooth support? If someone has experience with a particular TV model, which supports Bluetooth, then I will be also appreciated for any information about Bluetooth, which is installed there.

Is there a way to find the bluetooth version without looking at a spec sheet?

What I was wondering is if there were any type of handshake process that happens when two Bluetooth devices connect that both tell each other what version of Bluetooth they support and just use the lowest available version that they both support. And if that negotiated version is stored anywhere for API use?
Android device: Bluetooth 4.2
IOT device: Bluetooth 4.0
Negotiated: Bluetooth 4.0
So from the example above the two devices have decided on using Bluetooth 4.0, now do system Bluetooth API's have access to viewing the negotiated version or does the Bluetooth chip just handle everything without offering that information?

BLE Explorer for Windows 10 Universal

Is there any Bluetooth Low Energy sample applications for Windows 10 universal platform? Please help me.
Bluetooth GATT is for BLE on UWP apps. There are sample code in the official document for three common GATT scenarios: retrieving Bluetooth data, controlling a Bluetooth LE thermometer device, and controlling the presentation of Bluetooth LE device data.
Besides, you can also refer to the BLE GATT Sample for Iot.
Though these are all official information about using BLE for UWP apps, I believe there are also many samples on internet written by other developers, you can search for them.

Does iOS support Dual-Mode BLE?

Does Apple allow dual mode BLE connectivity in iOS? It seems that if BLE iOS apps could communicate to dual mode Bluetooth devices in BR/EDR mode, one wouldn't need to join the MFI program.
The CoreBluetooth library allows communication with a BLE peripheral using the GATT profile only.
The use of other profiles (aside from generic HFP/A2DP/AVRCP which is supported by AVFoundation and keyboards which have native HID support) requires going through the MFI program. So for example SPP.
And yes, iOS does not prevent using BLE for data communication while using an audio profile to the same device at the same time.
As of iOS 13 you can connect to both BLE and BR/EDR with CoreBluetooth, as introduced here.

Resources