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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

ソリューションへジャンプ
1,202件の閲覧回数
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,179件の閲覧回数
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,170件の閲覧回数
weidong_sun
NXP TechSupport
NXP TechSupport

Hello Isyu,

OK, got it. good job!

Have a good day!

Regards,

weidong

0 件の賞賛
1,195件の閲覧回数
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,180件の閲覧回数
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)