/TARGET_K64F/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_KPSDK_CODE/hal/adc/fsl_adc_hal.h substitute line 894 extern } by }
Fork of mbed by
TARGET_NRF51822/TARGET_NORDIC/TARGET_NRF51822/Lib/s110_nrf51822_6_0_0/s110_nrf51822_6.0.0_API/include/ble_hci.h@82:6473597d706e, 2014-04-07 (annotated)
- Committer:
- bogdanm
- Date:
- Mon Apr 07 18:28:36 2014 +0100
- Revision:
- 82:6473597d706e
Release 82 of the mbed library
Main changes:
- support for K64F
- Revisited Nordic code structure
- Test infrastructure improvements
- various bug fixes
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
bogdanm | 82:6473597d706e | 1 | /* |
bogdanm | 82:6473597d706e | 2 | Copyright (c) 2012 Nordic Semiconductor. All Rights Reserved. |
bogdanm | 82:6473597d706e | 3 | |
bogdanm | 82:6473597d706e | 4 | The information contained herein is confidential property of Nordic Semiconductor. The use, |
bogdanm | 82:6473597d706e | 5 | copying, transfer or disclosure of such information is prohibited except by express written |
bogdanm | 82:6473597d706e | 6 | agreement with Nordic Semiconductor. |
bogdanm | 82:6473597d706e | 7 | */ |
bogdanm | 82:6473597d706e | 8 | /** |
bogdanm | 82:6473597d706e | 9 | @addtogroup BLE_COMMON |
bogdanm | 82:6473597d706e | 10 | @{ |
bogdanm | 82:6473597d706e | 11 | */ |
bogdanm | 82:6473597d706e | 12 | |
bogdanm | 82:6473597d706e | 13 | |
bogdanm | 82:6473597d706e | 14 | #ifndef BLE_HCI_H__ |
bogdanm | 82:6473597d706e | 15 | #define BLE_HCI_H__ |
bogdanm | 82:6473597d706e | 16 | |
bogdanm | 82:6473597d706e | 17 | /** @defgroup BLE_HCI_STATUS_CODES Bluetooth status codes |
bogdanm | 82:6473597d706e | 18 | * @{ */ |
bogdanm | 82:6473597d706e | 19 | |
bogdanm | 82:6473597d706e | 20 | #define BLE_HCI_STATUS_CODE_SUCCESS 0x00 |
bogdanm | 82:6473597d706e | 21 | #define BLE_HCI_STATUS_CODE_UNKNOWN_BTLE_COMMAND 0x01 |
bogdanm | 82:6473597d706e | 22 | #define BLE_HCI_STATUS_CODE_UNKNOWN_CONNECTION_IDENTIFIER 0x02 |
bogdanm | 82:6473597d706e | 23 | /*0x03 Hardware Failure |
bogdanm | 82:6473597d706e | 24 | 0x04 Page Timeout |
bogdanm | 82:6473597d706e | 25 | */ |
bogdanm | 82:6473597d706e | 26 | #define BLE_HCI_AUTHENTICATION_FAILURE 0x05 |
bogdanm | 82:6473597d706e | 27 | #define BLE_HCI_STATUS_CODE_PIN_OR_KEY_MISSING 0x06 |
bogdanm | 82:6473597d706e | 28 | #define BLE_HCI_MEMORY_CAPACITY_EXCEEDED 0x07 |
bogdanm | 82:6473597d706e | 29 | #define BLE_HCI_CONNECTION_TIMEOUT 0x08 |
bogdanm | 82:6473597d706e | 30 | /*0x09 Connection Limit Exceeded |
bogdanm | 82:6473597d706e | 31 | 0x0A Synchronous Connection Limit To A Device Exceeded |
bogdanm | 82:6473597d706e | 32 | 0x0B ACL Connection Already Exists*/ |
bogdanm | 82:6473597d706e | 33 | #define BLE_HCI_STATUS_CODE_COMMAND_DISALLOWED 0x0C |
bogdanm | 82:6473597d706e | 34 | /*0x0D Connection Rejected due to Limited Resources |
bogdanm | 82:6473597d706e | 35 | 0x0E Connection Rejected Due To Security Reasons |
bogdanm | 82:6473597d706e | 36 | 0x0F Connection Rejected due to Unacceptable BD_ADDR |
bogdanm | 82:6473597d706e | 37 | 0x10 Connection Accept Timeout Exceeded |
bogdanm | 82:6473597d706e | 38 | 0x11 Unsupported Feature or Parameter Value*/ |
bogdanm | 82:6473597d706e | 39 | #define BLE_HCI_STATUS_CODE_INVALID_BTLE_COMMAND_PARAMETERS 0x12 |
bogdanm | 82:6473597d706e | 40 | #define BLE_HCI_REMOTE_USER_TERMINATED_CONNECTION 0x13 |
bogdanm | 82:6473597d706e | 41 | #define BLE_HCI_REMOTE_DEV_TERMINATION_DUE_TO_LOW_RESOURCES 0x14 |
bogdanm | 82:6473597d706e | 42 | #define BLE_HCI_REMOTE_DEV_TERMINATION_DUE_TO_POWER_OFF 0x15 |
bogdanm | 82:6473597d706e | 43 | #define BLE_HCI_LOCAL_HOST_TERMINATED_CONNECTION 0x16 |
bogdanm | 82:6473597d706e | 44 | /* |
bogdanm | 82:6473597d706e | 45 | 0x17 Repeated Attempts |
bogdanm | 82:6473597d706e | 46 | 0x18 Pairing Not Allowed |
bogdanm | 82:6473597d706e | 47 | 0x19 Unknown LMP PDU |
bogdanm | 82:6473597d706e | 48 | */ |
bogdanm | 82:6473597d706e | 49 | #define BLE_HCI_UNSUPPORTED_REMOTE_FEATURE 0x1A |
bogdanm | 82:6473597d706e | 50 | /* |
bogdanm | 82:6473597d706e | 51 | 0x1B SCO Offset Rejected |
bogdanm | 82:6473597d706e | 52 | 0x1C SCO Interval Rejected |
bogdanm | 82:6473597d706e | 53 | 0x1D SCO Air Mode Rejected*/ |
bogdanm | 82:6473597d706e | 54 | #define BLE_HCI_STATUS_CODE_INVALID_LMP_PARAMETERS 0x1E |
bogdanm | 82:6473597d706e | 55 | #define BLE_HCI_STATUS_CODE_UNSPECIFIED_ERROR 0x1F |
bogdanm | 82:6473597d706e | 56 | /*0x20 Unsupported LMP Parameter Value |
bogdanm | 82:6473597d706e | 57 | 0x21 Role Change Not Allowed |
bogdanm | 82:6473597d706e | 58 | */ |
bogdanm | 82:6473597d706e | 59 | #define BLE_HCI_STATUS_CODE_LMP_RESPONSE_TIMEOUT 0x22 |
bogdanm | 82:6473597d706e | 60 | /*0x23 LMP Error Transaction Collision*/ |
bogdanm | 82:6473597d706e | 61 | #define BLE_HCI_STATUS_CODE_LMP_PDU_NOT_ALLOWED 0x24 |
bogdanm | 82:6473597d706e | 62 | /*0x25 Encryption Mode Not Acceptable |
bogdanm | 82:6473597d706e | 63 | 0x26 Link Key Can Not be Changed |
bogdanm | 82:6473597d706e | 64 | 0x27 Requested QoS Not Supported |
bogdanm | 82:6473597d706e | 65 | */ |
bogdanm | 82:6473597d706e | 66 | #define BLE_HCI_INSTANT_PASSED 0x28 |
bogdanm | 82:6473597d706e | 67 | #define BLE_HCI_PAIRING_WITH_UNIT_KEY_UNSUPPORTED 0x29 |
bogdanm | 82:6473597d706e | 68 | #define BLE_HCI_DIFFERENT_TRANSACTION_COLLISION 0x2A |
bogdanm | 82:6473597d706e | 69 | /* |
bogdanm | 82:6473597d706e | 70 | 0x2B Reserved |
bogdanm | 82:6473597d706e | 71 | 0x2C QoS Unacceptable Parameter |
bogdanm | 82:6473597d706e | 72 | 0x2D QoS Rejected |
bogdanm | 82:6473597d706e | 73 | 0x2E Channel Classification Not Supported |
bogdanm | 82:6473597d706e | 74 | 0x2F Insufficient Security |
bogdanm | 82:6473597d706e | 75 | 0x30 Parameter Out Of Mandatory Range |
bogdanm | 82:6473597d706e | 76 | 0x31 Reserved |
bogdanm | 82:6473597d706e | 77 | 0x32 Role Switch Pending |
bogdanm | 82:6473597d706e | 78 | 0x33 Reserved |
bogdanm | 82:6473597d706e | 79 | 0x34 Reserved Slot Violation |
bogdanm | 82:6473597d706e | 80 | 0x35 Role Switch Failed |
bogdanm | 82:6473597d706e | 81 | 0x36 Extended Inquiry Response Too Large |
bogdanm | 82:6473597d706e | 82 | 0x37 Secure Simple Pairing Not Supported By Host. |
bogdanm | 82:6473597d706e | 83 | 0x38 Host Busy - Pairing |
bogdanm | 82:6473597d706e | 84 | 0x39 Connection Rejected due to No Suitable Channel Found*/ |
bogdanm | 82:6473597d706e | 85 | #define BLE_HCI_CONTROLLER_BUSY 0x3A |
bogdanm | 82:6473597d706e | 86 | #define BLE_HCI_CONN_INTERVAL_UNACCEPTABLE 0x3B |
bogdanm | 82:6473597d706e | 87 | #define BLE_HCI_DIRECTED_ADVERTISER_TIMEOUT 0x3C |
bogdanm | 82:6473597d706e | 88 | #define BLE_HCI_CONN_TERMINATED_DUE_TO_MIC_FAILURE 0x3D |
bogdanm | 82:6473597d706e | 89 | #define BLE_HCI_CONN_FAILED_TO_BE_ESTABLISHED 0x3E |
bogdanm | 82:6473597d706e | 90 | |
bogdanm | 82:6473597d706e | 91 | /** @} */ |
bogdanm | 82:6473597d706e | 92 | |
bogdanm | 82:6473597d706e | 93 | |
bogdanm | 82:6473597d706e | 94 | #endif // BLE_HCI_H__ |
bogdanm | 82:6473597d706e | 95 | |
bogdanm | 82:6473597d706e | 96 | /** @} */ |