I have a problem with establishment A2DP sink Bluetooth connection. I have Allwinner A13 development board and Realtek RTL8723AU Wifi-bluetooth module with installed Linux kernel 3.4.103, bluez 5.28, PulseAudio 5.0. The smartphone is paired with development board and in general everything is all right with the connection on A2DP. But sometimes after disconnection it is hard to reconnect again. Have a look at the process of communication with the use of hcidump:
Code:
> HCI Event: Command Complete (0x0e) plen 10
Link Key Request Reply (0x01|0x000b) ncmd 2
status 0x00 bdaddr 04:5A:95:E9:ED:1F
> ACL data: handle 7 flags 0x02 dlen 12
L2CAP(s): Connect req: psm 25 scid 0x0041
> HCI Event: Encrypt Change (0x08) plen 4
status 0x00 handle 7 encrypt 0x01
< ACL data: handle 7 flags 0x00 dlen 16
L2CAP(s): Connect rsp: dcid 0x0000 scid 0x0041 result 3 status 0
Connection refused - security block
> HCI Event: Number of Completed Packets (0x13) plen 5
handle 7 packets 1
> ACL data: handle 7 flags 0x02 dlen 12
L2CAP(s): Disconn req: dcid 0x0040 scid 0x0040
< ACL data: handle 7 flags 0x00 dlen 12
L2CAP(s): Disconn rsp: dcid 0x0040 scid 0x0040
> HCI Event: Number of Completed Packets (0x13) plen 5
handle 7 packets 1
> HCI Event: Disconn Complete (0x05) plen 4
status 0x00 handle 7 reason 0x13
Reason: Remote User Terminated Connection
> HCI Event: Number of Completed Packets (0x13) plen 5
handle 7 packets 0
So, there is no connection establishment because of
Connection refused - security block. Have somebody ever come across such a problem and can recommend me how to solve it? Thank you beforehand for your help.