cancel
Showing results for 
Search instead for 
Did you mean: 

Wi-Fi Combo

maku_2263101
New Contributor II

Hi,

Can you please provide the command to set BLE TX Power on CYW43455 module?

When we ran below command for reading the LE_Read_Advertising_Channel_Tx_Power we are observing 12dbm.

hcitool -i hci0 cmd 0x08 0x0007

< HCI Command: ogf 0x08, ocf 0x0007, plen 0

> HCI Event: 0x0e plen 5

  01 07 20 00 0C

btmon output:

< HCI Command: LE Read Advertising... (0x08|0x0007) plen 0       #1 [hci0] 32.775675

> HCI Event: Command Complete (0x0e) plen 5                              #2 [hci0] 32.776624

      LE Read Advertising Channel TX Power (0x08|0x0007) ncmd 1

        Status: Success (0x00)

        TX power: 12 dbm (0x0c)

Can we decrease the Tx Power while advertising the Data ?

CYW4343W HCI Vendor Specific Command to set BLE TX Power

In above link SheetalJ_96​​ mentioned below information:

"The output power level for BLE is fixed; It is set to 4dBm for adv packets."

But we are observing 12 dbm. Is there any way to decrease the TX Power ?

GauravS_31SheetalJ_96DheerajP_41VictorZ_46VinayakS_26

0 Likes
1 Solution
DheerajPK_41
Moderator
Moderator

Hi,

Sorry for the delayed response.

To modify the Tx Power of this chip, you will have to open a Salesforce case (Login | Salesforce​ ), and need to attach a request document (CRRQ) with all the Tx power requirements filled. Our Engineers will tune the power based on the document in the FW files and release it to you.

Thanks,

-Dheeraj

View solution in original post

4 Replies
DheerajPK_41
Moderator
Moderator

HI,

Could you please try Set_Transmit_Power command (OCF=0x026, OGF=0x3F) command.

Please check the tread. CYBT-423028-02 BT module (CYW20719 radio): How can transmit power be controlled?

I believe the Tx power table start from 12 dbm.

Thanks,

-Dheeraj

maku_2263101
New Contributor II

Hello DheerajP_41​,

Thank you for your response.

Note: We are trying to Configure Tx Power of BLE in Advertising mode.

Steps Followed:

1.  hciattach /dev/ttyS1 bcm43xx 3000000 flow -t 20

2. sleep 3

3. hciconfig hci0 up

4. Sleep 5

5. At this step trying to Set TX Power

We have tried the "Set_Transmit_Power command" but getting error as below.

Connection Handle used as 0xfe

hcitool -i hci0 cmd 0x3f 0x026 0xfe 08

< HCI Command: ogf 0x3f, ocf 0x0026, plen 2

  FE 08

> HCI Event: 0x0e plen 4

  01 26 FC 12

btmon output:

< HCI Command: Vendor (0x3f|0x0026) plen 2                   #1 [hci0] 2.976667

        fe 08                                            ..

> HCI Event: Command Complete (0x0e) plen 4                  #2 [hci0] 2.978336

      Vendor (0x3f|0x0026) ncmd 1

        Status: Invalid HCI Command Parameters (0x12)

Also Tried another command to set Tx Power from below link but still not successful.

BLE tx output power control in HCI mode

Commands Used:

1. Connection Handle used as 0xfe

hcitool -i hci0 cmd 0x3f 0x1a5 0x00 04 0xfe

< HCI Command: ogf 0x3f, ocf 0x01a5, plen 3

  00 04 FE

> HCI Event: 0x0e plen 4

  01 A5 FD 01

btmon output:

< HCI Command: Vendor (0x3f|0x01a5) plen 3                 #3 [hci0] 553.309604

        00 04 fe                                         ...

> HCI Event: Command Complete (0x0e) plen 4                #4 [hci0] 553.310783

      Vendor (0x3f|0x01a5) ncmd 1

        Status: Unknown HCI Command (0x01)

2. Connection Handle used as 0x00

hcitool -i hci0 cmd 0x3f 0x1a5 0x00 04 0x00

< HCI Command: ogf 0x3f, ocf 0x01a5, plen 3

  00 04 00

> HCI Event: 0x0e plen 4

  01 A5 FD 01

btmon output:

< HCI Command: Vendor (0x3f|0x01a5) plen 3                #5 [hci0] 1230.167687

        00 04 00                                         ...

> HCI Event: Command Complete (0x0e) plen 4               #6 [hci0] 1230.168858

      Vendor (0x3f|0x01a5) ncmd 1

        Status: Unknown HCI Command (0x01)

Please help us to get commands for controlling BLE TX Power on CYW43455 module.

0 Likes
maku_2263101
New Contributor II

Hello DheerajP_41 ,

Any update please ?

0 Likes
DheerajPK_41
Moderator
Moderator

Hi,

Sorry for the delayed response.

To modify the Tx Power of this chip, you will have to open a Salesforce case (Login | Salesforce​ ), and need to attach a request document (CRRQ) with all the Tx power requirements filled. Our Engineers will tune the power based on the document in the FW files and release it to you.

Thanks,

-Dheeraj

View solution in original post