l2cap.h (3ad83cc63908b0dc82c0ebebff3c6bd2b9ccea2e) | l2cap.h (f540f3aff09f93b7b40b4bd2d7daef191463d815) |
---|---|
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 --- 73 unchanged lines hidden (view full) --- 82 83// L2CAP Configuration Result Codes 84#define L2CAP_CONF_RESULT_UNKNOWN_OPTIONS 0x0003 85 86// L2CAP Reject Result Codes 87#define L2CAP_REJ_CMD_UNKNOWN 0x0000 88 89// Response Timeout eXpired | 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 --- 73 unchanged lines hidden (view full) --- 82 83// L2CAP Configuration Result Codes 84#define L2CAP_CONF_RESULT_UNKNOWN_OPTIONS 0x0003 85 86// L2CAP Reject Result Codes 87#define L2CAP_REJ_CMD_UNKNOWN 0x0000 88 89// Response Timeout eXpired |
90#define L2CAP_RTX_TIMEOUT_MS 2000 | 90#define L2CAP_RTX_TIMEOUT_MS 10000 |
91 92// Extended Response Timeout eXpired 93#define L2CAP_ERTX_TIMEOUT_MS 120000 94 95// private structs 96typedef enum { 97 L2CAP_STATE_CLOSED = 1, // no baseband 98 L2CAP_STATE_WILL_SEND_CREATE_CONNECTION, --- 172 unchanged lines hidden --- | 91 92// Extended Response Timeout eXpired 93#define L2CAP_ERTX_TIMEOUT_MS 120000 94 95// private structs 96typedef enum { 97 L2CAP_STATE_CLOSED = 1, // no baseband 98 L2CAP_STATE_WILL_SEND_CREATE_CONNECTION, --- 172 unchanged lines hidden --- |