Modifications

Sauter à la navigation Sauter à la recherche
1 164 octets ajoutés ,  18 juillet 2017 à 11:14
Ligne 40 : Ligne 40 :     
{{ADFImage|Bluefruit-LE-Shield-SDEP-sample.png}}
 
{{ADFImage|Bluefruit-LE-Shield-SDEP-sample.png}}
 +
 +
 +
== SDEP - protocole d'échange de donnée simplifié ==
 +
SDEP est l'acronyme de "Simple Data Exchange Protocol".
 +
 +
The Simple Data Exchange Protocol (SDEP) can be used to send and receive binary messages between two connected devices using any binary serial bus (USB HID, USB Bulk, SPI, I2C, Wireless, etc.), exchanging data using one of four distinct message types (Command, Response, Alert and Error messages).
 +
 +
The protocol is designed to be flexible and extensible, with the only requirement being that '''individual messages are 20 bytes or smaller''', and that the first byte of every message is a one byte (U8) identifier that indicates the message type, which defines the format for the remainder of the payload.
 +
 +
=== Endianness ===
 +
[https://fr.wikipedia.org/wiki/Endianness#Big_endian Endianness] (''wikipedia'') est l'ordre dans lequel sont organiser les octets en mémoire et dans les communications lorsqu'ils transportent une informations qui doit être stocké une taille supérieure à 1 octet (C'est le cas des entiers).
 +
 +
All values larger than 8-bits are encoded in little endian format. Any deviation from this rule should be clearly documented.
    
{{Bluefruit-LE-Shield-TRAILER}}
 
{{Bluefruit-LE-Shield-TRAILER}}
29 917

modifications

Menu de navigation