Skip to content

Commit

Permalink
pw_bluetooth: Add HCI Command OpCode definitions
Browse files Browse the repository at this point in the history
Add the following HCI command definitions to the OpCode enum:
  - LE_READ_LOCAL_SUPPORTED_FEATURES
  - LE_SET_ADVERTISING_PARAMETERS
  - LE_READ_ADVERTISING_CHANNEL_TX_POWER

Test: pw presubmit --step gn_chre_googletest_nanopb_sapphire_build
Change-Id: Id9be7149785d562f71cf51badf02f8ce09ccfb43
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/228672
Reviewed-by: Faraaz Sareshwala <[email protected]>
Lint: Lint 🤖 <[email protected]>
Commit-Queue: Josh Conner <[email protected]>
  • Loading branch information
josh-conner authored and CQ Bot Account committed Aug 12, 2024
1 parent 9686a7d commit 8bb7ae6
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions pw_bluetooth/public/pw_bluetooth/hci_common.emb
Original file line number Diff line number Diff line change
Expand Up @@ -305,9 +305,18 @@ enum OpCode:
LE_READ_BUFFER_SIZE_V1 = 0x2002
-- LE Read Buffer Size [v1] Command (v4.0) (LE)

LE_READ_LOCAL_SUPPORTED_FEATURES = 0x2003
-- LE Read Local Supported Features Command (v4.0) (LE)

LE_SET_RANDOM_ADDRESS = 0x2005
-- LE Set Random Address Command (v4.0) (LE)

LE_SET_ADVERTISING_PARAMETERS = 0x2006
-- LE Set Advertising Parameters Command (v4.0) (LE)

LE_READ_ADVERTISING_CHANNEL_TX_POWER = 0x2007
-- LE Read Advertising Physical Channel Tx Power Command (v4.0) (LE)

LE_SET_ADVERTISING_DATA = 0x2008
-- LE Set Advertising Data Command (v4.0) (LE)

Expand Down

0 comments on commit 8bb7ae6

Please sign in to comment.