BLE demo for mbed Ported RunningElectronics's SBDBT firmware for BLE. It can communicate with iOS
Dependencies: FatFileSystem mbed
Fork of BTstack by
profile.h
00001 // profile.h generated from profile.gatt for BTstack 00002 00003 // binary representation 00004 // attribute size in bytes (16), flags(16), handle (16), uuid (16/128), value(...) 00005 00006 #include <stdint.h> 00007 00008 const uint8_t profile_data[] = 00009 { 00010 // 0x0001 PRIMARY_SERVICE-GAP_SERVICE 00011 0x0a, 0x00, 0x02, 0x00, 0x01, 0x00, 0x00, 0x28, 0x00, 0x18, 00012 // 0x0002 CHARACTERISTIC-GAP_DEVICE_NAME-READ 00013 0x0d, 0x00, 0x02, 0x00, 0x02, 0x00, 0x03, 0x28, 0x02, 0x03, 0x00, 0x00, 0x2a, 00014 // 0x0003 VALUE-GAP_DEVICE_NAME-READ-"mbed BLE TEST" 00015 0x15, 0x00, 0x02, 0x00, 0x03, 0x00, 0x00, 0x2a, 0x6d, 0x62, 0x65, 0x64, 0x20, 0x42, 0x4c, 0x45, 0x20, 0x54, 0x45, 0x53, 0x54, 00016 // 0x0004 CHARACTERISTIC-GAP_APPEARANCE-READ 00017 0x0d, 0x00, 0x02, 0x00, 0x04, 0x00, 0x03, 0x28, 0x02, 0x05, 0x00, 0x01, 0x2a, 00018 // 0x0005 VALUE-GAP_APPEARANCE-READ-00 00 00019 0x0a, 0x00, 0x02, 0x00, 0x05, 0x00, 0x01, 0x2a, 0x00, 0x00, 00020 // 0x0006 PRIMARY_SERVICE-GATT_SERVICE 00021 0x0a, 0x00, 0x02, 0x00, 0x06, 0x00, 0x00, 0x28, 0x01, 0x18, 00022 // 0x0007 CHARACTERISTIC-GATT_SERVICE_CHANGED-READ 00023 0x0d, 0x00, 0x02, 0x00, 0x07, 0x00, 0x03, 0x28, 0x02, 0x08, 0x00, 0x05, 0x2a, 00024 // 0x0008 VALUE-GATT_SERVICE_CHANGED-READ- 00025 0x08, 0x00, 0x02, 0x00, 0x08, 0x00, 0x05, 0x2a, 00026 // 0x0009 PRIMARY_SERVICE-FFF0 00027 0x0a, 0x00, 0x02, 0x00, 0x09, 0x00, 0x00, 0x28, 0xf0, 0xff, 00028 // 0x000a CHARACTERISTIC-FFF1-READ | DYNAMIC 00029 0x0d, 0x00, 0x02, 0x00, 0x0a, 0x00, 0x03, 0x28, 0x02, 0x0b, 0x00, 0xf1, 0xff, 00030 // 0x000b VALUE-FFF1-READ | DYNAMIC- 00031 0x08, 0x00, 0x02, 0x01, 0x0b, 0x00, 0xf1, 0xff, 00032 // 0x000c CHARACTERISTIC-FFF2-READ | WRITE | DYNAMIC 00033 0x0d, 0x00, 0x02, 0x00, 0x0c, 0x00, 0x03, 0x28, 0x0a, 0x0d, 0x00, 0xf2, 0xff, 00034 // 0x000d VALUE-FFF2-READ | WRITE | DYNAMIC- 00035 0x08, 0x00, 0x0a, 0x01, 0x0d, 0x00, 0xf2, 0xff, 00036 // 0x000e CHARACTERISTIC-00001234-0000-1000-8000-00805F9B34FB-READ | WRITE | DYNAMIC 00037 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, 00038 // 0x000f VALUE-00001234-0000-1000-8000-00805F9B34FB-READ | WRITE | DYNAMIC- 00039 0x16, 0x00, 0x0a, 0x03, 0x0f, 0x00, 0xfb, 0x34, 0x9b, 0x5f, 0x80, 0x00, 0x00, 0x80, 0x00, 0x10, 0x00, 0x00, 0x34, 0x12, 0x00, 0x00, 00040 // END 00041 0x00, 0x00, 00042 }; // total size 124 bytes
Generated on Thu Jul 14 2022 15:03:49 by 1.7.2