summaryrefslogtreecommitdiff
path: root/Documentation/DocBook/cg2900.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/DocBook/cg2900.tmpl')
-rw-r--r--Documentation/DocBook/cg2900.tmpl23
1 files changed, 21 insertions, 2 deletions
diff --git a/Documentation/DocBook/cg2900.tmpl b/Documentation/DocBook/cg2900.tmpl
index 34667f1b1d9..4cefb9c1427 100644
--- a/Documentation/DocBook/cg2900.tmpl
+++ b/Documentation/DocBook/cg2900.tmpl
@@ -263,7 +263,7 @@
<term>Writing to a channel</term>
<listitem>
<para>
- When a stack (Bluetooth, FM, or GNSS) wants to send a packet it shall perform a write operation.
+ When a stack (Bluetooth, FM, GNSS or NFC) wants to send a packet it shall perform a write operation.
The packet shall not contain the H:4 header since this is added by the CG2900 driver.
All other data in the packet shall however exist in the packet in the format correct for that HCI channel.
The CG2900 users need to perform flow control over channels so any ticket handling
@@ -320,7 +320,7 @@
<term>Reading from a channel</term>
<listitem>
<para>
- When a stack (Bluetooth, FM, or GNSS) wants to receive a packet it shall perform a receive operation.
+ When a stack (Bluetooth, FM, GNSS or NFC) wants to receive a packet it shall perform a receive operation.
The packet returned does not contain the H:4 header since this is removed by the CG2900 driver.
All other data in the packet in the packet is in the format correct for that HCI channel.
The CG2900 driver does not perform any flow control over the H:4 channel so any ticket handling
@@ -542,6 +542,7 @@
<listitem>
<para>
This example will open the GNSS channel, write a packet, read a packet and then close the channel.
+ The same example is applicable for all other user space access for eg. NFC driver.
In this example all functions are performed in the same thread.
It is however adviced to perform <function>read</function> and <function>ioctl</function> read through a separate thread,
preferrably using <function>poll</function>.
@@ -1286,6 +1287,24 @@
</listitem>
</varlistentry>
+ <varlistentry>
+ <term>NFC</term>
+ <listitem>
+ <variablelist>
+ <varlistentry>
+ <term>File</term>
+ <listitem><para><filename>/dev/cg2900_nfc</filename></para></listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>Description</term>
+ <listitem>
+ <para>The cg2900_nfc is the device for the HCI NFC channel.</para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </listitem>
+ </varlistentry>
+
</variablelist>
</section>