History log of /packages/apps/Nfc/src/com/android/nfc/handover/HandoverClient.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
3329e45c618c5896cb662f686930a75eb2ee5bbc 26-Feb-2013 Martijn Coenen <maco@google.com> Immediately connect to LLCP services.

When we discover a remote LLCP target, look at what
services the current foreground app has requested,
and immediately connect them.

This should increase our overall chance of success
of completing the transaction, as we no longer
need to setup the connection when the user taps
the screen to confirm the send.

It should also improve RIM interop; RIM devices
break the LLCP link if there are no service connections
within a certain time limit. Connecting the services
immediately prevents this.

Bug: 5155356
Change-Id: Ie4a578c1da31e3d5eb3b392b8236c681b45f9271
/packages/apps/Nfc/src/com/android/nfc/handover/HandoverClient.java
f5a196b643c654c7ea98a5e2935e3bff6683399b 11-Jul-2012 Martijn Coenen <maco@google.com> Implement connection handover LLCP service.

The Connection Handover specification dictates that we should
exchange Hr/Hs records over a dedicated LLCP service. This adds
the service, and starts using it by default. It will fall back
to the SNEP GET method to remain compatible with Android 4.1
devices. SNEP GET on these devices will return "Not Implemented",
also per the SNEP spec.

Also fixed a bug in endianness of the OOB record.

Bug: 6759842
Change-Id: Iafe67ab119e933df5dfa0a5645a95bc59badd8ae
/packages/apps/Nfc/src/com/android/nfc/handover/HandoverClient.java