Skip to content

Commit

Permalink
pw_bluetooth: Add ReadLocalVersionInfoCommandCompleteEvent Emboss def
Browse files Browse the repository at this point in the history
Test: pw presubmit --step gn_emboss_nanopb_build
Change-Id: I36f8084929ea5346e06b8d0c5d8a7db00c774041
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/169951
Commit-Queue: Ben Lawson <[email protected]>
Reviewed-by: Ali Saeed <[email protected]>
  • Loading branch information
BenjaminLawson authored and CQ Bot Account committed Sep 11, 2023
1 parent c8044b9 commit c3e6813
Showing 1 changed file with 29 additions and 1 deletion.
30 changes: 29 additions & 1 deletion pw_bluetooth/public/pw_bluetooth/hci_events.emb
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ struct InquiryResultEvent:

struct SimpleCommandCompleteEvent:
-- A Command Complete event where a StatusCode is the only return parameter.
-- Also useful for generically getting to status of a larger command complete
-- Also useful for generically getting the status of a larger command complete
-- event.
let hdr_size = hci.CommandCompleteEvent.$size_in_bytes
0 [+hdr_size] hci.CommandCompleteEvent command_complete
Expand Down Expand Up @@ -796,3 +796,31 @@ struct LELongTermKeyRequestSubevent:

$next [+8] UInt random_number
$next [+2] UInt encrypted_diversifier


struct ReadLocalVersionInfoCommandCompleteEvent:
let hdr_size = hci.CommandCompleteEvent.$size_in_bytes

0 [+hdr_size] hci.CommandCompleteEvent command_complete

$next [+1] hci.StatusCode status

$next [+1] CoreSpecificationVersion hci_version
-- Version of the HCI Specification supported by the Controller. See
-- Assigned Numbers

$next [+2] UInt hci_subversion
-- Revision of the HCI implementation in the Controller. This value is
-- vendor-specific.

$next [+1] UInt lmp_version
-- Version of the Current LMP supported by the Controller. See Assigned
-- Numbers

$next [+2] UInt company_identifier
-- Company identifier for the manufacturer of the Controller. See Assigned
-- Numbers

$next [+2] UInt lmp_subversion
-- Subversion of the Current LMP in the Controller. This value is
-- vendor-specific.

0 comments on commit c3e6813

Please sign in to comment.