Ligne 138 : |
Ligne 138 : |
| {{traduction}} | | {{traduction}} |
| | | |
− | The "Well Known Type" for a URI record is 0x55 ('U'), and this record type can be used to store a variety of useful information such as telephone numbers (tel:), website addresses, links to FTP file locations, etc.
| + | Le "Type bien connu" ("Well Known Type") pour les enregistrement URI est 0x55 ('U'). Ce type d'enregistrement peut être utilisé pour stocker une variété d'information utiles tel que des n° de téléphone (tel:), adresses de site web, liens vers un fichier FTP, etc. |
| | | |
− | URI Records are defined in the document "URI Record Type Definition" from the NFC Forum, and it has the following structure: | + | Les enregistrement URI sont définit dans le document "URI Record Type Definition" du Forum NFC. Cet enregistrement à la structure suivante: |
| | | |
− | <nowiki> Name Offset Size Description | + | <nowiki> Nom Offset Taille Description |
| ---- ------ ---- ----------- | | ---- ------ ---- ----------- |
− | Identifier Code 0 1 byte See table below | + | Identifier Code 0 1 octet Code d'identification de l'URI, Voir la table ci-dessous |
− | URI Field 1 N bytes The rest of the URI (depending on byte 0 above)</nowiki> | + | Champ URI 1 N octets Le reste de l'URI (dépend de l'octet/byte 0 ci-dessus)</nowiki> |
| | | |
− | The '''URI Identifier Code''' is use to shorten the URI length, and can have any of the following values:
| + | Le '''code d'identification de l'URI''' (''URI Identifier Code'') est utilisé pour raccourcir la longueur de l'URI et peut avoir l'une des valeurs suivantes: |
| | | |
− | <nowiki> Value Protocol | + | <nowiki> Valeur Protocole |
| ----- -------- | | ----- -------- |
− | 0x00 No prepending is done ... the entire URI is contained in the URI Field | + | 0x00 Pas d'utilisation de préfix... l'URI est entièrement inclus dans le champ URI |
| 0x01 http://www. | | 0x01 http://www. |
| 0x02 https://www. | | 0x02 https://www. |
Ligne 188 : |
Ligne 188 : |
| 0x23 urn:nfc:</nowiki> | | 0x23 urn:nfc:</nowiki> |
| | | |
− | Following the URI Identifier Code is the '''URI Field'''. This field provides the URI as per RFC 3987 and contains the rest of the URI after the value corresponding to the URI Identifier is prepended (unless the URI ID is 0x00, in which case the complete URI will be contained in the URI Field).
| + | Le '''champ URI''' suis le code d'identification URI. Ce champ contient le reste du champ URI, reste de l'URI suivant la ''partie ajoutée'' en fonction de "code d'identification de l'URI". L'URI est conforme au RFC 3987). Note: Si l'URI ID = 0x00 alors il faut préciser complètement l'URI (+protocole) dans le champs URI. |
| | | |
| === Test Records === | | === Test Records === |