Hi Would like to do bluetooth pairing request with the ALteBeacon library, in order to establish communication between two devices because I did a virtual beacon. Is it Possible?
The Android Beacon Library is designed for Bluetooth LE Beacon detection, ranging and monitoring. It is not designed for Bluetooth LE GATT communications. For that purpose, please use the built-in Android APIs. See the Connect to a GATT Server section here.
Related
I want to build a PWA with capability to connect with "regular" bluetooth, not with Bluetooth Low Energy (BLE). Is that possible ?
The Web Bluetooth API currently only supports the GATT (Generic Attribute Profile) portion of the Bluetooth specification, which is primarily used by Bluetooth Low Energy devices. It does not support other Bluetooth profiles.
My team maintains the Web Bluetooth specification and its implementation in Chromium-based browsers as well as work on bringing new capabilities to the web. What type of Bluetooth Classic device are you interested in integrating with a PWA?
We can make iOS devices act as a iBeacon transmitter and We can locate nearby iBeacons if we know their Proximity UUID.
With Google's Proximity Beacon API, It's possible to configure and register real Beacon hardware, and we can locate them with Nearby Messaging API.
But is it possible to make iOS devices to broadcast as Eddystone Beacons ? And it needs to be discoverable by apps that scan Eddystone beacons.
Thanks in advance.
Unfortunately, this is not possible. While iOS devices can advertise Bluetooth LE service advertisements(which are the advertisement type used by Eddystone) using CoreBluetooth APIs, you cannot attach the necessary data. This is because the CBAdvertisementDataServiceDataKey that associates service data to an advertisement is read-only on iOS. You can't set the data.
So while you want to make the iOS device advertise something like this to transmit Eddystone-UID:
0201060303aafe1516aafe00e72f234454f4911ba9ffa6000000000001
You end up advertising something like this:
0201060303aafe0316aafe
This leaves off the Eddystone-UID type code (00), the calibrated power (e7), the namespace identifier (2f234454f4911ba9ffa6) and the instance identifier (000000000001). As a result, it won't be recognized as an Eddystone-UID frame.
I am trying to establish a bluetooth connection between a Windows CE handheld device(A bank card reader) and iPhone. I want to make data transfer betweeen the two. I have read that prior to IOS 6.0 this was not possible. But with IOS 6.0 I can use core bluetooth to establish a connection.
I would like to know whether the handheld devices bluetooth should be of certain spec to make it work with IOS devices? Or are there any restriction fro any bluetooth device to communicate with an IOS device?
I have read here that the device should be Bluetooth LE. How can I detect whether my handheld device is bluetooth LE?
Thanks
It would be nice if you would provide more information about this Windows CE device.
Just search for the specs of it. If it supports Bluetooth 4.0 LE you have to look if it specifies any of the known profiles. If not the manufacturer may have implemented an own profile to provide certain services and characteristics.
If this is not the case, there is no possibility to establish a connection over CoreBluetooth.
But if its a bank card reader I can't imagine, that it supports BLE.
If the device just supports Bluetooth 2.x you can only connect via the External Accessories Framework. But this only works if the manufacturer bought the MFi (Made for iPod) license and implemented the required specs into the hardware (only then the device is "MFi approved").
Can iPhone Bluetooth be connected to non iOS Bluetooth receivers? Or which Bluetooth receiver I can use to communicate my iPhone to external device?
If you want to build one non-iOS bluetooth receiver that can communicate with iPhone/iPad on Classic Bluetooth (not Bluetooth 4.0 aka. Bluetooth Low Energy), you must get a MFi license for that (see Apple MFi FAQs) and use the iOS accessory framework to carry out the connection. However, with Bluetooth Low Energy, Apple provides a very easy and open framework 'CoreBluetooth' to establish communications between iOS devices and BLE devices, no license is needed. This may probably because Apple doesn't have to worry about the energy consumption of BLE devices.
I'm looking to write some Android or iOS applications to access a Bluetooth heart-rate monitor. There are currently some apps available like Android's "Heart Rate Monitor" that connect to heart-rate monitors like the Zephyr HxM, so I know it can be done.
What is the programming API like? If I write an app, would it be able to connect to any heart-rate device? Or would I have to follow some application-layer protocol from the device manufacturer and read and process Bluetooth packets?
Many of the bluetooth enabled Heart-rate monitors supports the SPP profile and you can use the Android Bluetooth SPP socket APIs to access the device.
The Android chat example is a good application to modify to start with.