We're having one application requirement in which we required to connect Mobile device to light on/off, blink light on particular light series. We want to search for Bluetooth device which can connect to Mobile and send signal to our devices.
We're aware with Raspberry pie but we're looking for cheap device than Raspberry pie. Anyone can suggest bluetooth device with native SDK which can connect Mobile via Bluetooth and send on / off signal to our devices
I have used Estimote becaons for my company. I have developed an iBeacon app using Estimote beacons.
The beacons come with an average price.But the support and service from Estimote is very very good. They provide SDK and as well as sample code.
Check the following links. It will give some idea for your requirement.
https://estimote.com/products/
http://blog.estimote.com/post/139902664710/launching-the-most-robust-location-beacons-on-the
http://blog.estimote.com/post/145508085365/extending-the-power-of-your-beacons-with-gpio
https://community.estimote.com/hc/en-us/articles/219001708-How-to-set-up-GPIO-in-Location-Beacons-
You can check BLE modules from vendors like Texas Instruments, Cypress Semiconductors, Silicon Labs, uBlox etc.
Here's an example from Silicon Labs -
https://www.silabs.com/products/wireless/bluetooth/blue-gecko-bluetooth-low-energy-socs
All these offer BLE modules - in either SoC form or just the BLE radio which you can interface with your microcontroller over UART/SPI/I2C.
If you want to interface with iOS device, then look for HomeKit compatible modules which would be having HomeKit certification and the required SDK built in.
HomeKit compatibility will be required if your product is meant to work as a HomeKit accessory using Siri or HomeKit apps. Else you will have to develop and rely on a dedicated app which solely will control the device.
The BLE module vendors also provide development kits on which you can develop your application as a proof of concept before building your final product.
Related
I am doing a project that uses BLE(CoreBluetooth).
In the mean time we use a mock in the form of android device.
My question is this:
Why does the CoreBluetooth doesn't recognise the android device? (i read about BLE GATT but still didn't understand it).
Also if i go in the iPhone to settings->bluetooth it recognises it and even connect to the android device ,how can i implement this in my app?
Programming with CoreBluetooth
IMHO, CoreBluetooth is quite cumbersome. I suggest using a library like RxBluetoothKit which takes away a lot of the boilerplating involved with handling the GATT profiles yourself.
Devices, mockups
Cool BLE devices are around 30$ nowadays. I use PuckJS - a JS supporting programmable BLE board.
Apple requires MFI certification for devices that connect to iOS devices via Bluetooth.
The exceptions are:
BLE devices.
Bluetooth devices which exclusively support either of these profiles.
So your Android mockup would have to advertise itself as one of these.
I was exploring codes for bluetooth communication using rfcomm. I was able to implement this in xamarin.android native, but for xamarin.ios I was not even able to find a sample, just found samples with BLE. So can you please forward me or even better- answer if the rfcomm is possible with xamarin.ios? Many thanks
iOS devices do not implement the Bluetooth RFCOMM (SPP) profile
• Instead Bluetooth accessories can use iAP profile to exchange data with iOS devices
– iAP is RFCOMM based connection (similar to SPP)
– It uses Apple proprietary iAP application protocol
– Allows data exchange between Apps and the accessory
Via: Silicon Labs Wireless and RF Solutions website
If your bluetooth device is MFi (Made For iPhone) compatible:
Apple's MFi Program
CoreBluetooth
I've got an existing PCL Xamarin forms app which works great. New requirement is to connect a Biocontrol Hhr3000 scanner via Bluetooth to the .ios version of my project. Workflow is, i first connect and pair the scanner to my iPhone over Bluetooth. I need a non LE (low energy) Bluetooth library which i can use to work with this. All i can find on the internet is all examples of LE Bluetooth so as it stands i cant get the iPhone to pick up the scanner via normal Bluetooth pairing.
Please point me in the right direction. I'm looking for an ios implementation thats simple like this one for android: https://acaliaro.wordpress.com/2017/02/07/connect-a-barcode-reader-to-a-xamarin-forms-app-via-bluetooth/
If the device is Mfi Certified by Apple, then you can use the External Accessory Framework to interact with the bluetooth device. If you can pair it, I have to assume it is Mfi Certified.
I'd really like to start testing my iOS apps Bluetooth capabilities, but have run into a few problems:
I have a device made with a RN-42 module, but it's not the Apple version and I don't have the Apple authentication module at the moment (I ordered it, but shipping from China can take a while). I know what the messages will look like, but can't send them to my iPhone!
I can use the module with my Macbook, but not in the iOS simulator! Apple has taken down all of the documentation related to getting the iOS < 7.0 to use a separate bluetooth dongle, and my efforts have left my 6.1 simulator endlessly spinning on the bluetooth screen.
I'm new to using Bluetooth, so this may be a dumb question...
Is there a way of getting a bluetooth client device (I have a Mac, another iPhone, and an Android tab) to act as a server module that can send (and receive) Bluetooth data to my iPhone?
Client/Server as per developer.bluetooth.org
Thanks!
Not 100% sure your meaning of "server module". But in CoreBluetooth, you can use CBPeripheralManager to broadcast data to other iOS or Mac apps.
https://developer.apple.com/library/ios/documentation/CoreBluetooth/Reference/CBPeripheralManager_Class/Reference/CBPeripheralManager.html
If you're using standard Bluetooth (i.e. not Bluetooth LE or Bluetooth Smart or whatever you want to call it), you'll need to enroll in the MFI program or work with an MFI certified device (such as a Redpark cable) and use the External Accessories library provided by Apple. If you're using Bluetooth LE, you can use the Core Bluetooth library provided by Apple. If you fall into neither of those cases, sorry, you can't use Bluetooth on iOS.
I'm trying to create some application that connects to blue tooth devices. A simple thing like a bluetooth barcode scanner that scans and sends a number to my app. I want to know which framework or something to be used in my app that can integrate the barcode scanner with my app. Is there any API or examples or tutorials etc that can help me implement such things?
Apple provides an API called the External Accessory framework, which can be used to interact with paired Bluetooth devices or devices connected through wired, Apple Connector at the base of the device.
However, to be able to use a paired device from within your application as you desire, you will have to a device that is designed to be compatible with iOS devices (meaning, the manufacturer must be a member of the Apple MFi program) and the device manufacturer must provide a protocol that you must add to your applications info.plist file.
If you have bought an off-the-shelf, Bluetooth barcode reader, there is a fair chance that you can not do what you are trying to do. If the device states that it can be integrated into custom iOS applications, consult the device manufacturer for further support regarding setting up your application to interact with their hardware.