1 798 octets ajoutés
, 22 juin 2017 à 14:56
{{Bluefruit-LE-Shield-NAV}}
== Le service UART ==
{{traduction}}
'''Base UUID''': 6E40'''0001'''-B5A3-F393-E0A9-E50E24DCCA9E
This service simulates a basic UART connection over two lines, TXD and RXD.
It is based on a proprietary UART service specification by Nordic Semiconductors. Data sent to and from this service can be viewed using the nRFUART apps from Nordic Semiconductors for Android and iOS.
{{ambox-stop|text=This service is available on every Bluefruit LE module and is automatically started during the power-up sequence.}}
== Caractéristiques ==
Nordic’s UART Service includes the following characteristics:
{| class="wikitable" border="1"
|-
| align="center" | Name
| align="center" | Mandatory
| align="center" | UUID
| align="center" | Type
| align="center" | R
| align="center" | W
| align="center" | N
| align="center" | I
|- style="font-size: 90%"
| align="left" | TX
| align="left" | Oui
| align="left" | 0x0002
| align="left" | U8[20]
| align="left" |
| align="left" | X
| align="left" |
| align="left" |
|- style="font-size: 90%"
| align="left" | RX
| align="left" | Oui
| align="left" | 0x0003
| align="left" | U8[20]
| align="left" | X
| align="left" |
| align="left" | X
| align="left" |
|}
R = Read; W = Write; N = Notify; I = Indicate
{{ambox|text=Characteristic names are assigned from the point of view of the Central device}}
=== TX (0x0002) ===
This characteristic is used to send data back to the sensor node, and can be written to by the connected Central device (the mobile phone, tablet, etc.).
=== RX (0x0003) ===
This characteristic is used to send data out to the connected Central device. Notify can be enabled by the connected device so that an alert is raised every time the TX channel is updated.
{{Bluefruit-LE-Shield-TRAILER}}