# This is a sample configuration file. # During application start up, the configuration # parameters will be read from file btui_cfg.txt # if it's present in Projects/bta/insight/btui_app/bin # directory. The code where these are read are in the # C file btui_cfg_insight.c # Make a copy of the following into btui_cfg.txt # and change the values for the required configuration. # '#' characters at the beginning of a line are ignored. # First instance of a tag is used. # Maximum line length is 128 characters. # # The values supported are # 1&0 for all binary parameters # For strings enclose the characters in <> # For comport COM1 COM2 COM3 COM4 # For baud rate 57600 115200 19200 230400 # inquiry filter type: 0 - none, 1 - cod, 2 - addr DM_INQ_FILTER_TYPE=0 #DM_INQ_FILTER_COND=<000204> # Sample COD filter (HS) DM_INQ_FILTER_COND=<000d442a4c8e> # Sample BD_ADDR filter #DM_LOCAL_BR_IO_CAPS: # It is used by BR/EDR # BTM_IO_CAP_OUT 0 /* DisplayOnly */ # BTM_IO_CAP_IO 1 /* DisplayYesNo */ # BTM_IO_CAP_IN 2 /* KeyboardOnly */ # BTM_IO_CAP_NONE 3 /* NoInputNoOutput */ DM_LOCAL_BR_IO_CAPS = 1 #DM_AUTH_REQ: 0/not required. 1/required, 2/sec DB+general bonding+DD=not required, 3/sec DB+DD=not required, # 4/sec DB+general bonding+DD=required, 5/sec DB+DD=required DM_AUTH_REQ = 1 DM_SP_AUTO_REPLY=1 # Percent of Threshold compiled in DM Table (100 uses compiled table, lower value lowers threshold) DM_AUTO_SWITCH_WEIGHT=100 DI_VERSION = 0x0100 VENDOR_ID = 0x0A5C VENDOR_ID_SOURCE = 0x0002 PRODUCT_ID = 0xffff # 3D Sync # Feature bits: 0-Asso Notif, 1-BatLev, 2-BatLev Startup Sync # Default 0x7 # TX_POWER greater than 0 for legacy device 3DS_SUPPORTED=0 3DD_EIR_FEATURES=0x07 3DD_EIR_PATH_LOSS_THRESHOLD=60 # AG role for HS and HF AG_HSP_SUPPORTED=0 AG_HSP_SERVICE_NAME= AG_HFP_SUPPORTED=0 AG_HFP_SERVICE_NAME= AG_AUTHENTICATION=1 AG_ENCRYPTION=1 AG_AUTHORIZATION=0 # Feature bits: 0-3way, 1-ECNR, 2-VREC, 3-Inband, 4-VTAG, 5-Rej, 6-ECS, 7-ECC, # 8-ERR, 9-CODEC, 10-HF_IND, 11-ESCO_S4 # 12~15:Reserved # 16~31 is proprietary features # 16-BTRH, 17-UNAT, 18-NOSCO, 19-NOESCO # 20-VOIP #BTA_AG_FEAT_BTRH 0x00010000 /* CCAP incoming call hold */ #BTA_AG_FEAT_UNAT 0x00020000 /* Pass unknown AT commands to application */ #BTA_AG_FEAT_NOSCO 0x00040000 /* No SCO control performed by BTA AG */ #BTA_AG_FEAT_NO_ESCO 0x00080000 /* Do not allow or use eSCO */ #BTA_AG_FEAT_VOIP 0x00100000 /* VoIP call */ #AG_FEATURES=0x105F7 #AG_FEATURES=0xFF7 with WBS #AG_FEATURES=0xDF7 without WBS #AG_FEATURES=0xFF7 # WBS over UART AG_FEATURES=0x107FF # Preferred SCO codec: 1-CVSD, 2-mSBC AG_SCO_CODEC=2 AG_INSTANCES=2 AG_BLDN_ENABLE=1 # SCO_OVER_HCI: 0/ SCO route through PCM; 1/SCO route through HCI AG_SCO_OVER_HCI=1 # AG_SCO_HCI_USE_TESTFILE: 1/ play audio file under "Projects/bta/insight/btui_app/test files/sco" over SCO ; # 0/send audio coming from mic over sco AG_SCO_HCI_USE_TESTFILE = 0 # AG Changeable Incoming Call Number for PTS max len 10 AG_CHANGEABLE_CALL_NUM_SUPPORT=0 AG_INCOMING_CALL_NUM=<1234567> # Wave file is created under test_files/sco_dump/ dir # This flag applies to both AG and HS. SCO_HCI_FILE_DUMP = 0 # HS role for HS and HF HS_HSP_SUPPORTED = 1 HS_HSP_SERVICE_NAME= HS_HFP_SUPPORTED = 1 HS_HFP_SERVICE_NAME= HS_AUTHENTICATION=1 HS_ENCRYPTION=1 HS_AUTHORIZATION=0 # Feature bits: 0-ECNR, 1-3WAY, 2-CLIP, 3-VREC, 4-RVOL, 5-ECS, 6-ECC, 7-CODEC, # 8-HF_IND, 9-ESCO_S4 # 10~11:Reserved # 12-UNAT, 13-VOIP #BTA_HS_FEAT_UNAT 0x1000 /* Pass unknown AT command responses to application */ #BTA_HS_FEAT_VOIP 0x2000 /* VoIP call */ # no wbs #HS_FEATURES=0x33F7 # wbs HS_FEATURES=0x10ff #HS_FEATURES=0x11FF HS_SCO_OVER_HCI=1 HS_SLC_AUTO_ANSWER=1 # whether to send AT+CLCC for outgoing call setup Ind, 1 send CLLC HS_OUTGOING_CLCC=1 DG_COM_PORT= DG_BAUD_RATE=<115200> SPP_SUPPORTED=1 SPP_SERVICE_NAME= SPP_AUTHENTICATION=1 SPP_ENCRYPTION=1 SPP_AUTHORIZATION=1 SPP_LOOPBACK=0 SPP_SENDDATA=0 DUN_SUPPORTED=0 DUN_SERVICE_NAME= DUN_AUTHENTICATION=1 DUN_ENCRYPTION=1 DUN_AUTHORIZATION=1 FAX_SUPPORTED=0 FAX_SERVICE_NAME= FAX_AUTHENTICATION=1 FAX_ENCRYPTION=1 FAX_AUTHORIZATION=1 DG_CLIENT_SUPPORTED=0 DG_CLIENT_SERVICE_ID=<1> DG_CLIENT_PEER_NAME=<> DG_CLIENT_AUTHENTICATION=0 DG_CLIENT_ENCRYPTION=0 DG_CLIENT_COM_PORT= DG_CLIENT_BAUD_RATE=<115200> OPS_SUPPORTED=0 OPS_SERVICE_NAME= OPS_AUTHENTICATION=1 OPS_ENCRYPTION=0 OPS_AUTHORIZATION=0 OPS_SRM_SUPPORTED=1 OPC_SUPPORTED=0 OPC_SINGLE_OP=1 OPC_AUTHENTICATION=1 OPC_ENCRYPTION=1 OPC_SRM_SUPPORTED=1 FTS_SUPPORTED=0 FTS_SERVICE_NAME= FTS_AUTHENTICATION=1 FTS_ENCRYPTION=1 FTS_MODE4_LEVEL4=0 FTS_AUTHORIZATION=0 FTS_OBEX_AUTHEN=0 FTS_OBEX_AUTH_KEY=<1234> FTS_OBEX_AUTH_REALM= PBS_SUPPORTED=0 PBS_SERVICE_NAME= PBS_AUTHENTICATION=1 PBS_ENCRYPTION=1 PBS_AUTHORIZATION=0 PBS_OBEX_AUTHEN=0 PBS_OBEX_AUTH_KEY=<1234> PBS_OBEX_AUTH_REALM= # SDP Supported Feature Mask # Download 0x00000001 # Browsing 0x00000002 # Database Identifier 0x00000004 # Folder Version Counter 0x00000008 # Vcard Selecting 0x00000010 # Enhanced Missed Calls 0x00000020 # X-BT-UCI vCard Field 0x00000040 # X-BT-UID vCard Field 0x00000080 # Contact Referencing 0x00000100 # Default Contact Image Format 0x00000200 # PBAP 1.0 Default 0x00000002 # PBAP 1.2 Default 0x000003FF PBS_SUPPORTED_FEATURES = 0x000003FF # SDP Support Repository Mask # Local PhoneBook 0x01 # SIM card PhoneBook 0x02 # Speed Dial 0x04 # Favorites 0x08 # PBAP 1.0 Default 0x03 # PBAP 1.2 Default 0x0F PBS_SUPPORTED_REPOSITORIES = 0x0F PBC_SUPPORTED=1 PBC_AUTHENTICATION=0 PBC_ENCRYPTION=0 PBC_OBEX_PASSWORD=<1234> PBC_OBEX_USERID= PBC_MAX_LIST_COUNT = 50 PBC_LIST_OFFSET = 0 #filter: bit mast. bit 0 Version 1-FN, 2-N, 3-PHOTO, 4-BDAY, 5-ADR, 6-LABEL, 7-TEL, 8-EMAIL, 9-MAILER, 10-TZ, 11-GEO, # 12-TITLE, 13-ROLE, 14-LOGO, 15-AGENT, 16-ORG, 17-NOTE, 18-REV, 19-SOUND, 20-URL, 21-UID, 22-KEY, 23-NICKNAME, # 28-TIME-STAMP PBC_PB_FILTER = 0 #format: 0/vCard 2.1, 1/vCard 3.0 PBC_PB_FORMAT=0 #order: 0/indexed, 1/alphanumeric, 2/phonetic PBC_LIST_ORDER=0 #attr: 0/name, 1/number, 2/sound PBC_LIST_ATTR=0 # SDP Supported Feature Mask # Download 0x00000001 # Browsing 0x00000002 # Database Identifier 0x00000004 # Folder Version Counter 0x00000008 # Vcard Selecting 0x00000010 # Enhanced Missed Calls 0x00000020 # X-BT-UCI vCard Field 0x00000040 # X-BT-UID vCard Field 0x00000080 # Contact Referencing 0x00000100 # Default Contact Image Format 0x00000200 # PBAP 1.0 Default 0x00000002 # PBAP 1.2 Default 0x000003FF PBC_SUPPORTED_FEATURES = 0x000003FF FTC_SUPPORTED=0 FTC_AUTHENTICATION=0 FTC_ENCRYPTION=0 FTC_MODE4_LEVEL4=0 FTC_OBEX_PASSWORD=<1234> FTC_OBEX_USERID= FTC_SRM_SUPPORTED=1 FTC_DEFAULT_NONCE=0 FTC_FTP_SUPPORTED=1 FTC_OPP_SUPPORTED=1 FTC_BIP_SUPPORTED=1 ACS_SUPPORTED = 1 ACS_SERVICE_NAME= ACS_REQUEST_THUMB=1 ACS_AUTHENTICATION=0 ACS_ENCRYPTION=0 ACS_AUTHORIZATION=0 ACS_PUSH_SUPPORTED=1 ACS_PULL_SUPPORTED=1 ACS_CAMERA_SUPPORTED=1 ACC_SUPPORTED = 0 ACC_AUTHENTICATION=0 ACC_ENCRYPTION=0 ACC_AUTHORIZATION=0 ACC_CAM_GET_IMAGE=1 ACC_OBEX_PASSWORD=<1234> ACC_OBEX_USERID= SS_SUPPORTED=0 SS_SERVICE_NAME= SS_AUTHENTICATION=1 SS_ENCRYPTION=1 SS_AUTHORIZATION=1 SS_OBEX_AUTHEN=0 SS_OBEX_AUTH_KEY=<1234> SS_OBEX_AUTH_REALM= SS_VCARD_SUPPORTED=1 SS_VCAL_SUPPORTED=1 SS_VNOTE_SUPPORTED=1 SS_VMSG_SUPPORTED=1 SS_MAX_LUID_SIZE=30 SS_MAX_CL_ENTRIES=20 SS_MAX_DID_SIZE=10 PAN_SUPPORTED=0 PANU_SERVICE_NAME= PANGN_SERVICE_NAME= PANNAP_SERVICE_NAME= PANU_SUPPORTED=1 PANGN_SUPPORTED=0 PANNAP_SUPPORTED=1 PAN_AUTHENTICATION=1 PAN_ENCRYPTION=1 PAN_AUTHORIZATION=0 PR_SUPPORTED=0 PR_BIP_SUPPORTED=1 PR_BPP_SUPPORTED=1 PR_OPP_SUPPORTED=1 PR_OBEX_PASSWORD=<1234> PR_OBEX_USERID= PR_AUTHENTICATION=0 PR_ENCRYPTION=0 # Sim Access Server SC_SUPPORTED=0 SC_AUTHENTICATION=1 SC_ENCRYPTION=1 SC_AUTHORIZATION=1 # Sim Access Client SAC_SUPPORTED=0 SAC_MAX_MSG_SIZE=300 AV_SUPPORTED=0 # if AV_VDP_SUPPORTED is 1: the audio source is wave file, the video source is H.263 file # if AV_VDP_SUPPORTED is 0 && AV_USE_PLAYER is 1: the audio source is media player # if AV_VDP_SUPPORTED is 0 && AV_USE_PLAYER is 0: the audio source is wave file AV_VDP_SUPPORTED = 0 AV_USE_PLAYER = 0 # if AV_AUTO_SWITCH is 1 then application will initiate switching when AV channels are opened AV_AUTO_SWITCH = 0 AV_AUDIO_SERVICE_NAME= AV_VIDEO_SERVICE_NAME= AV_NUM_AUDIO = 5 AV_AUTHENTICATION=1 AV_ENCRYPTION=1 AV_AUTHORIZATION=0 AV_SUSPD_RCFG=0 # if 1, send suspend(pause)/reconfig, otherwise send close/reconfig AV_USE_RC = 1 # open AVRCP channel from source side if sink does not initiate AVRCP connection AV_MIN_TRACE = 0 #if non-zero use this trace level when stream is open (1 for error only, 2 for error & warning) # AV_FEATURES: Remote Ctrl Target=0x01, Remote Controller=0x02, Content Protection=0x04, vendor=0x08, # browsing=0x10 report=0x20, metadata=0x40, multi-av=0x80, master=0x100, adv_ctrl=0x200, delay_report=0x400 # acp_start=0x0800 : start stream to the 2nk sink when source is the acceptor # int_start=0x1000 : start stream to the 2nk sink when source is the initiator # Internal features # 0x8000 : Do not suspend streaming as to AG events(SCO or Call) # report option: when set, use reporting service if SNK supports it. # master option: to start streaming after the attempt to switch to master role # AV_FEATURES=0x0C # i-Phono AV_FEATURES=0x67F AV_LINE_SPEED_KBPS=229 AV_LINE_SPEED_BUSY=166 AV_LINE_SPEED_SWAMPD=138 # 3Mbps EDR headsets count as 1, 2Mbps EDR headsets count as 2, non-EDR headsets count as 4. Other ACL links count as 1 each. # If the count is more than AV_LINE_SPEED_COUNT, use AV_LINE_SPEED_BUSY AV_LINE_SPEED_COUNT = 5 #default selected file AV_FIRST_AUDIO_NAME= AV_FIRST_AUDIO_MD= AV_SECOND_AUDIO_NAME= AV_SECOND_AUDIO_MD= # prefered SBC configuration # AV_SAMPLING_FREQ doesn't need to be changed with different files. # Sampling frequency will be retrieved from the music file # Other settings still can be changed to match the musci file # AV_SAMPLING_FREQ: 16K=0x80, 32K=0x40, 44.1K=0x20, 48K=0x10 # AV_CHANNEL_MODE: Mono=0x08, Dual=0x04, Stereo=0x02, Joint Stereo=0x01 # AV_NUM_BLOCKS: 4=0x80, 8=0x40, 12=0x20, 16=0x10 # AV_NUM_SUBBANDS: 4=0x08, 8=0x04 # AV_ALLOCATION_MODE: SNR=0x02, Loudness=0x01 # AV_MAX_BITPOOL: 2 - 250 (53 or 51 for high quality, 33 or 35 for middle quality) AV_SAMPLING_FREQ=0x20 AV_CHANNEL_MODE=0x01 AV_NUM_BLOCKS=0x10 AV_NUM_SUBBANDS=0x04 AV_ALLOCATION_MODE=0x01 AV_MAX_BITPOOL=35 # prefered MP3 configuration # AV_MP3_CHANNEL_MODE: Mono=0x08, Dual=0x04, Stereo=0x02, Joint Stereo=0x01 # AV_MP3_SAMPLING_FREQ: 32K=0x04, 44.1K=0x02, 48K=0x01 # AV_MP3_BITRATE: 0x0001=Bitrate 0, 0x0002=Bitrate 1, 0x0004=Bitrate 2, ..., 0x4000=Bitrate 14 AV_MP3_CHANNEL_MODE=0x01 AV_MP3_SAMPLING_FREQ=0x04 AV_MP3_BITRATE=0x0800 # AV_REPEAT_LIST=1 to repeat the play list at end of play list AV_REPEAT_LIST=1 # AV_RECON_REJ=0, Sink opens AVDTP signaling channel only, when receiving BTA_AV_PENDING_EVT, AV closes existing signaling channel # AV_RECON_REJ=0, Sink opens AVDTP signaling & AVRCP channels, when receiving BTA_AV_PENDING_EVT, AV does nothing and restart pending timer # AV_RECON_REJ=1, when receiving BTA_AV_PENDING_EVT, AV starts establishment of AVDTP streaming channel AV_RECON_REJ=0 AVK_SUPPORTED=0 # AVK_FEATURES: Remote Ctrl Target=0x0001, Remote Controller=0x0002, # Content Protection=0x0004, vendor=0x0008, # Browsing=0x0010, report=0x0020, # Delay reporting=0x0040, metdata=0x0080 AVK_VDP_SUPPORTED=0 AVK_FEATURES=0x00DF AVK_SERVICE_NAME=