diff --git a/docs/BBC Micro Bit Bluetooth Profile V1.6.docx b/docs/BBC Micro Bit Bluetooth Profile V1.6.docx index 2e415ea..54015f5 100644 Binary files a/docs/BBC Micro Bit Bluetooth Profile V1.6.docx and b/docs/BBC Micro Bit Bluetooth Profile V1.6.docx differ diff --git a/docs/Report 1/BBC microbit.html b/docs/Report 1/BBC microbit.html index 6d7757c..2b8f34a 100644 --- a/docs/Report 1/BBC microbit.html +++ b/docs/Report 1/BBC microbit.html @@ -40,15 +40,16 @@
Version 1.6 - 21st September 2015 +Version 1.6 - 17th October 2015 Removed the Battery Service. No way to establish battery levels on the micro:bit -Added a simple Temperature Service to exploit temperature sensors in micro:bit processors +Added a simple Temperature Service to exploit temperature sensors in micro:bit processors with Temperature and Temperature Period characteristics. Accelerometer and Magnetometer period characteristics now have uint16 fields instead of uint8 which required scaling up by multipling by 10. Accelerometer Data and Magnetometer Data characteristics now use signed 16 bit integer fields for each of their X, Y and Z parts. Accelerometer Data and Magnetometer Data characteristics now use signed 16 bit integer fields for each of their X, Y and Z parts. New characteristic Magnetometer Heading added to the Magnetometer Service. Provides current heading in degrees. Removed IO Parallel Port characteristic due to complexity and memory considerations. Added Generic Attribute Service (previously absent in the repository) +Changed the LED Matrix State characteristic field so that we now have one octet per row of LEDs for ease of use. Version 1.5 - 10th September 2015 Button State 2 characteristic given new, distinct UUID of E95DDA91-251D-470A-A062-FA1922DFA9A8 @@ -248,6 +249,9 @@ Removed Write property from MicroBit Requirements characteristic.+Temperature : E95D9250251D470AA062FA1922DFA9A8
++Temperature Period : E95D1B25251D470AA062FA1922DFA9A8
Version 1.6 - 21st September 2015 +Version 1.6 - 17th October 2015 Removed the Battery Service. No way to establish battery levels on the micro:bit -Added a simple Temperature Service to exploit temperature sensors in micro:bit processors +Added a simple Temperature Service to exploit temperature sensors in micro:bit processors with Temperature and Temperature Period characteristics. Accelerometer and Magnetometer period characteristics now have uint16 fields instead of uint8 which required scaling up by multipling by 10. Accelerometer Data and Magnetometer Data characteristics now use signed 16 bit integer fields for each of their X, Y and Z parts. Accelerometer Data and Magnetometer Data characteristics now use signed 16 bit integer fields for each of their X, Y and Z parts. New characteristic Magnetometer Heading added to the Magnetometer Service. Provides current heading in degrees. Removed IO Parallel Port characteristic due to complexity and memory considerations. Added Generic Attribute Service (previously absent in the repository) +Changed the LED Matrix State characteristic field so that we now have one octet per row of LEDs for ease of use. Version 1.5 - 10th September 2015 Button State 2 characteristic given new, distinct UUID of E95DDA91-251D-470A-A062-FA1922DFA9A8 @@ -2643,7 +2644,20 @@ Allows short text strings to be sent by a client for display on the LED matrix a+Consists of an array of 5 x utf8 octets, each representing one row of 5 LEDs. +Octet 0 represents the first row of LEDs i.e. the top row when the micro:bit is viewed with the edge connector at the bottom and USB connector at the top. +Octet 1 represents the second row and so on. +In each octet, bit 4 corresponds to the first LED in the row, bit 3 the second and so on. +Bit values represent the state of the related LED: off (0) or on (1). + +So we have: + +Octet 0, LED Row 1: bit4 bit3 bit2 bit1 bit0 +Octet 1, LED Row 2: bit4 bit3 bit2 bit1 bit0 +Octet 2, LED Row 3: bit4 bit3 bit2 bit1 bit0 +Octet 3, LED Row 4: bit4 bit3 bit2 bit1 bit0 +Octet 4, LED Row 5: bit4 bit3 bit2 bit1 bit0 +Allows the state of any|all LEDs in the 5x5 grid to be set to on or off with a single GATT operation. -Consists of a 32 bit field with bits 0 - 24 representing the off (0) or on (1) state of the corresponding LED.
Temperature Period
Determines the frequency with which temperature data is updated in milliseconds.
Version 1.6 - 21st September 2015 +Version 1.6 - 17th October 2015 Removed the Battery Service. No way to establish battery levels on the micro:bit -Added a simple Temperature Service to exploit temperature sensors in micro:bit processors +Added a simple Temperature Service to exploit temperature sensors in micro:bit processors with Temperature and Temperature Period characteristics. Accelerometer and Magnetometer period characteristics now have uint16 fields instead of uint8 which required scaling up by multipling by 10. Accelerometer Data and Magnetometer Data characteristics now use signed 16 bit integer fields for each of their X, Y and Z parts. Accelerometer Data and Magnetometer Data characteristics now use signed 16 bit integer fields for each of their X, Y and Z parts. New characteristic Magnetometer Heading added to the Magnetometer Service. Provides current heading in degrees. Removed IO Parallel Port characteristic due to complexity and memory considerations. Added Generic Attribute Service (previously absent in the repository) +Changed the LED Matrix State characteristic field so that we now have one octet per row of LEDs for ease of use. Version 1.5 - 10th September 2015 Button State 2 characteristic given new, distinct UUID of E95DDA91-251D-470A-A062-FA1922DFA9A8 @@ -2849,7 +2850,20 @@ Allows short text strings to be sent by a client for display on the LED matrix a+Consists of an array of 5 x utf8 octets, each representing one row of 5 LEDs. +Octet 0 represents the first row of LEDs i.e. the top row when the micro:bit is viewed with the edge connector at the bottom and USB connector at the top. +Octet 1 represents the second row and so on. +In each octet, bit 4 corresponds to the first LED in the row, bit 3 the second and so on. +Bit values represent the state of the related LED: off (0) or on (1). + +So we have: + +Octet 0, LED Row 1: bit4 bit3 bit2 bit1 bit0 +Octet 1, LED Row 2: bit4 bit3 bit2 bit1 bit0 +Octet 2, LED Row 3: bit4 bit3 bit2 bit1 bit0 +Octet 3, LED Row 4: bit4 bit3 bit2 bit1 bit0 +Octet 4, LED Row 5: bit4 bit3 bit2 bit1 bit0 +Allows the state of any|all LEDs in the 5x5 grid to be set to on or off with a single GATT operation. -Consists of a 32 bit field with bits 0 - 24 representing the off (0) or on (1) state of the corresponding LED.
1. LED_Matrix_State : uint32 |
1. LED_Matrix_State : uint8[] |
Temperature Period
Determines the frequency with which temperature data is updated in milliseconds.
1. temperature period value : uint16 |