Bluetooth Developer Studio connecting with real server (ibeacon) - ibeacon

Totally new in Bluetooth Developer Studio. How can I connect to actual physical ibeacon?
Using the HID over GATT profile in a new project, gives Workbench for interacting with a Virual Server. Can I connect directly to an actual ibeacon in range for read/write?

Understand that iBeacon is a transmit only standard, so there is no standard way of establishing a Bluetooth connection. Beacons simply send out a Bluetooth LE advertisement at a periodic rate.
Some beacon manufacturers do have proprietary configuration GATT services which are connectable. But the details of how you do so (if it is even possible) are specific to the manufacturer.

Related

Web page beacon

I would like to send a BLE Eddystone beacon from a web page. My application requires to send SSID info to a BLE listener. My thought is to have a user load a URL on a smartphone that would run JS to send periodic BLE Eddystone-UID beacons with SSID info embedded. I need the web page to work on both Android and iOS phones. Is there a simple way to do this using Javascript?
I looked into physical web but it did not seem to provide this capability.
thanks,
Ian
The current version of the Web Bluetooth API specification allows websites, running in the Central role, to connect to remote GATT Servers over a BLE connection. What you're looking for is a way to run in the Server role to advertise your data.
In your case, I'd recommend you have a look at https://www.npmjs.com/package/#abandonware/bleno

BLE: LE Secure Connection with Xamarin

We're talking about BLE. Right now Im using the Plugin.BLE library and it's working quite fine. Now Im in the need of using the LE Secure Connection (with the "just works" method) in order to send/receive encrypted data.
I've read lots of documentation about how the protocol works, but have no idea of how actually implementing it in Xamarin and wasn't able to find anything on this.
With the Plugin.BLE one can take advantage of a very simple APIs to connect to a Device.
Is there any library that provides similar simplicity and enabling an LE Secure Connection?
If not, how can I connect in Android & iOS to a BLE device using a secure channel?
Thank you very much
The pairing is handled by the Bluetooth stack and not by the application, so you can't affect this in any way. However, from Marshmallow and onward, BLE pairing will use Secure Connections as long as the second device supports it. Not sure about iOS.

Windows does not answer BLE parameter update request

I have a custom embedded device with a Bluetooth low energy stack. The device is advertising itself until a connection is requested, I pair and connect to it via the Bluetooth menu in Windows 10, I can read/write to my custom GATT services using the following BLE GATT functions from the Win32 API.
For my application I need to receive high frequency data using notifications on a characteristic so I enable it using the same API as stated above and receive the correct data but too slow. The default connection parameters Windows is using is not enough and I want to update them so I can receive notification events at higher frequency, but Windows API does not provide such function. I had the same problem when connection to an Android phone, and I solved it by requesting connection parameters update from the device (the slave in the connection) and the Android phone accepted it and everything worked as expected.
The only problem is when I'm trying to ask for a connection parameter update from the device when connected to a Windows master, I don't receive any response (no accept nor reject), meanwhile I still receive notification events so I know the connection is still active. And the weird thing is that if I hold the device closer to the computer's Bluetooth antenna it does receive a response and update the connection parameters like intended.
Any idea what's going on? Is it a bug in Windows stack?
The fact that holding device closer to antenna helps should be verified. Try it multiple times in a different way.
You mentioned Android, does holding device further from Android also prevent connection parameters update?
If this proves true, I'd say the device is faulty. I would compare the behavior between different devices, better if they are from different manufacturers or at least models.

NFC Beam from phone to desktop

I need to send .doc file from my Nexus 5 phone to a Windows 8 desktop (with an ACR122U-A9 NFC reader connected to it). Similar projects I have found use LLCP/SNEP protocol (such as Android Beam that can be found in this link: https://code.google.com/p/java-android-beam-api/). Since there is a new feature of host-based card emulation, I would like to know if I can use HCE instead of LLCP/SNEP to establish communication between Android and the ACR122U?
Yes you can use HCE to establish a connection between your phone and the ACR122U but that's not the P2P you are talking about. P2P is when both devices use a P2P protocol to exchange information. With HCE emulates a tag on your Android device which you can read with your ACR122U. Once you establish a connection it's possible to exchange bidirectional communication but you should use the ISO-DEP protocol instead of a P2P protocol. Read the information of the link below. It will give you more general information about HCE.
https://developer.android.com/guide/topics/connectivity/nfc/hce.html

Send data from WP7 phone to PC via USB cable

I’d be interested in show data from wp7 sensors on a PC screen. Is it possible to send data back to the PC via the USB cable?
When the phone is plugged in via USB it appears as an Ethernet network connection to the device. This means it is easy enough to send data back to a service running on your machine using standard HTTP calls.
This is easily done by setting up a simple web service on your PC and generating a WCF proxy around it in Silverlight. You can then simply use it as you would any other web service.
If you are looking for lower level serial access to the USB itself, then unfortunately no the phone APIs don't expose that functionality.

Resources