JBBoardに接続したモーター2つをRCBControllerでコントロールするテストです。
Dependencies: FatFileSystem TB6612FNG2 mbed
Fork of JBB_BTLE_Test by
Diff: BTstack/profile.h
- Revision:
- 1:6078e430af82
- Child:
- 6:cf06ba884429
diff -r 1ed23ab1345f -r 6078e430af82 BTstack/profile.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/BTstack/profile.h Thu Feb 07 14:01:01 2013 +0000 @@ -0,0 +1,42 @@ +// 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-"mbed BLE TEST" + 0x15, 0x00, 0x02, 0x00, 0x03, 0x00, 0x00, 0x2a, 0x6d, 0x62, 0x65, 0x64, 0x20, 0x42, 0x4c, 0x45, 0x20, 0x54, 0x45, 0x53, 0x54, + // 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-00001234-0000-1000-8000-00805F9B34FB-READ | WRITE | DYNAMIC + 0x1b, 0x00, 0x02, 0x00, 0x0e, 0x00, 0x03, 0x28, 0x0a, 0x0f, 0x00, 0xfb, 0x34, 0x9b, 0x5f, 0x80, 0x00, 0x00, 0x80, 0x00, 0x10, 0x00, 0x00, 0x34, 0x12, 0x00, 0x00, + // 0x000f VALUE-00001234-0000-1000-8000-00805F9B34FB-READ | WRITE | DYNAMIC- + 0x16, 0x00, 0x0a, 0x03, 0x0f, 0x00, 0xfb, 0x34, 0x9b, 0x5f, 0x80, 0x00, 0x00, 0x80, 0x00, 0x10, 0x00, 0x00, 0x34, 0x12, 0x00, 0x00, + // END + 0x00, 0x00, +}; // total size 124 bytes