| ►Kernel | Threads, synchronization, interrupts and scheduling (pbl/kernel) |
| Assertions | Checks that raise a fatal error when an expression is false |
| Memory barriers | Ordering of memory and device accesses as other bus masters see them |
| Cache maintenance | Coherency of the CPU caches with memory other bus masters or the instruction fetch see |
| Compiler abstraction | Attributes and builtins, independent of the compiler |
| Introspection | Thread introspection for core dumps, fault handling, the task watchdog and telemetry |
| Delays | Waiting for a minimum amount of time, sleeping or spinning |
| Fatal errors | Stop the system on an unrecoverable error |
| Heaps | First-fit heaps over caller-provided memory regions |
| Idle states | Low-power states the CPU idles in, provided by the SoC |
| Boot | SoC hook in the kernel's reset path |
| Interrupts | Interrupt locking and build-time interrupt binding |
| Kernel heap | Allocations from the kernel heap |
| MMIO | Memory-mapped I/O register access |
| Memory protection | Memory protection regions |
| Message queues | Fixed-size message rings that copy messages in and out |
| Mutexes | Recursive mutexes with priority inheritance |
| Poll groups | Waiting on several message queues at once |
| Print | Plain text for the system's own messages, such as the boot banner |
| Reboot and power-off | Restart or power off the system, with handlers to shut down in order |
| Scheduler | Scheduler start and preemption control |
| Scratch heap | Kernel heap for short-lived data |
| Code and data placement | Placement of code and data in special sections |
| Semaphores | Counting semaphores; a binary semaphore has limit 1 |
| Syscalls | Calls from unprivileged threads into privileged code |
| Threads | Thread creation, lifecycle and per-thread state |
| Uptime, wall clock and cycles | Monotonic time since the scheduler started, the wall clock, and the CPU cycle counter |
| Timers | One-shot software timers expiring in the tick interrupt |
| Time and priorities | Ticks, timeouts and thread priorities shared by every kernel object |
| Work queues | Run functions on a kernel thread, deferred from interrupts or other threads |
| ►MCU | CPU core helpers: interrupts, cache and FPU (pbl/mcu) |
| FPU | Floating-point unit helpers |
| Execution state | Exception and interrupt-mask state of the CPU |
| ►SoC | SoC-specific interfaces (pbl/soc) |
| ►nRF | Nordic nRF52 SoC interfaces |
| PPI | NRF52 programmable peripheral interconnect channels |
| SF32LB | SiFli SF32LB SoC interfaces |
| ►Drivers | Hardware driver interfaces (pbl/drivers) |
| Device model | Common core of every hardware device: controllers, buses and the peripherals on them |
| ►Accelerometer | Accelerometer class |
| Simulator | Simulated accelerometer, replaying the samples and events it is fed |
| ADC | Analog-to-digital converters, read one channel at a time |
| ►Ambient light sensor | Ambient light sensor (ALS) class |
| OPT3001 | TI OPT3001 Ambient light sensor driver |
| Simulator | Simulated ambient light sensor, reading what pbl_als_sim_set() sets, complete darkness by default |
| W1160 | Sensortek W1160 Ambient light sensor driver |
| ►Audio | Audio stream class |
| GPIO amplifier | Amplifier switched by an enable GPIO, with an optional supply |
| DA7212 codec | Audio codec: Dialog DA7212, playing to its line output |
| Digital microphone | Digital microphones on a PDM interface, as a codec without a gain: powered from their reference supply while recording, the gain left to the interface |
| nRF5 audio | Audio devices of the nRF52: the PDM and I2S interfaces |
| Emulated audio | Audio devices of the emulators |
| SF32LB52 audio | Audio DAIs of the SF32LB52: the audio codec DAC and the PDM interface |
| Simulator | Simulated microphone, recording the audio written to it |
| ►Backlight | Backlight class |
| AW9364E | Awinic AW9364E LED driver Backlight driver |
| LED backlight | Backlight on an LED, its color mixed by multicolor LEDs |
| POSIX | Backlight of a native build, which does nothing |
| PWM backlight | Backlight driver driving the LED with a PWM output |
| QEMU | QEMU backlight, driving the brightness (or RGB, with CONFIG_BACKLIGHT_QEMU_COLOR) registers of the QEMU display |
| Battery | The battery cell, as the hardware description gives it |
| ►Charger | Battery charger class |
| Simulator | Simulated charger, with a full battery and no external power until pbl_charger_sim_set() changes it |
| ►Clock | Clock controller class |
| Calibrated clocks | Track the rate of an imprecise oscillator by measuring it against a reference |
| Fixed-rate clocks | Clock controller of one clock that always runs at the same rate, as a crystal |
| nRF52 | Clock controller of the nRF52 clock control block |
| SF32LB RCC clocks | Clock controllers of the SF32LB52: the HPSYS RCC, the PMUC oscillators and the RTC clock |
| SF32LB52 crystal trim | Load capacitance trim of the 48 MHz crystal, from the SoC factory configuration in the flash OTP area |
| ►CRC | Hardware CRC acceleration used by CRC |
| SiFli SF32LB CRC unit | CRC unit of the SF32LB52, behind the hardware CRC functions |
| ►Crypto | Hardware hash and cipher acceleration used by Cryptography |
| SiFli SF32LB AES and hash accelerator | AES and hash units of the SF32LB52 crypto engine, behind the pbl_crypto_hw_*() functions |
| ►Display | Display class |
| QEMU display | Display driver for the QEMU framebuffer display peripheral |
| SDL display | Display driver showing the framebuffer in an SDL window on the host |
| SF32LB57 LCD controller | Display driver for the SF32LB57 LCD controller, sending frames to a panel with frame memory over quad SPI |
| SF32LB LCD controller | Display driver for the SF32LB LCD controller scanning out to a panel |
| Sharp LS013B7DH01 | Display driver for the Sharp LS013B7DH01 memory LCD, an SPI device |
| ►DMA | DMA controller class |
| SF32LB52 DMAC | DMA controller of the SF32LB52 HPSYS (DMAC1), and of the SF32LB57 HPSYS (GPDMA1) used as one |
| ►Flash | NOR flash class |
| NOR flash parts | Description of the SPI NOR parts boards are fitted with |
| Flash partitions | Access to areas of the board's flash |
| POSIX | Flash driver for a native build: the flash is a file mapped into memory |
| QEMU | Flash driver for the QEMU external flash, read through its memory window |
| SPI NOR | Flash driver for a JEDEC NOR part on a SPI memory controller |
| ►GPIO | GPIO controller class |
| nPM1300 GPIO | GPIO port over the five GPIOs of the nPM1300, a cell of nPM1300 |
| nRF5 GPIO | GPIO ports of the nRF5 SoCs |
| QEMU GPIO | GPIO port of the QEMU GPIO peripheral |
| SF32LB GPIO | GPIO ports of the SF32LB SoCs |
| ►GPU | 2D graphics accelerator class |
| SF32LB57 ePIC | GPU driver for the ePIC graphics accelerator of the SF32LB57 |
| ►Heart rate monitor | Heart rate monitor (HRM) driver interface |
| GH3x2x | Heart rate monitor implementation for the Goodix GH3x2x sensors |
| QEMU HRM | Heart rate monitor implementation for QEMU, which emulates no heart rate sensor |
| ►HyperBus | HyperBus controllers |
| SF32LB MPI | HyperBus controller driver for the SF32LB MPI |
| ►I2C | I2C controller class |
| nRF5 I2C | I2C bus driver for the nRF5 TWIM peripheral |
| SF32LB I2C | I2C bus driver for the SF32LB I2C controller |
| ►IMU | Inertial and magnetic sensor drivers |
| LIS2DW12 | ST LIS2DW12 Accelerometer driver |
| LSM6DSO | ST LSM6DSO Accelerometer driver |
| ►MMC5603NJ | MEMSIC MMC5603NJ Magnetometer driver |
| MMC5603NJ registers | MMC5603NJ register map, from the MEMSIC datasheet (Rev |
| ADC keys | Keys on a resistor ladder, read through an ADC channel |
| GPIO keys | Keys on GPIOs, reported as Input key events |
| Interrupt controller | Secondary interrupt controller class |
| ►LED | LEDs, single color or multicolor, driven by an LED controller |
| AW2016 | Awinic AW2016 RGB LED controller, driving one multicolor LED on its three channels |
| ►Magnetometer | Magnetometer class |
| Simulator | Simulated magnetometer, measuring the field pbl_mag_sim_set() sets |
| ►Mailbox | Mailbox controller class |
| SF32LB mailbox | SiFli SF32LB mailbox |
| MCU information | Microcontroller identification |
| MCU reset cause | Hardware reset cause reported by the microcontroller |
| SF32LB MPI | Core of the SF32LB MPI memory controller |
| nPM1300 | Nordic nPM1300 PMIC core |
| MIPI DBI | MIPI DBI hosts |
| ►Non-volatile memory | Non-volatile memory class |
| SF32LB eFuse | Non-volatile memory provider of the SF32LB eFuse controller |
| OTP | One-time programmable slots holding factory data |
| ►Panel | Panel class |
| CO5300 | Panel driver for AMOLED panels on the ChipOne CO5300 driver IC |
| Memory-in-pixel panels | Panel driver for memory-in-pixel panels on the JDI parallel interface |
| ►Pin control | Pin controller class |
| SF32LB52 pin controller | Pin control controller of the SF32LB52 HPSYS pads |
| SF32LB57 pin controller | Pin control controller of the SF32LB57 HPSYS pads |
| Power domain | Power domain class |
| ►Pressure sensor | Barometric pressure sensor class |
| BMP390 | Bosch BMP380/BMP390 Pressure sensor driver (compatible bosch,bmp380) |
| ►PWM | PWM controller class |
| nRF5 PWM | PWM controller driver for the nRF5 PWM peripheral |
| nRF5 RTC PWM | PWM controller driver generating a PWM output with an nRF5 RTC |
| SF32LB LPTIM PWM | PWM controller driver for the SF32LB low-power timers |
| ►RAM | Memory-mapped RAM outside the SoC's own, only powered while it has users |
| HyperRAM | RAM driver for HyperRAM, PSRAM with a HyperBus interface |
| QEMU PSRAM | RAM driver for the PSRAM of the QEMU Pebble machines |
| ►Regulator | Power rail class |
| Fixed regulators | Regulator driver for a rail switched by a GPIO, as a load switch |
| nPM1300 regulators | Regulator rails of the nPM1300, cells of nPM1300 |
| SF32LB52 PMUC regulators | Regulator driver for the regulators of the SF32LB52 PMUC |
| SF32LB57 PMUC regulators | Regulator driver for the regulators of the SF32LB57 PMUC |
| ►Remote processor | Remote processor class |
| SF32LB LCPU | SiFli SF32LB low-power CPU |
| ►Reset | Reset controller class |
| SF32LB RCC resets | Reset controller of the SF32LB52 HPSYS RCC |
| ►RNG | Hardware random number generator |
| SiFli SF32LB TRNG | True random number generator of the SF32LB52, behind rng_rand() |
| ►RTC | Real-time clock class: hardware that keeps the wall clock across resets |
| POSIX | RTC following the host clock |
| QEMU | QEMU RTC, following the host clock |
| Retained RAM | RTC for SoCs without a calendar: the time last set, kept in retained RAM |
| SF32LB | SiFli SF32LB calendar RTC, counting clk_rtc at its calibrated rate |
| ►SPI | SPI controller class |
| nRF5 SPI | SPI bus driver for the nRF5 SPIM peripheral |
| ►SPI memory | SPI memory controller class |
| nRF5 QSPI | SPI memory controller driver for the nRF5 QSPI peripheral |
| SF32LB MPI | SPI memory controller driver for the SF32LB MPI, for a SPI NOR flash on it |
| ►Temperature sensor | Temperature sensor class |
| nRF5 | Nordic nRF5 die temperature sensor (TEMP) |
| SF32LB | SiFli SF32LB die temperature sensor (TSEN) |
| Simulator | Simulated temperature sensor, reading what pbl_temp_sim_set() sets, 25 degrees Celsius by default |
| System timer | Clock source and clock event devices the kernel keeps time with |
| ►Touchscreen | Touchscreen class |
| CST816 | Hynitron CST816 touch controller |
| FT6x36 | Touchscreen driver for the FocalTech FT6x36 family, such as the FT6236 and the FT6146 |
| QEMU | QEMU touchscreen, covering the display |
| SDL | Touchscreen of a native build, driven by the mouse through SDL |
| ►UART | Serial port class |
| nRF5 | UART driver for the nRF5 UARTE peripheral |
| POSIX | UART driver on the host: the terminal, a TCP port or a serial device |
| QEMU | UART driver for the QEMU simple UART |
| SF32LB | UART driver for the SF32LB USART |
| ►Vibration motor | Vibration motor class |
| AW86225 | Awinic AW86225 Vibration motor driver |
| AW8623X | Awinic AW8623X Vibration motor driver, driving an LRA in continuous mode |
| DRV2604 | TI DRV2604 Vibration motor driver, driving an LRA in real-time playback mode |
| Simulator | Simulated vibration motor, reporting its strength to an observer |
| ►Watchdog | Hardware watchdog and reset cause |
| SiFli SF32LB watchdog | WDT1 of the SF32LB52, behind the Watchdog functions |
| ►Services | System services built on top of the drivers (pbl/services) |
| Accelerometer manager | Shares the accelerometer between subscribers |
| ►Activity | Step counting, sleep tracking, activity sessions and health metrics |
| Activity algorithm interface | Interface between the activity service and the step/sleep algorithm |
| Activity calculators | Distance and calorie estimates from steps and the user profile |
| Activity insights | Sleep and activity rewards, summary pins and session notifications |
| Activity service internals | State, storage formats and helpers shared by the activity service sources |
| Health formatting helpers | Formatting of durations, distances and paces for the health UI |
| Heart rate zones | Heart rate zone classification using the user's heart rate preferences |
| Insights settings | Tunable parameters of the activity insights |
| Kraepelin glue | Runs the Kraepelin library as the activity algorithm |
| Workout service | Manually started and stopped activity sessions |
| ►Alarms | User alarms, persisted across resets |
| Alarm pins | Timeline pins showing alarms |
| Animation service | System resources used by the applib animation module |
| App cache | Tracks the applications whose binaries are stored on the watch |
| App fetch endpoint | Fetches app binaries from the phone |
| App glances | App glances: per-app slices shown in the launcher |
| App inbox service | Passes variable-length messages from a kernel service into an app-provided buffer |
| App message | Sending of app Pebble Protocol messages queued in the app outbox |
| App outbox service | Passes variable-length messages from an app buffer to a kernel service |
| App sessions | Pebble protocol session serving the running watch app |
| Audio endpoint | Streams encoded audio frames from the watch to the phone |
| ►Battery | Battery state of charge, charger state and power state handling |
| Battery curve | Conversion between battery voltage, charge percentage and time remaining |
| Battery monitor | Power state control in response to battery state changes |
| ►BlobDB | Key/value databases the phone synchronizes with the watch |
| App database | Installed apps (BlobDBIdApps) |
| App glance database | App glances (BlobDBIdAppGlance), keyed by app UUID |
| App glance records | Serialized app glance format stored in the app glance database |
| Contacts database | Contacts (BlobDBIdContacts), keyed by contact UUID |
| Endpoint | Messages sent by the watch on the BlobDB sync endpoint |
| Protocol | BlobDB Pebble Protocol definitions |
| Health database | Health typicals and averages synced from the phone (BlobDBIdHealth) |
| iOS notification preferences | Per-app notification preferences for iOS (BlobDBIdiOSNotifPref) |
| Notification database | BlobDB front end of notification storage (BlobDBIdNotifs) |
| Pin database | Timeline pins (BlobDBIdPins), keyed by pin UUID |
| Preferences database | System preferences exposed to the phone (BlobDBIdPrefs) |
| Reminder database | Timeline reminders (BlobDBIdReminders), keyed by reminder UUID |
| Settings database | System and notification settings synced both ways (BlobDBIdSettings) |
| Sync | Write-back of dirty records to the phone |
| Sync helpers | Settings file iteration helpers for databases that track dirty records |
| Timeline item storage | Settings file store of timeline items, shared by the pin and reminder databases |
| Utilities | BlobDB helpers |
| Watch app preferences | Preferences of system apps set from the phone (BlobDBIdWatchAppPrefs) |
| Weather database | Weather locations (BlobDBIdWeather), keyed by location UUID |
| ►Bluetooth services | Firmware-side Bluetooth management on top of the Bluetooth stack |
| Advertising | What the watch advertises, and how often |
| Battery level | Feeds the battery level to the BLE Battery Service |
| Bluetooth control | Start, stop and reset the Bluetooth stack |
| Bonding | What the firmware does with the bonds the Bluetooth stack keeps |
| Bluetooth settings | Persistent Bluetooth settings of the firmware |
| Device Information Service | Contents of the BLE Device Information Service |
| Local identity | Local device name and identity address |
| Pairability | Reference-counted requests to be discoverable and pairable over BLE |
| BLE control endpoint | Pebble Protocol endpoint letting the phone make the watch discoverable |
| Boot splash | Splash screen shown while the firmware boots |
| Clock | Wall clock time, timezone and user-facing time formatting |
| ►Compositor | Composes the app framebuffer and modal windows into the display framebuffer |
| Display flush | Copies the dirty region of the system framebuffer to the display driver |
| Transitions | Ready-made compositor transitions and helpers to build new ones |
| ►Default transitions | Compositor transitions of the current design |
| Dot transitions | Collapse the screen to a dot, or expand a dot into the new screen |
| Launcher transitions | Transitions between the launcher and apps, moving the launcher's selected row |
| Modal transitions | Transitions pushing and popping modal windows on color displays |
| Peek transitions | Transition from the timeline peek into the timeline |
| Port hole transitions | App transitions through a ring closing in from and opening to the display edge |
| Round flip transitions | Horizontal flip transitions between apps, shaped for round displays |
| Shutter transitions | App transitions where the old app is pushed out behind a colored shutter |
| Slide transitions | Full-screen vertical slides, into the timeline or between apps |
| ►Legacy transitions | Slide transitions used on 1-bit displays |
| App slide transitions | Horizontal slides between apps |
| Modal slides | Vertical slides pushing and popping modal windows on 1-bit displays |
| Screenshot protocol | Pebble Protocol endpoint that sends the system framebuffer to the phone |
| ►Contacts | Contacts stored in the contacts database by the phone |
| Contact addresses | (De)serialization of attribute lists together with contact addresses |
| ►Data logging | Sessions of fixed-size items persisted to flash and spooled to the phone |
| Data logging endpoint | Pebble Protocol endpoint exchanging session data with the phone |
| Session list | In-memory list of data logging sessions, sorted by session ID |
| Data logging internals | Session structures, limits and wire format shared by the data logging service |
| Session storage | Session data stored in a PFS file per session |
| Debounced connection service | Hides short phone disconnections from apps |
| Compass | Magnetometer-based compass heading |
| Event service | Fans out kernel events to the tasks subscribed to them |
| Evented timers | Timers whose callbacks run on the registering task's event loop |
| Firmware update | Tracks a firmware update pushed by the phone |
| ►Get bytes | Transfer of core dumps, files and raw flash from the watch to the phone |
| Get bytes protocol | Get bytes endpoint messages |
| ►Get bytes storage | Backends reading the transferred objects |
| Core dump storage | Backend reading the most recent core dump from flash |
| File storage | Backend reading a PFS file |
| Flash storage | Backend reading a raw flash region |
| ►Heart rate monitor | Shared access to the optical heart rate sensor (BPM, HRV and SpO2) |
| HRM activity scene | What the user is doing, so the sensor algorithm can use a motion-tuned model |
| HRM manager internals | Manager state, tuning constants and kernel subscriptions |
| PRF idle watchdog | Shuts down an idle watch running the recovery firmware |
| Image fetch | Fetches images from the phone |
| IMU | IMU definitions shared by the motion sensor services |
| Language packs | Manages the installed language packs and the one translations come from |
| ►Backlight | Backlight state machine |
| Light level | Coarse ambient light level, classified against the backlight dark threshold |
| Music | Now-playing metadata cache and media control |
| Music endpoint | Pebble Protocol music backend for Music |
| ►Notifications | Notification storage, alerting policy and Do Not Disturb |
| Action chaining window | Menu window to pick a follow-up action of a chained action result |
| Alerts | Decides whether and how the user is alerted for a call or notification |
| Alert preferences | Persistent user preferences for alerts, Do Not Disturb and the speaker |
| Alert preferences (internal) | Preferences backing the alerts, Do Not Disturb and notification UI services |
| Alerts settings | Alert masks and settings accessors used by the settings UI |
| ►ANCS notifications | Turns notifications received over the Apple Notification Center Service into items |
| ANCS filtering | Per-app mute schedules and filtering rules for ANCS notifications |
| ANCS items | Builds timeline items from ANCS notifications |
| ANCS utilities | App identification and timestamp parsing for ANCS notifications |
| ANCS phone calls | Phone call events derived from ANCS notifications |
| Nexmo reauthentication | Handles the SMS check-in code used to reauthenticate SMS replies |
| Do Not Disturb | Quiet Time state, combining manual, scheduled and calendar-aware activation |
| Do Not Disturb toggle | Quiet Time toggle dialog |
| Notification constants | Constants shared by the SMS reply and phone call UIs |
| Notification images | Single slot holding the phone-supplied image of the notification on screen |
| Notification storage | Flash storage for received notifications |
| Notification storage sizing | Size of the notification storage file |
| Notification types | Kinds of alerting items shared by notifications and reminders |
| Orientation manager | Rotate display and input devices to match the display orientation preference |
| Persist | Per-app persistent key-value stores |
| Phone calls | Incoming call handling |
| Phone endpoint | Pebble Protocol phone control endpoint (0x21) |
| Ping | Periodic ping to the phone, reporting whether the watch is idle |
| Remote polling | Periodic "poll services" requests to the phone app |
| PRF update | Installation of a new recovery firmware (PRF) |
| ►Process management | Storage of installed app and worker binaries |
| App files | Consistent naming of per-app files |
| App menu order storage | Persisted order of the apps in the launcher menu |
| ►Protobuf log | Protobuf payloads of measurements or events sent to the phone |
| Activity session log | Activity sessions logged as protobuf events |
| Heart rate log | Heart rate samples logged as protobuf measurements |
| Protobuf log internals | Record header and session structure |
| Payload decoding | Decoders of encoded payloads, for debugging and unit tests |
| Encoding helpers | Nanopb encode callbacks used to build payloads |
| ►Put bytes | Transfer of firmware, resources, apps and files from the phone to the watch |
| ►Put bytes storage | Backends storing received objects |
| File storage | Backend writing objects to PFS files |
| Put bytes storage backend interface | Operations implemented by each storage backend |
| Raw flash storage | Backend writing firmware, recovery and system resources to flash |
| Registry endpoint | Pebble Protocol registry endpoints |
| ►Runlevels | Global switch of the system operating mode |
| Runlevel enable masks | Definitions used to implement runlevels |
| Send text | Availability of the Send Text app |
| ►Service initialization | Boot-time initialization of all services |
| Common services | Services present in both the normal and the recovery firmware |
| Normal firmware services | Services only present in the normal (non-recovery) firmware |
| ►Speaker | Plays notes, tones, polyphonic tracks and PCM streams on the speaker |
| Note synthesis | Synthesizes PCM from SpeakerNote sequences |
| Stationary mode | Low power mode entered when the watch is not moving |
| Tick timer | Source of the PEBBLE_TICK_EVENT |
| Time | Timezone, DST and local time conversions |
| ►Timeline | Pins, notifications and reminders, their attributes, actions and layouts |
| Timeline action endpoint | Pebble Protocol endpoint 0x2cb0 for actions executed by the phone |
| Alarm layout | Layout of alarm pins (LayoutIdAlarm) |
| Timeline attributes | Typed key/value attributes describing timeline items and actions |
| Attribute groups | Shared code for data made of an attribute list and a group of elements with their own attributes |
| Serialized attributes | Wire format of a timeline attribute |
| Attributes and actions | Storage and serialization of an attribute list with an action group |
| Calendar events | Tracks whether a calendar event is ongoing |
| Calendar layout | Layout of calendar pins (LayoutIdCalendar) |
| Calendar layout icons | Vector icons next to the start and end times on calendar cards |
| Timeline events | Tracks the next or current timeline event for services that react to it |
| Generic layout | Layout of generic pins (LayoutIdGeneric) |
| Health layout | Layout of health pins (LayoutIdHealth) and Health app launch arguments |
| Timeline items | Pins, notifications and reminders |
| Layout layers | Layers that render templated content such as timeline items |
| Layout nodes | Compact, declarative construction of GTextNode trees for layouts |
| Metric groups | Builder for the metric names, values and icons attributes of a pin |
| Jumboji table | Emoji shown large ("Jumboji") when a notification body is just that emoji |
| Notification layout | Layout of notifications and reminders (LayoutIdNotification, LayoutIdReminder) |
| Timeline Peek events | Selects the event shown by Timeline Peek |
| Reminders | Pops up reminders at their time |
| Sports layout | Layout of sports pins (LayoutIdSports) |
| Swap layer | Scrolls through a sequence of layouts, swapping to the previous or next at the ends |
| Timeline action menus | Action menus for timeline items and the handling of action results |
| Timeline layouts | Common base of the pin layouts (generic, calendar, weather, sports, alarm, health) |
| Timeline layout animations | Icon transitions between the pin and card views of a timeline item |
| Timeline resources | Resolves timeline resource ids to image resources |
| Weather layout | Layout of weather pins (LayoutIdWeather) |
| Timezone database | Read access to the timezone database stored in resources |
| ►Touch | Touchscreen input: raw touch and gesture events, navigation gating and injection |
| Touch navigation | Enabling and disabling system touch navigation |
| Touch interaction session | Interaction session gating raw touch navigation |
| Vibe patterns | Vibration motor sequencing and strength control |
| ►Vibe scores | Vibration patterns stored as resources, and their selection per alert type |
| Vibe clients | Vibe score selected by the user for each kind of alert |
| Vibe intensity | Default strength of all vibrations |
| Vibe score catalog | Built-in vibe scores, their names and the alerts they can be used for |
| ►Voice | Dictation sessions: microphone capture, Speex encoding and transcription by the phone |
| Transcription | Validation and traversal of serialized transcriptions received from the phone |
| Speex encoder | Speex wideband (16 kHz) encoder used to stream dictation audio |
| Voice endpoint | Pebble Protocol voice control endpoint (11000) |
| Wakeup | Scheduled app launches |
| ►Weather | Weather forecasts sent by the phone |
| Weather app preferences | Location ordering stored in the watch app preferences database |
| Weather types | Weather conditions and their presentation |
| ►Subsystems | Self-contained OS subsystems (subsys/) |
| ►Analytics | Firmware metrics collected into periodic heartbeats |
| Analytics backends | Interface implemented by analytics backends |
| ►Bluetooth | Bluetooth Low Energy stack interface (pbl/bluetooth) |
| AMS | The Apple Media Service: its values and formats |
| ANCS | The Apple Notification Center Service: its values and formats |
| Battery Service | GATT Battery Service |
| Bonds | Peers the stack is bonded with, identified by their identity address |
| AMS client | Client of the Apple Media Service of a connected iOS device |
| ANCS client | Client of the Apple Notification Center Service of a connected iOS device |
| GATT client helpers | What clients of a peer's GATT service share: finding the service, and being handed its notifications |
| Connection event statistics | Controller statistics of connection events in the peripheral role |
| Device Information Service | Values served by the GATT Device Information Service |
| GAP events | The handler of a connection's GAP events |
| LE connections | LE connection events and disconnection |
| Peer device names | Read the GAP Device Name of connected peers |
| GATT | GATT client operations, GATT events and the Service Changed characteristic |
| GATT service discovery | Discover the GATT database of a connected peer |
| GATT service description | Compact description of a discovered remote GATT service |
| HCI types | HCI status codes |
| Local identity | Local device name and addresses |
| Identity address source | Where the watch's identity address comes from |
| ATT MTU | ATT MTU limits |
| Pairability | Whether new LE pairings are accepted |
| Pairing confirmation | Ask the user to confirm a pairing request |
| Pebble identifiers | Pebble-specific Bluetooth identifiers: service and characteristic UUIDs |
| Pebble Pairing Service | GATT service through which the phone app checks the connection and triggers pairing |
| Reversed PPoGATT | Reversed PPoGATT service: the watch hosts the service and the phone is the GATT client |
| ►PRF store | The bonding and root keys the recovery firmware (PRF) and the normal firmware share |
| PRF store layout | On-flash layout of the PRF store entries |
| Responsiveness | Connection response time requests and connection parameter updates |
| Security Manager types | Keys and pairing information |
| Types | Error codes, addresses, devices and advertising data shared by the Bluetooth API |
| Console | Plain text console on the board's console port: logs, the shell and framed binary data |
| ►Core dumps | Save the state of the system when it crashes, for analysis after the reset |
| Architecture interface | What an architecture implements to support core dumps |
| Backends | Outputs of core dumps |
| Image format | Layout of a core dump image, parsed by tools/readcore.py |
| CRC | Checksums stored or exchanged by the firmware |
| Cron | Wall-clock timers, for alarms, calendar events and the like |
| ►Cryptography | Hashes and ciphers |
| AES | AES block cipher (FIPS 197), on single blocks or in ECB mode |
| Self-test | Known-answer tests of the hardware accelerators |
| SHA-256 | SHA-256 digest (FIPS 180-4) |
| ►File system | Access to files regardless of the file system format |
| File system backends | Interface between the file system core and the file system formats |
| Pebble File System | PFS, the wear-leveled file system on the external NOR flash |
| Internationalization | Translates strings with a gettext message catalog |
| Input | Input events from drivers to the listeners that consume them |
| Loader | Loader for position-independent images with absolute relocations |
| ►Logging | Leveled logging to the serial console and to flash |
| Backends | Outputs of log messages |
| Flash backend | Log messages stored in the debug flash region, one generation per boot |
| Binary logging | Wire format of binary log messages |
| Log hashing | Compile-time replacement of log strings by tokens (CONFIG_LOG_HASHED) |
| ►Pebble protocol | Messages exchanged with phone apps over any transport |
| Endpoints | Handlers of inbound messages, one per endpoint ID |
| Wire protocol | Pebble protocol message framing, endpoint IDs and capabilities |
| Sending | Queueing outbound messages on a session |
| ►Transports | Interface between sessions and the links that carry them |
| Console transport | Pebble protocol over serial console frames, for development tools |
| GATT transport | Pebble protocol over GATT (PPoGATT), a client of the phone's PPoGATT service |
| QEMU transport | Pebble protocol over the emulator's serial link, emulating the phone connection |
| Profiler | Cycle-counting profiler with named nodes |
| Settings files | Atomic key-value store on top of PFS |
| ►Shell | Debug command shell (CONFIG_SHELL) |
| Shell backends | Interface between the shell core and the transports that carry it |
| Task watchdog | Software watchdog that catches stuck threads and turns them into core dumps |
| ►Libraries | Generic support libraries (lib/) |
| ►Bluetooth utilities | Stack independent helpers for Bluetooth devices, UUIDs and pairing data (lib/btutil) |
| Bluetooth UUIDs | Expand 16-bit and 32-bit Bluetooth UUIDs to 128 bits |
| Pairing information helpers | Compare and inspect struct pbl_bt_sm_pairing_info |
| Kraepelin | Step counting, sleep and activity session detection |
| ►Utilities | Generic helpers shared by the firmware, the bootloader and host tools (lib/util) |
| Library assertions | Assertions of the utility library |
| Base64 | Base64 encoding |
| Bit operations | Bit sets stored in byte or word arrays, rotation and bit reversal |
| Bits and bit fields | Bit, mask and register field macros |
| Linear buffer | Append-only byte buffer with its storage after the header |
| Build ID | GNU build ID note inserted by the linker |
| Byte order | Conversions between the CPU byte order (always little-endian) and fixed byte orders |
| Circular buffer | Single-reader, single-writer byte ring buffer |
| Circular cache | Fixed-size, array-backed cache that evicts its oldest item |
| Frequency tracking | Estimate the frequency of a drifting oscillator from noisy gated measurements |
| Generic attributes | Packed lists of id/length/value attributes, as exchanged with the phone |
| Hashing | Non-cryptographic hash |
| Iterator | Generic bidirectional iterator over caller-defined state |
| Keyed circular cache | Fixed-size cache of items looked up by integer key, evicting the oldest item |
| Linked list | Intrusive doubly linked list |
| Listify | Preprocessor repetition |
| Library logging | Logging hooks of the utility library |
| Integer math | Integer math macros and helpers |
| Fixed-point math | Signed fixed-point types and a generic recursive filter |
| Miscellaneous | Small generic macros |
| Ordering | Comparator type used by the sorted containers |
| Pascal strings | Length-prefixed strings and lists of them |
| Random numbers | Random number source used by the library |
| Ratios | Real numbers in [0, 1] stored as scaled integers |
| Shared circular buffer | Circular buffer with one writer and several independent readers |
| Sizes | Array and member size helpers |
| Singly linked list | Intrusive singly linked list |
| Sorting | In-place sorting of small arrays |
| Statistics | Basic statistics over arrays of int32_t |
| Strings | String helpers |
| String lists | Serialized arrays of NUL-separated strings |
| Structure access | Structure access helpers |
| Unit test hooks | Linkage helpers that let unit tests override firmware functions |
| Calendar time | Calendar arithmetic independent of the time zone and the RTC |
| Trigonometry | Fixed-point trigonometry helpers |
| Units | Size, distance and time unit conversion factors |
| UTF-8 | UTF-8 decoder (Bjoern Hoehrmann's DFA) |
| UUID | 128-bit universally unique identifiers |
| van Hees | Sleep classification from the wrist angle (van Hees et al., 2015) |
| ►Shared definitions | Definitions shared with the bootloader and host tooling (pebbleos/) |
| Processor IDs | IDs of the processors of a multi-processor device |
| Firmware metadata | Build information stored at the end of every firmware image |
| ►Foundation | |
| Battery | Functions related to getting the battery status |
| Wall Time | Functions, data structures and other things related to wall clock time |
| Math | |
| ►UI | |
| Light | Controlling Pebble's backlight |