thanks for reading my message at first … i m tryin to read data from arduino —> hm-10----> app
i ll send u my blocks …
the connection is established … but i receive on the text view [“u”]
does not get the value of that caracteristic uuid … any help please ?
“Register for strings” or “read strings” - they effectively do the same thing so only use one (to choose, read their tool tips by hovering the mouse over them).
it s a sample sketch …
but when i try to read i find nothing … #include <SoftwareSerial.h>
SoftwareSerial mySerial(0,1);
void setup()
{
mySerial.begin(38400);
Serial.begin(9600);
delay(100);
}
void loop()
{if (Serial.available()>0)
mySerial.write(Serial.read());
if (mySerial.available()>0)
Serial.write(mySerial.read());
}
nd to get get the uuid’s i ve used BLE scanner to test the service that gets the data on BLE scanner when i enable the notifier i get the value … but when i use my app i get nothing …
if (Serial.connected())
{
//Bluetooth to App
Serial.print("Hello");
Serial.println(); //This last line tells App "End of Data" = Ascii LineFeed Char Number 10
}
}
You also need to ensure that, in addition to Bluetooth being enabled on your Android device, Location is enabled.
If you chose “Register for Strings”, the data collection should work without a clock timer. We use “Read Strings” with a clock timer when process speed is important (e.g., controlling something that moves).
ok all my tests … always my bluetooth nd position are on … i knew that …
thanks for ur code @ChrisWard i try it … nd i set my build like this … but always get this result … u can see images
i ll try everything … thanks a lot every one … i m sorry my arduino crushed … i ll get replacement nd i ll reply … so happy for your help i ll notify u when i ll try it … thanks again
Set your Arduino up on a solid surface (I screwed mine to chopping board, with insulation pillars) and it’s a good idea to keep it cool - you can get by with a desktop fan. I use an old PC fan.