mbed HRM11017を使ってkonashi.jsでナイトライダー

Dependencies:   BLE_API_Native_IRC mbed

Fork of BLE_RCBController by Junichi Katsu

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers ble_rpc_event_encoder_gatts.h Source File

ble_rpc_event_encoder_gatts.h

Go to the documentation of this file.
00001 /* Copyright (c) 2013 Nordic Semiconductor. All Rights Reserved.
00002  *
00003  * The information contained herein is property of Nordic Semiconductor ASA.
00004  * Terms and conditions of usage are described in detail in NORDIC
00005  * SEMICONDUCTOR STANDARD SOFTWARE LICENSE AGREEMENT.
00006  *
00007  * Licensees are granted free, non-transferable use of the information. NO
00008  * WARRANTY of ANY KIND is provided. This heading must NOT be removed from
00009  * the file.
00010  *
00011  */
00012 
00013 /** @file
00014  *
00015  * @defgroup ble_rpc_event_encoder_gatts GATTS Events Encoder
00016  * @{
00017  * @ingroup ble_sdk_lib_serialization
00018  *
00019  * @brief Event encoder for S110 SoftDevice serialization.
00020  *
00021  * @details This module provides functions for serializing S110 SoftDevice events.
00022  *
00023  */
00024 #ifndef BLE_RPC_EVENT_ENCODER_GATTS_H__
00025 #define BLE_RPC_EVENT_ENCODER_GATTS_H__
00026 
00027 #include <stdint.h>
00028 #include <ble.h>
00029 
00030 /**@brief Function for encoding a @ref ble_evt_t GATTS event.
00031  *
00032  * @param[in]   p_ble_evt    S110 SoftDevice event to serialize.
00033  * @param[out]  p_buffer     Pointer to a buffer for the encoded event.
00034  *
00035  * @return Number of bytes encoded.
00036  */
00037 uint32_t ble_rpc_evt_gatts_encode(ble_evt_t * p_ble_evt, uint8_t * p_buffer);
00038 
00039 #endif // BLE_RPC_EVENT_ENCODER_GATTS_H__
00040 
00041 /** @} */