Bluetooth liste of devices deosn't work anymore

in the same status, I just had to change the mobile setting to allow the app for all access.

1 Like

Everything is fine now ! thanks



bluetooth_arduino_grue.ino (2.0 KB)
Buetooth_arduino_grue.aia (498.6 KB)

Dear Both,
here is my synthesis of your discussion for my student presentation.


I just add a list picker for ergonomics purpose.

1 Like

LGTM – any further questions?

So the secret was:



Send2ByteNumber to transmit and

      
int Octet1 = 0;
int Octet2 = 0;
int value = 0;
      
void loop() {
   if (BTSerial.available() >= 2)  {
    Octet1 = BTSerial.read();
    Octet2 = BTSerial.read();          
    value = (Octet2 << 8) | Octet1;           // Combinez les deux octets pour obtenir une valeur 16 bits "value"

to receive?