By frank
#9398
Im trying to connect to the Bluno Nano V1.3, what is the UUID I need to use in android studio?
By Leff
#9411
I don't know much about the UUID... but it can not be modified.

From the source code of our Bluno Basic demo, https://github.com/DFRobot/BlunoBasicDe ... brary.java, I found the UUID applied to all our BLE products, that is

Code: Select all
public static final String SerialPortUUID="0000dfb1-0000-1000-8000-00805f9b34fb";
public static final String CommandUUID="0000dfb2-0000-1000-8000-00805f9b34fb";
public static final String ModelNumberStringUUID="00002a24-0000-1000-8000-00805f9b34fb";


What's more, as to how to know the iBeacon UUID, download a BLE finder from the APP market will help. As I installed the BLE UUID Explorer and find my bluno as:

(91.11 KiB) Downloaded 803 times
By info
#9898
Is it possible to do all that (discovery, connection, pairing, data sending) from an Arduino sketch?

What commands would I need to send and how?
By Wendy.Hu
#9919
hello

Yes, the above all you mentioned can be finished by an Arduino sketch. The following code is used for buliding connection between two ble devices:
Code: Select all
void setup() {
     Serial.begin(115200);
     
}

void loop() {
  // put your main code here, to run repeatedly:
     int num=1;
     Serial.write(num);
}


Code: Select all
int a=0;
void setup() {
    Serial.begin(115200);               //initial the Serial
}

void loop()
{
    if(Serial.available())
    {
        a=Serial.write(Serial.read());
        Serial.println(a);   
    }
}


And there is a link about data sending, maybe you can make a reference:
viewtopic.php?f=18&t=1991&p=9214#p9214

Then you can edit the code again according to your own requirements.