hcidump -w /tmp/btsnoop.cfa &记录hci log日志
rtl8723
bluealsa-aplay --profile-sco 00:00:00:00:00:00
这条命令不能输入,不然录音
# arecord -D bluealsa:HCI=hci0,DEV=CC:98:8B:E2:98:B0,PROFILE=sco -d 10 /11as.wa
v
../shared/ctl-client.c:105: Connecting to socket: /var/run/bluealsa/hci0
../shared/ctl-client.c:219: Getting transport for CC:98:8B:E2:98:B0 type 2
bluealsa-pcm.c:534: Setting constraints
Recording WAVE '/11as.wav' : Unsigned 8 bit, Rate 8000 Hz, Mono
bluealsa-pcm.c:282: Initializing HW
../shared/ctl-client.c:375: Requesting PCM open for CC:98:8B:E2:98:B0
bluealsa-pcm.c:287: Couldn't open PCM FIFO: Device or resource busy
arecord: set_params:1361: Unable to install hw params:
ACCESS: RW_INTERLEAVED
FORMAT: U8
SUBFORMAT: STD
SAMPLE_BITS: 8
FRAME_BITS: 8
CHANNELS: 1
RATE: 8000
PERIOD_TIME: 125000
PERIOD_SIZE: 1000
PE