l2cap.h (df3354fc67b724e12e38312f95d99fe997e0d46e) l2cap.h (f471afd8963ca1a5b914db0cbb3471db087f44b8)
1/*
2 * Copyright (C) 2009-2012 by Matthias Ringwald
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
6 * are met:
7 *
8 * 1. Redistributions of source code must retain the above copyright

--- 28 unchanged lines hidden (view full) ---

37/*
38 * l2cap.h
39 *
40 * Logical Link Control and Adaption Protocl (L2CAP)
41 *
42 * Created by Matthias Ringwald on 5/16/09.
43 */
44
1/*
2 * Copyright (C) 2009-2012 by Matthias Ringwald
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
6 * are met:
7 *
8 * 1. Redistributions of source code must retain the above copyright

--- 28 unchanged lines hidden (view full) ---

37/*
38 * l2cap.h
39 *
40 * Logical Link Control and Adaption Protocl (L2CAP)
41 *
42 * Created by Matthias Ringwald on 5/16/09.
43 */
44
45#pragma once
45#ifndef __L2CAP_H
46#define __L2CAP_H
46
47#include "hci.h"
48#include "l2cap_signaling.h"
49#include <btstack/utils.h>
50#include <btstack/btstack.h>
51
52#if defined __cplusplus
53extern "C" {

--- 191 unchanged lines hidden (view full) ---

245void l2cap_decline_connection_internal(uint16_t local_cid, uint8_t reason);
246
247// Request LE connection parameter update
248int l2cap_le_request_connection_parameter_update(uint16_t handle, uint16_t interval_min, uint16_t interval_max, uint16_t slave_latency, uint16_t timeout_multiplier);
249
250#if defined __cplusplus
251}
252#endif
47
48#include "hci.h"
49#include "l2cap_signaling.h"
50#include <btstack/utils.h>
51#include <btstack/btstack.h>
52
53#if defined __cplusplus
54extern "C" {

--- 191 unchanged lines hidden (view full) ---

246void l2cap_decline_connection_internal(uint16_t local_cid, uint8_t reason);
247
248// Request LE connection parameter update
249int l2cap_le_request_connection_parameter_update(uint16_t handle, uint16_t interval_min, uint16_t interval_max, uint16_t slave_latency, uint16_t timeout_multiplier);
250
251#if defined __cplusplus
252}
253#endif
254
255#endif // __L2CAP_H