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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

Jump to solution
1,192 Views
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 Kudos
1 Solution
1,169 Views
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

View solution in original post

Tags (1)
3 Replies
1,160 Views
weidong_sun
NXP TechSupport
NXP TechSupport

Hello Isyu,

OK, got it. good job!

Have a good day!

Regards,

weidong

0 Kudos
1,185 Views
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

Tags (1)
0 Kudos
1,170 Views
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

Tags (1)