bluetooth.h (965a4ccf8d0a33838955d45aaf025fea8dbcff5c) | bluetooth.h (4e65ea07988b07c5036e4a10a02ce09e94403471) |
---|---|
1/* 2 * Copyright (C) 2015 BlueKitchen GmbH 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 --- 438 unchanged lines hidden (view full) --- 447#define L2CAP_LE_DEFAULT_MTU 23 448 449// L2CAP Fixed Channel IDs 450#define L2CAP_CID_SIGNALING 0x0001 451#define L2CAP_CID_CONNECTIONLESS_CHANNEL 0x0002 452#define L2CAP_CID_ATTRIBUTE_PROTOCOL 0x0004 453#define L2CAP_CID_SIGNALING_LE 0x0005 454#define L2CAP_CID_SECURITY_MANAGER_PROTOCOL 0x0006 | 1/* 2 * Copyright (C) 2015 BlueKitchen GmbH 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 --- 438 unchanged lines hidden (view full) --- 447#define L2CAP_LE_DEFAULT_MTU 23 448 449// L2CAP Fixed Channel IDs 450#define L2CAP_CID_SIGNALING 0x0001 451#define L2CAP_CID_CONNECTIONLESS_CHANNEL 0x0002 452#define L2CAP_CID_ATTRIBUTE_PROTOCOL 0x0004 453#define L2CAP_CID_SIGNALING_LE 0x0005 454#define L2CAP_CID_SECURITY_MANAGER_PROTOCOL 0x0006 |
455 | 455#define L2CAP_CID_BR_EDR_SECURITY_MANAGER 0x0007 |
456/** 457 * SDP Protocol 458 */ 459 460// Device Vendor ID Sources 461#define DEVICE_ID_VENDOR_ID_SOURCE_BLUETOOTH 0x0001 462#define DEVICE_ID_VENDOR_ID_SOURCE_USB 0x0002 463 --- 307 unchanged lines hidden (view full) --- 771#define SM_REASON_PAIRING_NOT_SUPPORTED 0x05 772#define SM_REASON_ENCRYPTION_KEY_SIZE 0x06 773#define SM_REASON_COMMAND_NOT_SUPPORTED 0x07 774#define SM_REASON_UNSPECIFIED_REASON 0x08 775#define SM_REASON_REPEATED_ATTEMPTS 0x09 776#define SM_REASON_INVALID_PARAMETERS 0x0a 777#define SM_REASON_DHKEY_CHECK_FAILED 0x0b 778#define SM_REASON_NUMERIC_COMPARISON_FAILED 0x0c | 456/** 457 * SDP Protocol 458 */ 459 460// Device Vendor ID Sources 461#define DEVICE_ID_VENDOR_ID_SOURCE_BLUETOOTH 0x0001 462#define DEVICE_ID_VENDOR_ID_SOURCE_USB 0x0002 463 --- 307 unchanged lines hidden (view full) --- 771#define SM_REASON_PAIRING_NOT_SUPPORTED 0x05 772#define SM_REASON_ENCRYPTION_KEY_SIZE 0x06 773#define SM_REASON_COMMAND_NOT_SUPPORTED 0x07 774#define SM_REASON_UNSPECIFIED_REASON 0x08 775#define SM_REASON_REPEATED_ATTEMPTS 0x09 776#define SM_REASON_INVALID_PARAMETERS 0x0a 777#define SM_REASON_DHKEY_CHECK_FAILED 0x0b 778#define SM_REASON_NUMERIC_COMPARISON_FAILED 0x0c |
779#define SM_REASON_BR_EDR_PAIRING_IN_PROGRESS 0x0d 780#define SM_REASON_CROSS_TRANSPORT_KEY_DERIVATION_NOT_ALLOWED 0x0e 781#define SM_REASON_KEY_REJECTED 0x0f |
|
779 780// also, invalid parameters 781// and reserved 782 783// Keypress Notifications 784#define SM_KEYPRESS_PASSKEY_ENTRY_STARTED 0x00 785#define SM_KEYPRESS_PASSKEY_DIGIT_ENTERED 0x01 786#define SM_KEYPRESS_PASSKEY_DIGIT_ERASED 0x02 787#define SM_KEYPRESS_PASSKEY_CLEARED 0x03 788#define SM_KEYPRESS_PASSKEY_ENTRY_COMPLETED 0x04 789 790 791#endif | 782 783// also, invalid parameters 784// and reserved 785 786// Keypress Notifications 787#define SM_KEYPRESS_PASSKEY_ENTRY_STARTED 0x00 788#define SM_KEYPRESS_PASSKEY_DIGIT_ENTERED 0x01 789#define SM_KEYPRESS_PASSKEY_DIGIT_ERASED 0x02 790#define SM_KEYPRESS_PASSKEY_CLEARED 0x03 791#define SM_KEYPRESS_PASSKEY_ENTRY_COMPLETED 0x04 792 793 794#endif |