88W8977-BT labtool doesn't working with BT function

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

88W8977-BT labtool doesn't working with BT function

跳至解决方案
1,599 次查看
isyu
Contributor III

Hi, 
When I test the WiFi function with Labtool, it is working without problem. 
But, in case of BT function with Labtool, it can't read BT items at all. 

My host platform is x86 PC with Ubuntu 18.04 LTS. 
To make the mfgbridge working correctly, I modified 3 items below;

// modify from (static int ethio_flag = 0) to (static int ethio_flag = 1;) in drv_wrapper.c  file
1) static int ethio_flag = 1;
// modify Makefile (bridge_linux_0.1.0.43/bridge/Makefile)
2) CONFIG_NONPLUG_SUPPORT=n
3) CC=gcc

Please refer to two capture files below with Labtool (one for WiFi without issue and BT with an issue) 

<WiFi without Issue> 

labtool.wifi.ok.png

 

 

 

 

 

 

 

 

 

 

<BT with issue> 

labtool.bt.nok.png

0 项奖励
回复
1 解答
1,576 次查看
isyu
Contributor III

Hi, 

By modifying the below things, finally, the BT Labtool is working correctly. 

1)  "CONFIG_NONPLUG_SUPPORT=y"

2)  modify the get_ioctl_no() in drv_wrapper.c 

Now it is working correctly

88W8977.BT.OK.png

在原帖中查看解决方案

标记 (1)
3 回复数
1,567 次查看
weidong_sun
NXP TechSupport
NXP TechSupport

Hello Isyu,

OK, got it. good job!

Have a good day!

Regards,

weidong

0 项奖励
回复
1,592 次查看
isyu
Contributor III

Below is what I have found so far. 

The "Unknown command type:3" message was induced by "CONFIG_NONPLUG_SUPPORT=n" option in Makefile. 

I modified this option from 'y' to 'n'  to compile the mfgbrige without error.  As a result, this modification seems to make the Labtool can't work with BT function in 88W8977. 

I'll focus to solve the mfgbrige compile error with "CONFIG_NONPLUG_SUPPORT=y".  

Regards/ I.S

标记 (1)
0 项奖励
回复
1,577 次查看
isyu
Contributor III

Hi, 

By modifying the below things, finally, the BT Labtool is working correctly. 

1)  "CONFIG_NONPLUG_SUPPORT=y"

2)  modify the get_ioctl_no() in drv_wrapper.c 

Now it is working correctly

88W8977.BT.OK.png

标记 (1)