pebble
  • Tutorials
  • Get the SDK
  • Guides
  • Documentation
  • PebbleOS
  • Mobile App
  • Examples
  • Index 01
  • Community
  • Blog
  • More
Privacy
Cookies
Publish

PebbleOS

  • Overview
  • Contributing
  • Start here
  • Development
  • System
    • Architecture overview
    • Kernel
    • Subsystems
    • Drivers
    • Services
    • Libraries
    • Third-party
    • Application SDK
  • Hardware
  • Community
  • Reference
  • Firmware API Reference

Services

System services sit between the drivers and the applications: they own shared hardware, persist state, talk to the phone and feed events to apps. They live in fw/services/, with their interfaces in include/pbl/services/.

Storage

PFS, the Pebble File System, lives in fw/services/filesystem/. The API and on-flash layout are documented in pfs.h; the wear-leveling strategy (round-robin page allocation tracking the last written page) is described alongside the allocator in pfs.c.

Service modules

  • Activity

The API reference documents every service.

Generated from PebbleOS 3a7b71785. This page is maintained in the pebbleos repository: docs/services/index.md.

Overview

  • Storage
  • Service modules