Commit Graph

3 Commits

Author SHA1 Message Date
Wyatt Hepler
3be713d52f pw_bytes: Replace std::endian with pw::endian
- Replace uses of std::endian with pw::endian and switch <bit> includes
  to "pw_bytes/bit.h".
- Remove the <bit> polyfill header and targets.
- Remove the pw_polyfill endian test and create a new pw::endian test in
  pw_bytes.

Bug: b/235237667
Change-Id: Ie98ce44605a976e7624409202d90eee9826d2ee7
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/97571
Reviewed-by: Ted Pudlik <tpudlik@google.com>
Commit-Queue: Wyatt Hepler <hepler@google.com>
Pigweed-Auto-Submit: Wyatt Hepler <hepler@google.com>
2022-06-13 18:43:05 +00:00
Ewout van Bekkum
56bf1682e3 tests: Migrate to pw::containers::Equal instead of std::equal
Migrates existing tests and test helpers to use our port of
absl::c_equal instead of std::equal as it also compares container
size in addition to content.

Change-Id: Ieabee07a5cb5418e723ad5167c5fff0f07ca87d0
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/94863
Reviewed-by: Wyatt Hepler <hepler@google.com>
Commit-Queue: Auto-Submit <auto-submit@pigweed.google.com.iam.gserviceaccount.com>
Pigweed-Auto-Submit: Ewout van Bekkum <ewout@google.com>
2022-05-17 22:02:19 +00:00
Ewout van Bekkum
1c7c83f424 pw_bluetooth_hci: Adds basic HCI UART Transport Layer parser
Adds a basic Bluetooth 5.3 HCI Uart Transport Layer decoder that
invokes a callback for each HCI packet as supported by the HCI
UART Transport Layer.

Change-Id: Ie1172c2485b0f38fc0137852e9306f96ea004b4b
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/56222
Pigweed-Auto-Submit: Ewout van Bekkum <ewout@google.com>
Commit-Queue: Auto-Submit <auto-submit@pigweed.google.com.iam.gserviceaccount.com>
Reviewed-by: Wyatt Hepler <hepler@google.com>
Reviewed-by: Keir Mierle <keir@google.com>
2021-08-26 17:45:55 +00:00