comparison src/cs/services/atp/atp_spp_api_i.h @ 0:92470e5d0b9e

src: partial import from FC Selenite
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 15 May 2020 01:28:16 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:92470e5d0b9e
1 /*******************************************************************************
2 *
3 * File Name : atp_spp_api_i.h
4 *
5 * Internal Definitions for the interface between ATP and SPP SW entity
6 *
7 * (C) Texas Instruments, all rights reserved
8 *
9 * Version number : 0.1 Date : 16-Marsh-2000
10 *
11 * History : 0.1 - Created by E. Baissus
12 *
13 *
14 * Author : Eric Baissus : e-baissus@ti.com
15 *
16 * (C) Copyright 2000 by Texas Instruments Incorporated, All Rights Reserved
17 ******************************************************************************/
18 #ifndef ATP_SPP_API_I_H
19 #define ATP_SPP_API_I_H
20
21
22 #include "rv/rv_general.h"
23 #include "rvf/rvf_api.h"
24 #include "spp_general.h"
25 #include "spp_up_interface.h"
26
27 // Structure used to store the 'open pending port' information
28
29
30 typedef struct
31 {
32 T_ATP_SW_ENTITY_ID initiator_id;
33 T_ATP_PORT_NB port_nb;
34 T_SPP_HANDLE handle;
35 } T_ATP_SPP_PENDING_PORT_INFO;
36
37
38 typedef enum
39 {
40 ATP_SPP_IS_IND,
41 ATP_SPP_IS_CFM
42 } T_ATP_SPP_IS_IND_OR_CFM;
43
44
45 void atp_spp_to_spp_if_ft(void * message_p);
46 T_RV_RET atp_spp_open_port_rqst(T_ATP_OPEN_PORT_IND * open_port_ind_p);
47 T_RV_RET atp_spp_open_port_rsp(void * spp_open_port_rsp_p,T_ATP_SPP_IS_IND_OR_CFM cfm_or_ind);
48 T_RV_RET atp_spp_port_closed_from_atp(T_ATP_PORT_CLOSED * close_port_p);
49 T_RV_RET atp_spp_send_to_spp_buffer_nc(T_ATP_NO_COPY_DATA_RDY * atp_no_copy_p);
50 void atp_spp_from_spp_if_ft(void * message_p);
51 T_RV_RET atp_spp_reg(void);
52 T_RV_RET atp_spp_set_atp_signals(T_SPP_LINE_STS * message_p);
53 T_RV_RET atp_spp_set_spp_signals(T_ATP_SIGNAL_CHANGED * message_p);
54
55
56 #endif
57