Im now working with an Android application based on NFC P2P technology.
My question is:
Is it possible to create a P2P communication with external NFC IC(a not android powered device), to communicate with a MCU??
Thanks allready
Yes, you can Arduino + NFC shiled to communicate with android using p2p protocol. NFC shield uses PN532 chip(not a mcu). There is a library --- https://github.com/Seeed-Studio/PN532 for you.
Related
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
I want to make an application to get my notifications from an iphone through psoc 4 ble. I'm subscribing to ANCS service, i get the notifications, and after i want that data to send to windows to a java or c# application. What I don't know how to do or if it's possible: how do I make the connection between psoc and windows to send the data.
It calls Serial Communication (UART). You will have two pins Tx and Rx and using them you can easily communicate with windows using terminal applications such as PUTTY
Does your computer have bluetooth on it directly? If so you can use the microsoft API to call it here: https://msdn.microsoft.com/en-us/library/aa916530.aspx
else if your computer does not have bleutooth, you have to use the CySmart dongle and use the C# API cypress provides here: CySmart
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.
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.
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