liaison bluetooth entre gros robot -> panneau ou gros robot -> petit robot
Fork of liaison_Bluetooth by
Diff: LiaisonBluetooth.h
- Revision:
- 14:7118ea22e01f
- Parent:
- 7:543d5548dbb9
- Child:
- 15:7d159715eb14
diff -r 20c2439438dd -r 7118ea22e01f LiaisonBluetooth.h --- a/LiaisonBluetooth.h Tue May 01 10:08:41 2018 +0000 +++ b/LiaisonBluetooth.h Mon May 07 13:43:57 2018 +0000 @@ -32,12 +32,12 @@ PaquetDomotique *lire(); void envoyer(char idenfitiant, int longueur_data, char *data); + void envoyer_short(char indentifiant, short data); }; PaquetDomotique *creer_paquetdomotique(int identifiant, unsigned int longueur_data, char *data); void detruire_paquetdomotique(PaquetDomotique *paquet); -char *convertir_int_en_4char(unsigned int integer); -unsigned int convertir_4char_en_int(char *data); +short convertir_score(Paquet *paquet); #endif