Commit Graph

4 Commits

Author SHA1 Message Date
Wyatt Hepler
0a2c6ba660 pw_status: Consolidate Status docs
- Move the status description from C++ to the docs so there is a single
  description of the status codes that applies to all languages. This
  also allows anywhere in the docs / Doxygen comments to link to the
  status codes.
- Document using status codes in all supported languages.
- Link to the status descriptions in Pigweed's docs from C++, Python,
  and TypeScript.
- Introduce Doxygen alias so status codes can be referenced with
  @pw_status{CODE} in Doxygen comments.

Change-Id: I7a59bc90da9cec09a08376952cf8472e02c67f03
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/136732
Pigweed-Auto-Submit: Wyatt Hepler <hepler@google.com>
Commit-Queue: Auto-Submit <auto-submit@pigweed.google.com.iam.gserviceaccount.com>
Reviewed-by: Kayce Basques <kayce@google.com>
2023-04-08 01:08:58 +00:00
Jared Weinstein
014258ba61 pw_web_ui: Lint typescript files
The result of running `yarn run gts fix`

No-Docs-Update-Reason: Linting
Change-Id: If8776027c461c128918677cbda0b8f003b9c1e76
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/66569
Reviewed-by: Paul Mathieu <paulmathieu@google.com>
Commit-Queue: Jared Weinstein <jaredweinstein@google.com>
Pigweed-Auto-Submit: Jared Weinstein <jaredweinstein@google.com>
2021-10-27 19:09:59 +00:00
Jared Weinstein
d464911581 pw_rpc: packets.ts
Add helper functions for encoding/decoding pw_rpc packets in typescript.

Change-Id: I0e1d4bc7022cc3d961b22e2d4d460488f1d352fa
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/57845
Pigweed-Auto-Submit: Jared Weinstein <jaredweinstein@google.com>
Commit-Queue: Auto-Submit <auto-submit@pigweed.google.com.iam.gserviceaccount.com>
Reviewed-by: Wyatt Hepler <hepler@google.com>
Reviewed-by: Alexei Frolov <frolv@google.com>
2021-08-30 20:21:22 +00:00
Jared Weinstein
ef588a3530 pw_status: add typescript enumeration
Change-Id: Ie1eadb087bcfef6b2e44c63d9f274d071f237bdd
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/57325
Commit-Queue: Auto-Submit <auto-submit@pigweed.google.com.iam.gserviceaccount.com>
Pigweed-Auto-Submit: Jared Weinstein <jaredweinstein@google.com>
Reviewed-by: Wyatt Hepler <hepler@google.com>
2021-08-19 00:52:25 +00:00