Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: FatFileSystem TB6612FNG2 mbed
BTstack/profile.h@0:de03cbbcd0ff, 2015-11-30 (annotated)
- Committer:
- mbed_Cookbook_SE
- Date:
- Mon Nov 30 09:32:15 2015 +0000
- Revision:
- 0:de03cbbcd0ff
??
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| mbed_Cookbook_SE | 0:de03cbbcd0ff | 1 | // profile.h generated from profile.gatt for BTstack |
| mbed_Cookbook_SE | 0:de03cbbcd0ff | 2 | |
| mbed_Cookbook_SE | 0:de03cbbcd0ff | 3 | // binary representation |
| mbed_Cookbook_SE | 0:de03cbbcd0ff | 4 | // attribute size in bytes (16), flags(16), handle (16), uuid (16/128), value(...) |
| mbed_Cookbook_SE | 0:de03cbbcd0ff | 5 | |
| mbed_Cookbook_SE | 0:de03cbbcd0ff | 6 | #include <stdint.h> |
| mbed_Cookbook_SE | 0:de03cbbcd0ff | 7 | |
| mbed_Cookbook_SE | 0:de03cbbcd0ff | 8 | const uint8_t profile_data[] = |
| mbed_Cookbook_SE | 0:de03cbbcd0ff | 9 | { |
| mbed_Cookbook_SE | 0:de03cbbcd0ff | 10 | // 0x0001 PRIMARY_SERVICE-GAP_SERVICE |
| mbed_Cookbook_SE | 0:de03cbbcd0ff | 11 | 0x0a, 0x00, 0x02, 0x00, 0x01, 0x00, 0x00, 0x28, 0x00, 0x18, |
| mbed_Cookbook_SE | 0:de03cbbcd0ff | 12 | // 0x0002 CHARACTERISTIC-GAP_DEVICE_NAME-READ |
| mbed_Cookbook_SE | 0:de03cbbcd0ff | 13 | 0x0d, 0x00, 0x02, 0x00, 0x02, 0x00, 0x03, 0x28, 0x02, 0x03, 0x00, 0x00, 0x2a, |
| mbed_Cookbook_SE | 0:de03cbbcd0ff | 14 | // 0x0003 VALUE-GAP_DEVICE_NAME-READ-"mbed BLE TEST" |
| mbed_Cookbook_SE | 0:de03cbbcd0ff | 15 | 0x15, 0x00, 0x02, 0x00, 0x03, 0x00, 0x00, 0x2a, 0x6d, 0x62, 0x65, 0x64, 0x20, 0x42, 0x4c, 0x45, 0x20, 0x54, 0x45, 0x53, 0x54, |
| mbed_Cookbook_SE | 0:de03cbbcd0ff | 16 | // 0x0004 CHARACTERISTIC-GAP_APPEARANCE-READ |
| mbed_Cookbook_SE | 0:de03cbbcd0ff | 17 | 0x0d, 0x00, 0x02, 0x00, 0x04, 0x00, 0x03, 0x28, 0x02, 0x05, 0x00, 0x01, 0x2a, |
| mbed_Cookbook_SE | 0:de03cbbcd0ff | 18 | // 0x0005 VALUE-GAP_APPEARANCE-READ-00 00 |
| mbed_Cookbook_SE | 0:de03cbbcd0ff | 19 | 0x0a, 0x00, 0x02, 0x00, 0x05, 0x00, 0x01, 0x2a, 0x00, 0x00, |
| mbed_Cookbook_SE | 0:de03cbbcd0ff | 20 | // 0x0006 PRIMARY_SERVICE-GATT_SERVICE |
| mbed_Cookbook_SE | 0:de03cbbcd0ff | 21 | 0x0a, 0x00, 0x02, 0x00, 0x06, 0x00, 0x00, 0x28, 0x01, 0x18, |
| mbed_Cookbook_SE | 0:de03cbbcd0ff | 22 | // 0x0007 CHARACTERISTIC-GATT_SERVICE_CHANGED-READ |
| mbed_Cookbook_SE | 0:de03cbbcd0ff | 23 | 0x0d, 0x00, 0x02, 0x00, 0x07, 0x00, 0x03, 0x28, 0x02, 0x08, 0x00, 0x05, 0x2a, |
| mbed_Cookbook_SE | 0:de03cbbcd0ff | 24 | // 0x0008 VALUE-GATT_SERVICE_CHANGED-READ- |
| mbed_Cookbook_SE | 0:de03cbbcd0ff | 25 | 0x08, 0x00, 0x02, 0x00, 0x08, 0x00, 0x05, 0x2a, |
| mbed_Cookbook_SE | 0:de03cbbcd0ff | 26 | // 0x0009 PRIMARY_SERVICE-FFF0 |
| mbed_Cookbook_SE | 0:de03cbbcd0ff | 27 | 0x0a, 0x00, 0x02, 0x00, 0x09, 0x00, 0x00, 0x28, 0xf0, 0xff, |
| mbed_Cookbook_SE | 0:de03cbbcd0ff | 28 | // 0x000a CHARACTERISTIC-FFF1-READ | DYNAMIC |
| mbed_Cookbook_SE | 0:de03cbbcd0ff | 29 | 0x0d, 0x00, 0x02, 0x00, 0x0a, 0x00, 0x03, 0x28, 0x04, 0x0b, 0x00, 0xf1, 0xff, |
| mbed_Cookbook_SE | 0:de03cbbcd0ff | 30 | // 0x000b VALUE-FFF1-READ | DYNAMIC- |
| mbed_Cookbook_SE | 0:de03cbbcd0ff | 31 | 0x08, 0x00, 0x04, 0x01, 0x0b, 0x00, 0xf1, 0xff, |
| mbed_Cookbook_SE | 0:de03cbbcd0ff | 32 | // 0x000c CHARACTERISTIC-FFF2-READ | WRITE | DYNAMIC |
| mbed_Cookbook_SE | 0:de03cbbcd0ff | 33 | 0x0d, 0x00, 0x02, 0x00, 0x0c, 0x00, 0x03, 0x28, 0x0a, 0x0d, 0x00, 0xf2, 0xff, |
| mbed_Cookbook_SE | 0:de03cbbcd0ff | 34 | // 0x000d VALUE-FFF2-READ | WRITE | DYNAMIC- |
| mbed_Cookbook_SE | 0:de03cbbcd0ff | 35 | 0x08, 0x00, 0x0a, 0x01, 0x0d, 0x00, 0xf2, 0xff, |
| mbed_Cookbook_SE | 0:de03cbbcd0ff | 36 | // 0x000e CHARACTERISTIC-00001234-0000-1000-8000-00805F9B34FB-READ | WRITE | DYNAMIC |
| mbed_Cookbook_SE | 0:de03cbbcd0ff | 37 | 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, |
| mbed_Cookbook_SE | 0:de03cbbcd0ff | 38 | // 0x000f VALUE-00001234-0000-1000-8000-00805F9B34FB-READ | WRITE | DYNAMIC- |
| mbed_Cookbook_SE | 0:de03cbbcd0ff | 39 | 0x16, 0x00, 0x0a, 0x03, 0x0f, 0x00, 0xfb, 0x34, 0x9b, 0x5f, 0x80, 0x00, 0x00, 0x80, 0x00, 0x10, 0x00, 0x00, 0x34, 0x12, 0x00, 0x00, |
| mbed_Cookbook_SE | 0:de03cbbcd0ff | 40 | // END |
| mbed_Cookbook_SE | 0:de03cbbcd0ff | 41 | 0x00, 0x00, |
| mbed_Cookbook_SE | 0:de03cbbcd0ff | 42 | }; // total size 124 bytes |