Modifications

Sauter à la navigation Sauter à la recherche
122 octets ajoutés ,  22 juin 2017 à 13:05
Ligne 184 : Ligne 184 :  
* 0x0A 0x18 est un autre UUID 16 bits (que l'on converti en '''0x180A''') et correspondant au service [https://developer.bluetooth.org/gatt/services/Pages/ServiceViewer.aspx?u=org.bluetooth.service.device_information.xml Device Information].
 
* 0x0A 0x18 est un autre UUID 16 bits (que l'on converti en '''0x180A''') et correspondant au service [https://developer.bluetooth.org/gatt/services/Pages/ServiceViewer.aspx?u=org.bluetooth.service.device_information.xml Device Information].
   −
{{traduction}}
+
{{ambox-stop|text=Inclure les UUIDs des services est important puisque certaines applications mobiles ne fonctionnerons qu'avec des périphériques annonçant un service UUID spécifique dans les paquets d'annonce. C'est par exemple le cas pour la plupart des applications de Nordic Semiconductors.}}
 
  −
{{ambox-stop|text= Including the service UUIDs is important since some mobile applications will only work with devices that advertise a specific service UUID in the advertising packet. This is true for most apps from Nordic Semiconductors, for example.}}
      
*Codebase Revision: 0.3.0
 
*Codebase Revision: 0.3.0
* Parameters: The raw byte array that should be inserted into the advertising data section of the advertising packet, being careful to stay within the space limits defined by the Bluetooth Core Specification.
+
* Paramètres: le tableau d'octets brute qui devrait être inséré dans la section de donnée du bloc d'annonce. Veuillez à rester à l'intérieur de l'espace définit dans les spécifications Bluetooth Core.
* Response: None
+
* Réponse: Aucune
   −
  <nowiki># Advertise as Discoverable and BLE only with 16-bit UUIDs 0x180D and 0x180A
+
  <nowiki># S'annoncer comme Découvrable et BLE uniquement avec
 +
# les UUIDs 16 bits 0x180D et 0x180A
 
AT+GAPSETADVDATA=02-01-06-05-02-0d-18-0a-18
 
AT+GAPSETADVDATA=02-01-06-05-02-0d-18-0a-18
 
OK</nowiki>
 
OK</nowiki>
   −
The results of this command can be seen in the screenshot below, taken from a sniffer analyzing the advertising packets in Wireshark. The advertising data payload is higlighted in blue in the raw byte array at the bottom of the image, and the packet analysis is in the upper section:
+
Le résultat de cette commande est visible sur la capture d'écran ci-dessous. Capture obtenue à l'aide d'un sniffer capturant et analysant les paquets d'annonce dans Wireshark. Les données d'annonce (dans le payload) sont visibles en surbrillance (en bleu, dans le tableau d'octets en bas de l'image et l'analyse du paquet dans la section supérieure):
    
[[Fichier:Bluefruit-LE-Shield-BLE-GAP-00.png]]
 
[[Fichier:Bluefruit-LE-Shield-BLE-GAP-00.png]]
    
{{Bluefruit-LE-Shield-TRAILER}}
 
{{Bluefruit-LE-Shield-TRAILER}}
29 917

modifications

Menu de navigation