Devchannel Team / X_NUCLEO_IDB0XA1

Dependents:   Hello_BLE F446RE-BLE

Fork of X_NUCLEO_IDB0XA1 by ST

Committer:
mridup
Date:
Wed Nov 12 09:41:31 2014 +0000
Revision:
61:929885305c17
Parent:
58:027c65a54097
Configuration of pinNames according to platforms. Platform.h defines all tested platform pins used for configuration and testing. Device Init configuration parameters.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
mridup 0:309c845d289d 1 /* mbed Microcontroller Library
hemddabral 58:027c65a54097 2 * Copyright (c) 2006-2013 ARM Limited
hemddabral 58:027c65a54097 3 *
hemddabral 58:027c65a54097 4 * Licensed under the Apache License, Version 2.0 (the "License");
hemddabral 58:027c65a54097 5 * you may not use this file except in compliance with the License.
hemddabral 58:027c65a54097 6 * You may obtain a copy of the License at
hemddabral 58:027c65a54097 7 *
hemddabral 58:027c65a54097 8 * http://www.apache.org/licenses/LICENSE-2.0
hemddabral 58:027c65a54097 9 *
hemddabral 58:027c65a54097 10 * Unless required by applicable law or agreed to in writing, software
hemddabral 58:027c65a54097 11 * distributed under the License is distributed on an "AS IS" BASIS,
hemddabral 58:027c65a54097 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
hemddabral 58:027c65a54097 13 * See the License for the specific language governing permissions and
hemddabral 58:027c65a54097 14 * limitations under the License.
hemddabral 58:027c65a54097 15 */
mridup 0:309c845d289d 16
mridup 0:309c845d289d 17 #ifndef _BTLE_H_
mridup 0:309c845d289d 18 #define _BTLE_H_
mridup 0:309c845d289d 19
mridup 0:309c845d289d 20
mridup 0:309c845d289d 21 #ifdef __cplusplus
mridup 0:309c845d289d 22 extern "C" {
mridup 0:309c845d289d 23 #endif
mridup 0:309c845d289d 24
mridup 0:309c845d289d 25 #include "hci.h"
mridup 0:309c845d289d 26 #include "bluenrg_hci.h"
mridup 0:309c845d289d 27 #include "hci_internal.h"
mridup 0:309c845d289d 28 #include "bluenrg_hci_internal.h"
mridup 56:20e83a284019 29 #include "bluenrg_shield_bsp.h"
mridup 56:20e83a284019 30 #include "bluenrg_gap.h"
mridup 2:a2b623661316 31 #include "gatt_service.h"
mridup 0:309c845d289d 32 #include <stdio.h>
mridup 0:309c845d289d 33 #include <string.h>
mridup 0:309c845d289d 34
mridup 61:929885305c17 35 void btle_init(bool isSetAddress, PinName mosi, PinName miso, PinName sclk);
hemddabral 58:027c65a54097 36 void SPI_Poll(void);
hemddabral 58:027c65a54097 37 void User_Process(void);
hemddabral 58:027c65a54097 38 void setConnectable(void);
mridup 0:309c845d289d 39
hemddabral 58:027c65a54097 40 extern uint16_t g_gap_service_handle;
hemddabral 58:027c65a54097 41 extern uint16_t g_appearance_char_handle;
hemddabral 58:027c65a54097 42 extern uint16_t g_device_name_char_handle;
hemddabral 14:baa7a1464517 43
mridup 0:309c845d289d 44 #ifdef __cplusplus
hemddabral 58:027c65a54097 45 }
mridup 0:309c845d289d 46 #endif
mridup 0:309c845d289d 47
mridup 0:309c845d289d 48 #endif