Andriy Makukha / Mbed 2 deprecated football_project_wo_output

Dependencies:   mbed

Fork of football_project by MZJ

Committer:
AntonLS
Date:
Sat Jul 11 01:57:40 2015 +0000
Revision:
16:3c873f2c8a27
Converted BLE_API lib to folder so the version stays frozen.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
AntonLS 16:3c873f2c8a27 1 /* mbed Microcontroller Library
AntonLS 16:3c873f2c8a27 2 * Copyright (c) 2006-2013 ARM Limited
AntonLS 16:3c873f2c8a27 3 *
AntonLS 16:3c873f2c8a27 4 * Licensed under the Apache License, Version 2.0 (the "License");
AntonLS 16:3c873f2c8a27 5 * you may not use this file except in compliance with the License.
AntonLS 16:3c873f2c8a27 6 * You may obtain a copy of the License at
AntonLS 16:3c873f2c8a27 7 *
AntonLS 16:3c873f2c8a27 8 * http://www.apache.org/licenses/LICENSE-2.0
AntonLS 16:3c873f2c8a27 9 *
AntonLS 16:3c873f2c8a27 10 * Unless required by applicable law or agreed to in writing, software
AntonLS 16:3c873f2c8a27 11 * distributed under the License is distributed on an "AS IS" BASIS,
AntonLS 16:3c873f2c8a27 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
AntonLS 16:3c873f2c8a27 13 * See the License for the specific language governing permissions and
AntonLS 16:3c873f2c8a27 14 * limitations under the License.
AntonLS 16:3c873f2c8a27 15 */
AntonLS 16:3c873f2c8a27 16
AntonLS 16:3c873f2c8a27 17 #include "UARTService.h"
AntonLS 16:3c873f2c8a27 18
AntonLS 16:3c873f2c8a27 19 const uint8_t UARTServiceBaseUUID[LENGTH_OF_LONG_UUID] = {
AntonLS 16:3c873f2c8a27 20 0x6E, 0x40, 0x00, 0x00, 0xB5, 0xA3, 0xF3, 0x93,
AntonLS 16:3c873f2c8a27 21 0xE0, 0xA9, 0xE5, 0x0E, 0x24, 0xDC, 0xCA, 0x9E,
AntonLS 16:3c873f2c8a27 22 };
AntonLS 16:3c873f2c8a27 23 const uint16_t UARTServiceShortUUID = 0x0001;
AntonLS 16:3c873f2c8a27 24 const uint16_t UARTServiceTXCharacteristicShortUUID = 0x0002;
AntonLS 16:3c873f2c8a27 25 const uint16_t UARTServiceRXCharacteristicShortUUID = 0x0003;
AntonLS 16:3c873f2c8a27 26 const uint8_t UARTServiceUUID[LENGTH_OF_LONG_UUID] = {
AntonLS 16:3c873f2c8a27 27 0x6E, 0x40, (uint8_t)(UARTServiceShortUUID >> 8), (uint8_t)(UARTServiceShortUUID & 0xFF), 0xB5, 0xA3, 0xF3, 0x93,
AntonLS 16:3c873f2c8a27 28 0xE0, 0xA9, 0xE5, 0x0E, 0x24, 0xDC, 0xCA, 0x9E,
AntonLS 16:3c873f2c8a27 29 };
AntonLS 16:3c873f2c8a27 30 const uint8_t UARTServiceUUID_reversed[LENGTH_OF_LONG_UUID] = {
AntonLS 16:3c873f2c8a27 31 0x9E, 0xCA, 0xDC, 0x24, 0x0E, 0xE5, 0xA9, 0xE0,
AntonLS 16:3c873f2c8a27 32 0x93, 0xF3, 0xA3, 0xB5, (uint8_t)(UARTServiceShortUUID & 0xFF), (uint8_t)(UARTServiceShortUUID >> 8), 0x40, 0x6E
AntonLS 16:3c873f2c8a27 33 };
AntonLS 16:3c873f2c8a27 34 const uint8_t UARTServiceTXCharacteristicUUID[LENGTH_OF_LONG_UUID] = {
AntonLS 16:3c873f2c8a27 35 0x6E, 0x40, (uint8_t)(UARTServiceTXCharacteristicShortUUID >> 8), (uint8_t)(UARTServiceTXCharacteristicShortUUID & 0xFF), 0xB5, 0xA3, 0xF3, 0x93,
AntonLS 16:3c873f2c8a27 36 0xE0, 0xA9, 0xE5, 0x0E, 0x24, 0xDC, 0xCA, 0x9E,
AntonLS 16:3c873f2c8a27 37 };
AntonLS 16:3c873f2c8a27 38 const uint8_t UARTServiceRXCharacteristicUUID[LENGTH_OF_LONG_UUID] = {
AntonLS 16:3c873f2c8a27 39 0x6E, 0x40, (uint8_t)(UARTServiceRXCharacteristicShortUUID >> 8), (uint8_t)(UARTServiceRXCharacteristicShortUUID & 0xFF), 0xB5, 0xA3, 0xF3, 0x93,
AntonLS 16:3c873f2c8a27 40 0xE0, 0xA9, 0xE5, 0x0E, 0x24, 0xDC, 0xCA, 0x9E,
AntonLS 16:3c873f2c8a27 41 };