Myles Watson | dde03b2 | 2016-12-02 12:44:57 -0800 | [diff] [blame] | 1 | # Enable trace level reconfiguration function |
| 2 | # Must be present before any TRC_ trace level settings |
| 3 | TraceConf=true |
The Android Open Source Project | 5738f83 | 2012-12-12 16:00:35 -0800 | [diff] [blame] | 4 | |
Myles Watson | dde03b2 | 2016-12-02 12:44:57 -0800 | [diff] [blame] | 5 | # Trace level configuration |
| 6 | # BT_TRACE_LEVEL_NONE 0 ( No trace messages to be generated ) |
| 7 | # BT_TRACE_LEVEL_ERROR 1 ( Error condition trace messages ) |
| 8 | # BT_TRACE_LEVEL_WARNING 2 ( Warning condition trace messages ) |
| 9 | # BT_TRACE_LEVEL_API 3 ( API traces ) |
| 10 | # BT_TRACE_LEVEL_EVENT 4 ( Debug messages for events ) |
| 11 | # BT_TRACE_LEVEL_DEBUG 5 ( Full debug messages ) |
| 12 | # BT_TRACE_LEVEL_VERBOSE 6 ( Verbose messages ) - Currently supported for TRC_BTAPP only. |
| 13 | TRC_BTM=2 |
| 14 | TRC_HCI=2 |
| 15 | TRC_L2CAP=2 |
| 16 | TRC_RFCOMM=2 |
| 17 | TRC_OBEX=2 |
| 18 | TRC_AVCT=2 |
| 19 | TRC_AVDT=2 |
| 20 | TRC_AVRC=2 |
| 21 | TRC_AVDT_SCB=2 |
| 22 | TRC_AVDT_CCB=2 |
| 23 | TRC_A2D=2 |
| 24 | TRC_SDP=2 |
Myles Watson | dde03b2 | 2016-12-02 12:44:57 -0800 | [diff] [blame] | 25 | TRC_SMP=2 |
| 26 | TRC_BTAPP=2 |
| 27 | TRC_BTIF=2 |
Myles Watson | dde03b2 | 2016-12-02 12:44:57 -0800 | [diff] [blame] | 28 | TRC_BNEP=2 |
| 29 | TRC_PAN=2 |
Hemant Gupta | 8843cc8 | 2014-04-18 12:34:55 +0530 | [diff] [blame] | 30 | TRC_HID_HOST=2 |
| 31 | TRC_HID_DEV=2 |
Nitin Arora | a0ee0f8 | 2016-03-11 12:26:51 -0800 | [diff] [blame] | 32 | |
Myles Watson | dde03b2 | 2016-12-02 12:44:57 -0800 | [diff] [blame] | 33 | # This is Log configuration for new C++ code using LOG() macros. |
| 34 | # See libchrome/base/logging.h for description on how to configure your logs. |
| 35 | # sample configuration: |
| 36 | #LoggingV=--v=0 |
| 37 | #LoggingVModule=--vmodule=*/btm/*=1,btm_ble_multi*=2,btif_*=1 |
Jakub Pawlowski | 75b8366 | 2016-09-27 18:24:59 -0700 | [diff] [blame] | 38 | |
Nitin Arora | 0bd0c8f | 2016-03-15 15:00:36 -0700 | [diff] [blame] | 39 | # PTS testing helpers |
Nitin Arora | a0ee0f8 | 2016-03-11 12:26:51 -0800 | [diff] [blame] | 40 | |
| 41 | # Secure connections only mode. |
| 42 | # PTS_SecurePairOnly=true |
Nitin Arora | 36ad41b | 2015-06-10 17:10:57 -0700 | [diff] [blame] | 43 | |
| 44 | # Disable LE Connection updates |
| 45 | #PTS_DisableConnUpdates=true |
Nitin Arora | 4cdb0e5 | 2016-03-10 18:27:24 -0800 | [diff] [blame] | 46 | |
| 47 | # Disable BR/EDR discovery after LE pairing to avoid cross key derivation errors |
| 48 | #PTS_DisableSDPOnLEPair=true |
Nitin Arora | 2aa2b80 | 2016-03-11 16:37:51 -0800 | [diff] [blame] | 49 | |
| 50 | # SMP Pair options (formatted as hex bytes) auth, io, ikey, rkey, ksize |
| 51 | #PTS_SmpOptions=0xD,0x4,0xf,0xf,0x10 |
Nitin Arora | 0bd0c8f | 2016-03-15 15:00:36 -0700 | [diff] [blame] | 52 | |
tedwang | 494dcc5 | 2018-05-16 19:51:26 +0800 | [diff] [blame] | 53 | # PTS AVRCP Test mode |
| 54 | #PTS_AvrcpTest=true |
| 55 | |
Nitin Arora | 0bd0c8f | 2016-03-15 15:00:36 -0700 | [diff] [blame] | 56 | # SMP Certification Failure Cases |
ravishankar srivatsa | fd102ca | 2017-05-04 10:13:58 +0530 | [diff] [blame] | 57 | # Set any of the following SMP error values (from smp_api_types.h) |
| 58 | # to induce pairing failues for various PTS SMP test cases. |
| 59 | # Setting PTS_SmpFailureCase to 0 means normal operation. |
Nitin Arora | 0bd0c8f | 2016-03-15 15:00:36 -0700 | [diff] [blame] | 60 | # Failure modes: |
ravishankar srivatsa | fd102ca | 2017-05-04 10:13:58 +0530 | [diff] [blame] | 61 | # |
| 62 | # SMP_PASSKEY_ENTRY_FAIL = 1 |
| 63 | # SMP_PAIR_AUTH_FAIL = 3 |
| 64 | # SMP_CONFIRM_VALUE_ERR = 4 |
| 65 | # SMP_PAIR_NOT_SUPPORT = 5 |
| 66 | # SMP_PAIR_FAIL_UNKNOWN = 8 |
| 67 | # SMP_REPEATED_ATTEMPTS = 9 |
| 68 | # SMP_NUMERIC_COMPAR_FAIL = 12 |
Nitin Arora | 0bd0c8f | 2016-03-15 15:00:36 -0700 | [diff] [blame] | 69 | #PTS_SmpFailureCase=0 |
| 70 | |