SmartSnippets DA1459x SDK
Macros | Typedefs | Functions
ble_mgr_gtl.h File Reference

tbd More...

#include <stdbool.h>
#include "ad_ble.h"

Go to the source code of this file.

Macros

#define TASK_2_CONNIDX(T)   (T >> 8)
 

Typedefs

typedef void(* ble_gtl_waitqueue_cb_t) (ble_gtl_msg_t *gtl, void *param)
 Waitqueue callback. More...
 

Functions

void * ble_hci_alloc (uint8_t hci_msg_type, uint16_t len)
 Alloc stack API HCI message. More...
 
void * ble_gtl_alloc (uint16_t msg_id, uint16_t dest_id, uint16_t len)
 Alloc stack API GTL message. More...
 
__STATIC_INLINE void * ble_gtl_alloc_with_conn (uint16_t msg_id, uint16_t dest_id, uint16_t conn_idx, uint16_t len)
 Alloc stack API GTL message (with connection index) More...
 
__STATIC_INLINE void ble_gtl_send (void *msg)
 Send stack API GTL message to adapter. More...
 
void ble_gtl_waitqueue_add (uint16_t conn_idx, uint16_t msg_id, uint16_t ext_id, ble_gtl_waitqueue_cb_t cb, void *param)
 Add callback to waitqueue. More...
 
bool ble_gtl_waitqueue_match (ble_gtl_msg_t *gtl)
 
void ble_gtl_waitqueue_flush (uint16_t conn_idx)
 
void ble_gtl_waitqueue_flush_all (void)
 
bool ble_gtl_handle_event (ble_gtl_msg_t *gtl)
 

Detailed Description

tbd

Copyright (C) 2015-2019 Renesas Electronics Corporation and/or its affiliates. All rights reserved. Confidential Information.

This software ("Software") is supplied by Renesas Electronics Corporation and/or its affiliates ("Renesas"). Renesas grants you a personal, non-exclusive, non-transferable, revocable, non-sub-licensable right and license to use the Software, solely if used in or together with Renesas products. You may make copies of this Software, provided this copyright notice and disclaimer ("Notice") is included in all such copies. Renesas reserves the right to change or discontinue the Software at any time without notice.

THE SOFTWARE IS PROVIDED "AS IS". RENESAS DISCLAIMS ALL WARRANTIES OF ANY KIND, WHETHER EXPRESS, IMPLIED, OR STATUTORY, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. TO THE MAXIMUM EXTENT PERMITTED UNDER LAW, IN NO EVENT SHALL RENESAS BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE, EVEN IF RENESAS HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. USE OF THIS SOFTWARE MAY BE SUBJECT TO TERMS AND CONDITIONS CONTAINED IN AN ADDITIONAL AGREEMENT BETWEEN YOU AND RENESAS. IN CASE OF CONFLICT BETWEEN THE TERMS OF THIS NOTICE AND ANY SUCH ADDITIONAL LICENSE AGREEMENT, THE TERMS OF THE AGREEMENT SHALL TAKE PRECEDENCE. BY CONTINUING TO USE THIS SOFTWARE, YOU AGREE TO THE TERMS OF THIS NOTICE.IF YOU DO NOT AGREE TO THESE TERMS, YOU ARE NOT PERMITTED TO USE THIS SOFTWARE.