cancel
Showing results for 
Search instead for 
Did you mean: 

Wi-Fi Bluetooth for Linux

MIGO_1576536
New Contributor II

Dear

I am using CYW4343W (Murata LBEE5KL1DX) in our IMX6 Android8 platform.

For FCC Certification we must be able to generate a Carrier into specific Channel or an Continuous Transmission.

Using WL commands we are be able to do all neccessary setting for WIFI.

For Bluetooth we are in trouble, we can not find a way to send HCI Command directly to chipset.

Which method recommend us?

Thanks

M.

0 Likes
18 Replies
ShawnA_01
Employee

'hcitool' is the mechanism - https://linux.die.net/man/1/hcitool

There's a similar thread over here - Re: Need WL and HCI commands for RF testing

0 Likes
MIGO_1576536
New Contributor II

I understand but I do not have an Linux OS with HCI tool, our module is placed into an Android 8 Platform with Bluedroid Stack.

0 Likes
ShawnA_01
Employee

My mistake!  Contact Murata; have them contact their Cypress support person to track down a tool called 'hcitnl'. We do not release its source to the public.  Since it's an internal tool, there's a possibility we won't release the source to our VAR Partners (yet) either.  At a minimum, we could probably compile the executable for you if our team can find this platform/toolchain but that's not scalable for us.  None the less, it will stimulate the larger conversation that's needed for this type of request.

0 Likes
MIGO_1576536
New Contributor II

Thanks for giving me 'hcitnl'  tool name.

I will try to ask Murata, but their technical support for CYW4343W (LBEE5KL1DX) is little poor.

We have worked hard to implement the drivers on Android8, and I think it will the same to implemnt BT Regulatory Test.

But I do not lose hope !

M.

0 Likes
Zhengbao_Zhang
Moderator
Moderator

need your help to test if the attached can run well in imx6 android platform.

0 Likes
MIGO_1576536
New Contributor II

Thanks for mbt file.

I think is an HCI tunnel app,  but did you have any guide or script for test it?.

Many thanks

M.

0 Likes
Zhengbao_Zhang
Moderator
Moderator

just run the file in the environment , it will show the help comments.

0 Likes
MIGO_1576536
New Contributor II

I tried "mbt" but do not run into Android8 IMX6 Platform.

0 Likes
Zhengbao_Zhang
Moderator
Moderator

where did you copy the tool ?   I think it should run as "./mbt "

0 Likes
MIGO_1576536
New Contributor II

For convenience into:

/data/local/temp

i have rw permission and i tried to run as "./mbt"

return message is:

"No such file or directory"

M.

0 Likes
Zhengbao_Zhang
Moderator
Moderator

Do you have a engineer version for the test ?

We tested comb chip like 43438 by running below sequence:

1.   to disable bluetooth in setting menu.

2.   echo 0 > /sys/class/rfkill/rfkill0/state

      echo 1 > /sys/class/rfkill/rfkill0/state

The command will pull up BT_REG_ON gpio.

3.  run mbt to have a reset .

./mbt reset /dev/ttyUSBx    // this is the uart interface used in your system.

if you can get a good reply , you can go on the bluetooth test.

0 Likes
MIGO_1576536
New Contributor II

Yes we have an engineer version to test.

After all procedure "command ./mbt reset /dev/ttyUSBx"

return message the same message "No such file or directory"

Is there a particular directory where "mbt" file is located?.

M.

Zhengbao_Zhang
Moderator
Moderator

maybe toolchain is not compatible for your debugging,  is it possible we can get your toolchain?

0 Likes
MIGO_1576536
New Contributor II

I think we need to have the 'hcitnl' Tools who spoke ShawnA_01.

I do not understand why it can not be relesed, if it is needed to perform EMC test in our product.

Regarding your "mbt" file you have any application note to send me?

Many thanks

M.

0 Likes
Zhengbao_Zhang
Moderator
Moderator

mbt application notes is in the attached.

Zhengbao_Zhang
Moderator
Moderator

hello:

what is the status of the test now ?

0 Likes
MIGO_1576536
New Contributor II

Without "hcitnl" tools BT certification cannot be performed, we need it to be able to control it.

For now we have not found alternative solutions.

M.

0 Likes
Zhengbao_Zhang
Moderator
Moderator

I am very sure mbt tool can send hci raw data into uart control interface,  I can run it in my imx6 linux platform.

Android platform may have some secure limitation for the new file add, so can you help to check that again ?

0 Likes