Tool/software: Linux
Tool/software:
imx6D
kernel linux 3.10.53 /4.1.1
BlutopiaPM 4.0.3.0.1.0
Hi,
On my custom board, there is the wl1837 chip. First, I check the wifi. There is no problem with the wifi.
Secondly, I want to check the bluetooth fonction. I stop the wifi, I start the sample LinuxGATM_SRV
I follow your instructions
http://processors.wiki.ti.com/index.php/WL18xx_TI_Bluetooth_Stack_GATM_Demo_App
It’s works again, great !
Even if i start the wifi after LinuxGATM_SRV, it ‘s always OK
But if wifi is started before LinuxGATM_SRV, the sample doesn’t work :
command console: 1 1 :
BTPM_Initialize() Success: 0. DEVM_RegisterEventCallback() Success: 5. GATM>10 1
command console: 10 1
DEVM_PowerOnDevice() Failure: -14, Unknown Error. Function Error.
Though, if I use hcitool, it is OK :
lsub Bus 001 Device 003: ID 0424:ec00 Bus 001 Device 002: ID 0424:9514 Bus 001 Device 001: ID 1d6b:0002 hciconfig -a hci0: Type: BR/EDR Bus: UART BD Address: 5C:31:3E:DC:8A:A4 ACL MTU: 1021:6 SCO MTU: 180:4 UP RUNNING RX bytes:547 acl:0 sco:0 events:27 errors:0 TX bytes:411 acl:0 sco:0 commands:27 errors:0 Features: 0xff 0xfe 0x2d 0xfe 0xdb 0xff 0x7b 0x87 Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 Link policy: RSWITCH HOLD SNIFF Link mode: SLAVE ACCEPT Name: '' Class: 0x001f00 Service Classes: Unspecified Device Class: Invalid Device Class! HCI Version: 4.1 (0x7) Revision: 0x0 LMP Version: 4.1 (0x7) Subversion: 0xac03 Manufacturer: Texas Instruments Inc. (13) hcitool dev hci0 5C:31:3E:DC:XX:XX hcitool Scanning ... 7C:2F:80:A9:XX:XX SL610H PRO 00:23:12:38:XX:XX mac-design02 5C:E0:C5:AB:XX:XX Laptop
You can see, my hci configuration :
kim { compatible = "kim"; shutdown_gpio = <174>; // BT_EN GPIO for this board - Bank6, pin14 dev_name = "/dev/ttymxc2"; // UART3 flow_cntrl = <0>; // RTS/CTS : not enabled since RTS/CTS are swapped !! baud_rate = <115200>; // Max bitrate with flow_cntrl=0, 3000000 for flow_cntrl=1 };
Please help what we are doing wrong.
Best Regards
Thomas Rauturau