Read BLE Characteristic


I have a problem mit my new RedBearDuo, an Arduino with BLE and Wifi possibilities. I understand that all Arduino libraries a compatible.

I want to read the value of a characteristic. I know the uuid. My script should do the following steps:

  1. Search for BLE devices
  2. Read the value of the characteristic (with the special uuid) of each device found
    2.1 if the uuid exists, save value in a variable
    2.2 if the uuid doesn't exist, ignore the device
  3. continue with next device

I found a lot of examples for BLE devices. But all tutorials are concentrated on building a BLE periphral, so a device which advertise itself some characteristics. I didn't find any description how to read the values of characteristics.

Do anyone know a working example or can just support me?

Thank you,