ble test
Dependencies: BLE_API X_NUCLEO_IDB0XA1 mbed
Fork of BLE_HeartRate_IDB0XA1 by
Revision 16:6846b7f3c976, committed 2016-06-17
- Comitter:
- dansku
- Date:
- Fri Jun 17 15:07:01 2016 +0000
- Parent:
- 15:9903a83938cc
- Commit message:
- working version example
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Tue Mar 22 08:33:06 2016 +0000 +++ b/main.cpp Fri Jun 17 15:07:01 2016 +0000 @@ -1,26 +1,10 @@ -/* mbed Microcontroller Library - * Copyright (c) 2006-2015 ARM Limited - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "mbed.h" #include "ble/BLE.h" #include "ble/services/HeartRateService.h" DigitalOut led1(LED1, 1); -const static char DEVICE_NAME[] = "HRM1"; +const static char DEVICE_NAME[] = "unu motors"; static const uint16_t uuid16_list[] = {GattService::UUID_HEART_RATE_SERVICE}; static volatile bool triggerSensorPolling = false;