うおーるぼっとをiPhoneでコントロールするプログラムです。 iPhoneとはBTLEで接続しています。

Dependencies:   FatFileSystem HighSpeedAnalogIn TB6612FNG2 mbed

profile.h

Committer:
jksoft
Date:
2013-05-10
Revision:
0:373bcb197dc8

File content as of revision 0:373bcb197dc8:


// profile.h generated from profile.gatt for BTstack

// binary representation
// attribute size in bytes (16), flags(16), handle (16), uuid (16/128), value(...)

#include <stdint.h>

const uint8_t profile_data[] =
{
    // 0x0001 PRIMARY_SERVICE-GAP_SERVICE
    0x0a, 0x00, 0x02, 0x00, 0x01, 0x00, 0x00, 0x28, 0x00, 0x18, 
    // 0x0002 CHARACTERISTIC-GAP_DEVICE_NAME-READ
    0x0d, 0x00, 0x02, 0x00, 0x02, 0x00, 0x03, 0x28, 0x02, 0x03, 0x00, 0x00, 0x2a, 
    // 0x0003 VALUE-GAP_DEVICE_NAME-READ-"WALLBOT BLE1.0"
    0x16, 0x00, 0x02, 0x00, 0x03, 0x00, 0x00, 0x2a, 0x57, 0x41, 0x4c, 0x4c, 0x42, 0x4f, 0x54, 0x20, 0x42, 0x4c, 0x45, 0x31, 0x2e, 0x30, 
    // 0x0004 CHARACTERISTIC-GAP_APPEARANCE-READ
    0x0d, 0x00, 0x02, 0x00, 0x04, 0x00, 0x03, 0x28, 0x02, 0x05, 0x00, 0x01, 0x2a, 
    // 0x0005 VALUE-GAP_APPEARANCE-READ-00 00
    0x0a, 0x00, 0x02, 0x00, 0x05, 0x00, 0x01, 0x2a, 0x00, 0x00, 
    // 0x0006 PRIMARY_SERVICE-GATT_SERVICE
    0x0a, 0x00, 0x02, 0x00, 0x06, 0x00, 0x00, 0x28, 0x01, 0x18, 
    // 0x0007 CHARACTERISTIC-GATT_SERVICE_CHANGED-READ
    0x0d, 0x00, 0x02, 0x00, 0x07, 0x00, 0x03, 0x28, 0x02, 0x08, 0x00, 0x05, 0x2a, 
    // 0x0008 VALUE-GATT_SERVICE_CHANGED-READ-
    0x08, 0x00, 0x02, 0x00, 0x08, 0x00, 0x05, 0x2a, 
    // 0x0009 PRIMARY_SERVICE-FFF0
    0x0a, 0x00, 0x02, 0x00, 0x09, 0x00, 0x00, 0x28, 0xf0, 0xff, 
    // 0x000a CHARACTERISTIC-FFF1-READ | WRITE | DYNAMIC
    0x0d, 0x00, 0x02, 0x00, 0x0a, 0x00, 0x03, 0x28, 0x0a, 0x0b, 0x00, 0xf1, 0xff, 
    // 0x000b VALUE-FFF1-READ | WRITE | DYNAMIC-
    0x08, 0x00, 0x0a, 0x01, 0x0b, 0x00, 0xf1, 0xff, 
    // 0x000c CHARACTERISTIC-FFF2-READ | WRITE | DYNAMIC
    0x0d, 0x00, 0x02, 0x00, 0x0c, 0x00, 0x03, 0x28, 0x0a, 0x0d, 0x00, 0xf2, 0xff, 
    // 0x000d VALUE-FFF2-READ | WRITE | DYNAMIC-
    0x08, 0x00, 0x0a, 0x01, 0x0d, 0x00, 0xf2, 0xff, 
    // 0x000e CHARACTERISTIC-FFF3-READ | WRITE | DYNAMIC
    0x0d, 0x00, 0x02, 0x00, 0x0e, 0x00, 0x03, 0x28, 0x0a, 0x0f, 0x00, 0xf3, 0xff, 
    // 0x000f VALUE-FFF3-READ | WRITE | DYNAMIC-
    0x08, 0x00, 0x0a, 0x01, 0x0f, 0x00, 0xf3, 0xff, 
    // END
    0x00, 0x00, 
}; // total size 110 bytes