I have CY4354 cypress WIFI/BT combo chip where wifi is connected over SDIO and bluetooth is connected on UART. Right now I am validating BT interface.
The mac address of the device is coming in hciconfig. But the class parameter is coming as 0x0000 due to which pairing is happening but connection is not established and within 2 seconds the pairing is also getting terminated (using bluetoothctl)
root@localhost:/home/ubuntu# hciconfig -a
hci0: Type: Primary Bus: UART
BD Address: 43:50:C0:00:1F:AC ACL MTU: 1021:8 SCO MTU: 64:1
UP RUNNING PSCAN
RX bytes:2068807 acl:1433 sco:0 events:26851 errors:0
TX bytes:6238 acl:77 sco:0 commands:280 errors:0
Features: 0xbf 0xfe 0xcf 0xfe 0xdb 0xff 0x7b 0x87
Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
Link policy: RSWITCH SNIFF
Link mode: SLAVE ACCEPT
Name: ‘BlueZ 5.48’
Service Classes: Rendering, Capturing
Device Class: Miscellaneous,
HCI Version: (0xa) Revision: 0x158e
LMP Version: (0xa) Subversion: 0x610c
Manufacturer: Cypress Semiconductor Corporation (305)
So i tried below changes and after that class parameter is coming as 0x0c0000
a.) Install pulseaudio-module-bluetooth using sudo apt-get install pulseaudio-module-bluetooth b.) Edit this file: /lib/systemd/system/bluetooth.service.d/nv-bluetooth-service.conf remove --noplugin=audio,a2dp,avrcp from this line ExecStart=/usr/lib/bluetooth/bluetoothd -d --noplugin=audio,a2dp,avrcp c.) Enter above comamnd to start pulseaudio /usr/bin/pulseaudio --start d.) Now Check Bluetooth class address using sudo hciconfig -a
now connection is also getting established with android devices. But file transferring is not happening
have also observed that in the android phone scanning, the cypress bluetooth is coming as music device, due to which I am not able to transfer files.
Please suggest how can I initiate file transfer with the CY4354 bluetooth.