From 98e23e13d1eca2719d3e74a674ee95f931e6dd82 Mon Sep 17 00:00:00 2001 From: wowa Date: Wed, 27 Jun 2018 18:13:18 +0200 Subject: [PATCH] Configuration of heap and stack, flexible and equal to the branch "" --- README-UUIDS.md | 42 ++++++++++++++++++++++++++++++++++++++++++ config.json | 4 ++-- 2 files changed, 44 insertions(+), 2 deletions(-) create mode 100644 README-UUIDS.md diff --git a/README-UUIDS.md b/README-UUIDS.md new file mode 100644 index 0000000..3582d8d --- /dev/null +++ b/README-UUIDS.md @@ -0,0 +1,42 @@ +[BluetoothServiceNotify](source/BluetoothServiceNotify.cpp) + +BluetoothServiceNotifyUUID = 0xff,0x55,0xdd,0xee, 0x25,0x1d, 0x47,0x0a, 0xa0,0x62, 0xfa,0x19,0x22,0xdf,0xa9,0xa8 + +[BluetoothServiceProgram](source/BluetoothServiceProgram.h) + +BluetoothServiceProgramUUID = 0xff, 0x66, 0xdd, 0xee, 0x25, 0x1d, 0x47, 0x0a, 0xa0, 0x62, 0xfa, 0x19, 0x22, 0xdf, 0xa9, 0xa8 + +[MicroBitAccelerometerService](yotta_modules/microbit-dal/source/bluetooth/MicroBitAccelerometerService.cpp) + +MicroBitAccelerometerServiceUUID = 0xe9,0x5d,0x07,0x53,0x25,0x1d,0x47,0x0a,0xa0,0x62,0xfa,0x19,0x22,0xdf,0xa9,0xa8 + +MicroBitAccelerometerServiceDataUUID = 0xe9,0x5d,0xca,0x4b,0x25,0x1d,0x47,0x0a,0xa0,0x62,0xfa,0x19,0x22,0xdf,0xa9,0xa8 + +MicroBitAccelerometerServicePeriodUUID = 0xe9,0x5d,0xfb,0x24,0x25,0x1d,0x47,0x0a,0xa0,0x62,0xfa,0x19,0x22,0xdf,0xa9,0xa8 + +[MicroBitDFUService](yotta_modules/microbit-dal/source/bluetooth/MicroBitDFUService.cpp) + +MicroBitDFUServiceUUID = 0xe9,0x5d,0x93,0xb0,0x25,0x1d,0x47,0x0a,0xa0,0x62,0xfa,0x19,0x22,0xdf,0xa9,0xa8 + +MicroBitDFUServiceControlCharacteristicUUID = 0xe9,0x5d,0x93,0xb1,0x25,0x1d,0x47,0x0a,0xa0,0x62,0xfa,0x19,0x22,0xdf,0xa9,0xa8 + +[DeviceInfoService](yotta_modules/ble/ble/GattCharacteristic.h) + +UUID_DEVICE_INFORMATION_SERVICE = 0x180A + +UUID_MANUFACTURER_NAME_STRING_CHAR = 0x2A29 +UUID_MODEL_NUMBER_STRING_CHAR = 0x2A24 +UUID_SERIAL_NUMBER_STRING_CHAR = 0x2A25 +UUID_HARDWARE_REVISION_STRING_CHAR = 0x2A27 +UUID_FIRMWARE_REVISION_STRING_CHAR = 0x2A26 +UUID_SOFTWARE_REVISION_STRING_CHAR = 0x2A28 + + + +**Currently not in Use** + + +[BluetoothServiceDebug](source/BluetoothServiceDebug.cpp) + +BluetoothServiceDebugUUID = 0xff, 0x44, 0xdd, 0xee, 0x25, 0x1d, 0x47, 0x0a, 0xa0, 0x62, 0xfa, 0x19, 0x22, 0xdf, 0xa9, 0xa8 + diff --git a/config.json b/config.json index e43f3d0..c8012e2 100644 --- a/config.json +++ b/config.json @@ -4,8 +4,8 @@ "enabled": 1, "pairing_mode": 1, "private_addressing": 0, - "open": 0, - "security_level": "SECURITY_MODE_ENCRYPTION_NO_MITM", + "open": 1, + "security_level": "SECURITY_MODE_ENCRYPTION_OPEN_LINK", "whitelist": 0, "advertising_timeout": 0, "tx_power": 7,