Merge "Improve NFC-F transceive() docs."

am: 1f4f7190a8

* commit '1f4f7190a8fe6bd87fd9dd198cb711cb1a540354':
  Improve NFC-F transceive() docs.
This commit is contained in:
Martijn Coenen
2016-02-05 09:44:28 +00:00
committed by android-build-merger

View File

@@ -98,8 +98,13 @@ public final class NfcF extends BasicTagTechnology {
/**
* Send raw NFC-F commands to the tag and receive the response.
*
* <p>Applications must not append the SoD (length) or EoD (CRC) to the payload,
* it will be automatically calculated.
* <p>Applications must not prefix the SoD (preamble and sync code)
* and/or append the EoD (CRC) to the payload, it will be automatically calculated.
*
* <p>A typical NFC-F frame for this method looks like:
* <pre>
* LENGTH (1 byte) --- CMD (1 byte) -- IDm (8 bytes) -- PARAMS (LENGTH - 10 bytes)
* </pre>
*
* <p>Use {@link #getMaxTransceiveLength} to retrieve the maximum amount of bytes
* that can be sent with {@link #transceive}.