Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: Bluetooth_HC05_LE_TRAME.cpp
- Revision:
- 3:8fd068b00d9c
- Parent:
- 2:7d02a128e1e3
- Child:
- 4:f597583e8b55
--- a/Bluetooth_HC05_LE_TRAME.cpp Sat Mar 18 11:13:44 2017 +0000
+++ b/Bluetooth_HC05_LE_TRAME.cpp Sat Mar 18 14:41:07 2017 +0000
@@ -38,7 +38,7 @@
char* recu=NULL;
-
+
int i=0;
int compteur=0;
@@ -47,7 +47,7 @@
///////////////////////////////////////////////OK rematrre apres
if(seriale.readable())
{
- for(i=0;i<4;i++)
+ for(i=0;i<longueur_trame;i++)
{
buffer[compteur]=seriale.getc();
compteur++;