Changed the device name.
Dependents: BLE_Health_Thermometer_HeartRateMonitor
Fork of BLE_API_Native_IRC by
custom_helper.h
00001 /* mbed Microcontroller Library 00002 * Copyright (c) 2006-2013 ARM Limited 00003 * 00004 * Licensed under the Apache License, Version 2.0 (the "License"); 00005 * you may not use this file except in compliance with the License. 00006 * You may obtain a copy of the License at 00007 * 00008 * http://www.apache.org/licenses/LICENSE-2.0 00009 * 00010 * Unless required by applicable law or agreed to in writing, software 00011 * distributed under the License is distributed on an "AS IS" BASIS, 00012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 00013 * See the License for the specific language governing permissions and 00014 * limitations under the License. 00015 */ 00016 00017 #ifndef _CUSTOM_HELPER_H_ 00018 #define _CUSTOM_HELPER_H_ 00019 00020 #ifdef __cplusplus 00021 extern "C" { 00022 #endif 00023 00024 #include "common/common.h " 00025 #include "ble.h" 00026 00027 uint8_t custom_add_uuid_base(uint8_t const * const p_uuid_base); 00028 error_t custom_decode_uuid(uint8_t const * const p_uuid_base, ble_uuid_t * p_uuid); 00029 00030 error_t custom_add_in_characteristic(uint16_t service_handle, ble_uuid_t* p_uuid, uint8_t properties, 00031 uint8_t *p_data, uint16_t min_length, uint16_t max_length, 00032 ble_gatts_char_handles_t* p_char_handle); 00033 00034 #ifdef __cplusplus 00035 } 00036 #endif 00037 00038 #endif
Generated on Tue Jul 12 2022 18:38:49 by 1.7.2