Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of nRF51822 by
ble_rpc_event_encoder_gap.h
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_gap GAP Event 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_GAP_H__ 00025 #define BLE_RPC_EVENT_ENCODER_GAP_H__ 00026 00027 #include <stdint.h> 00028 #include <ble.h> 00029 00030 /**@brief Function for encoding a @ref ble_evt_t GAP 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_gap_encode(ble_evt_t * p_ble_evt, uint8_t * p_buffer); 00038 00039 #endif // BLE_RPC_EVENT_ENCODER_GAP_H__ 00040 00041 /** @} */
Generated on Tue Jul 12 2022 18:44:25 by
1.7.2
