Set Transmit Power Level over HCI in PSoC 6 MCU BLE – KBA226871
- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
Author: GeonaP_26 Version: **
Translation - Japanese: PSoC 6 MCU BLEでHCIから送信電力レベルを設定する- KBA226871 - Community Translated (JA)
Question:
How do you set BLE transmit power level over Host Controller Interface (HCI) mode in PSoC® 6 MCU BLE?
Answer:
You can send the vendor HCI command HCI_VENDOR_SET_TX_PWR, used to set TX power, over HCI interface with appropriate parameters to configure TX power level. Since this is a vendor command, it is not related to the BT power control procedure.
Command | Opcode | Param Length | Params | Recommended Param Values | ||||||||||||||||
HCI_VENDOR_SET_TX_PWR | 0xFDA5u
| 4 Octets | Channel ID, Power Level, Connection Handle LSB, Connection Handle MSB |
|
- The channel ID refers to the channel group ID. It is 0x00 for ADV channel and 0x01 for connection channels.
- Connection handle is applicable if the channel ID is connection channel type. For advertisement and Direct Test Mode (DTM), connection handle is ignored.