iOSのBLEコントローラアプリ「RCBController」と接続し、コントローラの操作を取得するサンプルプログラムです。 mbed HRM1017で動作を確認しています。

Dependencies:   BLE_API_Native_IRC BLE_API mbed

Committer:
jksoft
Date:
Wed Aug 20 13:30:11 2014 +0000
Revision:
2:dd85fdc18224
Parent:
1:48f6e08a3ac2
???

Who changed what in which revision?

UserRevisionLine numberNew contents of line
jksoft 1:48f6e08a3ac2 1 /* Copyright (c) 2014 Nordic Semiconductor. All Rights Reserved.
jksoft 1:48f6e08a3ac2 2 *
jksoft 1:48f6e08a3ac2 3 * Licensed under the Apache License, Version 2.0 (the "License");
jksoft 1:48f6e08a3ac2 4 * you may not use this file except in compliance with the License.
jksoft 1:48f6e08a3ac2 5 * You may obtain a copy of the License at
jksoft 1:48f6e08a3ac2 6 *
jksoft 1:48f6e08a3ac2 7 * http://www.apache.org/licenses/LICENSE-2.0
jksoft 1:48f6e08a3ac2 8 *
jksoft 1:48f6e08a3ac2 9 * Unless required by applicable law or agreed to in writing, software
jksoft 1:48f6e08a3ac2 10 * distributed under the License is distributed on an "AS IS" BASIS,
jksoft 1:48f6e08a3ac2 11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
jksoft 1:48f6e08a3ac2 12 * See the License for the specific language governing permissions and
jksoft 1:48f6e08a3ac2 13 * limitations under the License.
jksoft 1:48f6e08a3ac2 14 */
jksoft 1:48f6e08a3ac2 15
jksoft 1:48f6e08a3ac2 16 #ifndef _NORDIC_GLOBAL_H_
jksoft 1:48f6e08a3ac2 17 #define _NORDIC_GLOBAL_H_
jksoft 1:48f6e08a3ac2 18
jksoft 1:48f6e08a3ac2 19 /* There are no global defines in mbed, so we need to define */
jksoft 1:48f6e08a3ac2 20 /* mandatory conditional compilation flags here */
jksoft 1:48f6e08a3ac2 21 #define NRF51
jksoft 1:48f6e08a3ac2 22 #define DEBUG_NRF_USER
jksoft 1:48f6e08a3ac2 23 #define BLE_STACK_SUPPORT_REQD
jksoft 1:48f6e08a3ac2 24 #define BOARD_PCA10001
jksoft 1:48f6e08a3ac2 25
jksoft 1:48f6e08a3ac2 26 #endif