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
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
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 would like to know whether NFC P2P requires something like a MAC address that needs to be configured to be used for identification while creating a link layer connection or maybe even at transport layer connection.
I could see some details in specifications (ISO/IEC 18092) related to IDs being random values that are generated and maintained (per connection) for link layer connections.
I would be thankful if someone can please advice me on where can I find more details on the same or provide some light into how NFC devices are uniquely identified in P2P communications.
NFC P2P does not require a MAC address or comparable mechanism to address a communication partner on the network. It is purely a one-to-one network and the communication partner is uniquely given by this association. A scenario where communication would only be possible with selected peers is not foreseen on the link level, the link is intended to work with any peer. Device identifications must be implemented in application protocols, when needed. Unique identification of a peer device on the link level would raise serious privacy concerns while there is no technical need.
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.