mirror of
https://github.com/pengwon/epd42.git
synced 2026-03-26 10:39:47 +08:00
76 lines
3.6 KiB
C
76 lines
3.6 KiB
C
/* Copyright (c) 2014 Nordic Semiconductor. All Rights Reserved.
|
|
*
|
|
* The information contained herein is property of Nordic Semiconductor ASA.
|
|
* Terms and conditions of usage are described in detail in NORDIC
|
|
* SEMICONDUCTOR STANDARD SOFTWARE LICENSE AGREEMENT.
|
|
*
|
|
* Licensees are granted free, non-transferable use of the information. NO
|
|
* WARRANTY of ANY KIND is provided. This heading must NOT be removed from
|
|
* the file.
|
|
*
|
|
*/
|
|
|
|
#include "ble_types.h"
|
|
|
|
|
|
uint32_t ble_uuid_t_enc(void const * const p_void_uuid,
|
|
uint8_t * const p_buf,
|
|
uint32_t buf_len,
|
|
uint32_t * const p_index);
|
|
|
|
uint32_t ble_uuid_t_dec(uint8_t const * const p_buf,
|
|
uint32_t buf_len,
|
|
uint32_t * const p_index,
|
|
void * const p_void_uuid);
|
|
|
|
uint32_t ble_uuid128_t_enc(const void * const p_void_uuid,
|
|
uint8_t * const p_buf,
|
|
uint32_t buf_len,
|
|
uint32_t * const p_index);
|
|
|
|
uint32_t ble_uuid128_t_dec(uint8_t const * const p_buf,
|
|
uint32_t buf_len,
|
|
uint32_t * const p_index,
|
|
void * const p_void_uuid);
|
|
|
|
uint32_t ble_l2cap_header_t_enc(void const * const p_void_header,
|
|
uint8_t * const p_buf,
|
|
uint32_t buf_len,
|
|
uint32_t * const p_index);
|
|
|
|
uint32_t ble_l2cap_header_t_dec(uint8_t const * const p_buf,
|
|
uint32_t buf_len,
|
|
uint32_t * const p_index,
|
|
void * const p_void_header);
|
|
|
|
uint32_t ble_l2cap_evt_rx_t_enc(void const * const p_void_evt_rx,
|
|
uint8_t * const p_buf,
|
|
uint32_t buf_len,
|
|
uint32_t * const p_index);
|
|
|
|
uint32_t ble_l2cap_evt_rx_t_dec(uint8_t const * const p_buf,
|
|
uint32_t buf_len,
|
|
uint32_t * const p_index,
|
|
uint32_t * const p_event_len,
|
|
void * const p_void_evt_rx);
|
|
|
|
uint32_t ble_enable_params_t_enc(void const * const p_void_enable_params,
|
|
uint8_t * const p_buf,
|
|
uint32_t buf_len,
|
|
uint32_t * const p_index);
|
|
|
|
uint32_t ble_enable_params_t_dec(uint8_t const * const p_buf,
|
|
uint32_t buf_len,
|
|
uint32_t * const p_index,
|
|
void * const p_void_enable_params);
|
|
|
|
uint32_t ble_common_opt_radio_cpu_mutex_t_enc(void const * const p_void_opt_mutex,
|
|
uint8_t * const p_buf,
|
|
uint32_t buf_len,
|
|
uint32_t * const p_index);
|
|
|
|
uint32_t ble_common_opt_radio_cpu_mutex_t_dec(uint8_t const * const p_buf,
|
|
uint32_t buf_len,
|
|
uint32_t * const p_index,
|
|
void * const p_void_opt_mutex);
|