1/* 2 * Copyright 2008 Oliver Ruiz Dorantes, oliver.ruiz.dorantes_at_gmail.com 3 * All rights reserved. Distributed under the terms of the MIT License. 4 */ 5#ifndef L2CAP_UPPER_H 6#define L2CAP_UPPER_H 7 8#include "l2cap_internal.h" 9 10status_t l2cap_l2ca_con_ind(L2capChannel* channel); 11status_t l2cap_cfg_req_ind(L2capChannel* channel); 12status_t l2cap_discon_req_ind(L2capChannel* channel); 13status_t l2cap_discon_rsp_ind(L2capChannel* channel); 14 15status_t l2cap_con_rsp_ind(HciConnection* conn, L2capChannel* channel); 16status_t l2cap_cfg_rsp_ind(L2capChannel* channel); 17 18status_t l2cap_upper_con_req(L2capChannel* channel); 19status_t l2cap_upper_dis_req(L2capChannel* channel); 20 21 22 23status_t l2cap_co_receive(HciConnection* conn, net_buffer* buffer, uint16 dcid); 24status_t l2cap_cl_receive(HciConnection* conn, net_buffer* buffer, uint16 psm); 25 26#endif 27