hci.h (2718e2e7a165cedd3d8810f6f754f1fc0f0be180) hci.h (11c41d51aec0f6b1c42fee9f5d4ea359c4e7a562)
1/*
2 * Copyright (C) 2009 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

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

48#include <stdarg.h>
49
50// packet header lenghts
51#define HCI_CMD_DATA_PKT_HDR 0x03
52#define HCI_ACL_DATA_PKT_HDR 0x04
53#define HCI_SCO_DATA_PKT_HDR 0x03
54#define HCI_EVENT_PKT_HDR 0x02
55
1/*
2 * Copyright (C) 2009 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

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

48#include <stdarg.h>
49
50// packet header lenghts
51#define HCI_CMD_DATA_PKT_HDR 0x03
52#define HCI_ACL_DATA_PKT_HDR 0x04
53#define HCI_SCO_DATA_PKT_HDR 0x03
54#define HCI_EVENT_PKT_HDR 0x02
55
56// packet sizes
57#define HCI_ACL_3DH5_SIZE 1021
58#define HCI_ACL_DH5_SIZE 339
59
56// OGFs
57#define OGF_LINK_CONTROL 0x01
58#define OGF_LINK_POLICY 0x02
59#define OGF_CONTROLLER_BASEBAND 0x03
60#define OGF_INFORMATIONAL_PARAMETERS 0x04
61#define OGF_BTSTACK 0x3d
62#define OGF_VENDOR 0x3f
63

--- 171 unchanged lines hidden ---
60// OGFs
61#define OGF_LINK_CONTROL 0x01
62#define OGF_LINK_POLICY 0x02
63#define OGF_CONTROLLER_BASEBAND 0x03
64#define OGF_INFORMATIONAL_PARAMETERS 0x04
65#define OGF_BTSTACK 0x3d
66#define OGF_VENDOR 0x3f
67

--- 171 unchanged lines hidden ---