Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 42c7da93 authored by Simon Chan's avatar Simon Chan
Browse files

chore: fix typos

parent f125e829
Loading
Loading
Loading
Loading
+7 −30
Original line number Diff line number Diff line
{
    "cSpell.words": [
        "ADB's",
        "addrs",
        "adbd",
        "allowlist",
        "arraybuffer",
        "autorun",
        "Backends",
        "brotli",
        "Callout",
        "carriernetworkchange",
        "CLASSPATH",
        "Cascadia",
        "CLSE",
        "CNXN",
        "cybojenix",
        "Deserialization",
        "endregion",
        "Embedder",
        "fluentui",
        "genymobile",
        "Genymobile's",
        "getprop",
        "GPRS",
        "hardcode",
        "hardcodes",
        "hhmm",
        "hisi",
        "HSPA",
        "jmuxer",
        "keyof",
        "killforward",
        "laggy",
        "lapo",
        "libusb",
        "localabstract",
        "lstat",
        "luma",
        "mitm",
        "Muxer",
        "nosim",
        "Nalu",
        "opendir",
        "PKCS",
        "pluggable",
        "powersave",
        "reimplement",
        "reimplemented",
        "Remux",
        "Remuxer",
        "RSASSA",
        "runtimes",
        "Scrcpy",
        "scrollback",
        "sendrecv",
        "sideload",
        "streamsaver",
        "struct",
        "struct's",
        "systemui",
        "sysui",
        "tcpip",
        "tinyh",
        "transferables",
        "tsbuildinfo",
        "typeof",
        "uifabric",
        "webadb",
        "webcodecs",
        "webpackbar",
        "websockify",
        "webusb",
        "wifi",
+7 −2
Original line number Diff line number Diff line
@@ -2,7 +2,12 @@
sidebar_position: 1
---

# Achitecture
<!--
cspell: ignore libusb
cspell: ignore nodaemon
-->

# Architecture

This part describes the architecture of native ADB and Web ADB, and why there are designed in this way.

@@ -110,7 +115,7 @@ Web ADB reuses native ADB daemons, but there is no **client**/**server**: One ap

### Core

**Core** is the `@yume-chan/adb` package. It generates data in ADB protocol, without "host prefix" (not needed because packets are directly sent to **daemons** via **backends**).
**Core** is the `@yume-chan/adb` package. It generates data in ADB protocol, without "host prefix" (not needed because packets are directly sent to **daemons** via a **backend**).

### Backend

+8 −1
Original line number Diff line number Diff line
@@ -2,6 +2,13 @@
sidebar_position: 3
---

<!--
cspell: ignore bootloader
cspell: ignore enduml
cspell: ignore mkdir
cspell: ignore startuml
-->

# Connection

In native ADB architecture, once ADB **server** detects a new device, it initiates a connection by sending a `CNXN` [packet](./packet.md).
@@ -48,7 +55,7 @@ Device banners describe device information and capabilities. It has the followin
*DeviceBanner* **:**<br/>
  *DeviceIdentifier* **::** *ParameterList* **\0**

*DeviceIdentifer* **:**<br/>
*DeviceIdentifier* **:**<br/>
  **host**<br/>
  **device**<br/>
  **bootloader**
+3 −0
Original line number Diff line number Diff line
@@ -32,8 +32,11 @@ const MobileDataTypeOptions =
                '5ge': '5GE',
                '5g+': '5G+',
                'e': 'EDGE',
                // cspell: disable-next-line
                'g': 'GPRS',
                // cspell: disable-next-line
                'h': 'HSPA',
                // cspell: disable-next-line
                'h+': 'HSPA+',
                'lte': 'LTE',
                'lte+': 'LTE+',
+1 −0
Original line number Diff line number Diff line
// cspell: ignore scrollback

import { AdbShell, encodeUtf8 } from "@yume-chan/adb";
import { AutoDisposable } from "@yume-chan/event";
Loading