---
title: "Foundation"
canonical_url: https://developer.repebble.com/docs/c/Foundation/
last_updated: 2026-10-29
sdk_version: 4.33.1
---
# Foundation

Source: https://developer.repebble.com/docs/c/Foundation/

The core of the Pebble SDK.

The Pebble SDK consists of different frameworks that are organized by functionality. Each framework includes an API and provides access to the software libraries supported natively by Pebble OS. You use these interfaces (APIs) in the C programming language to write software for the Pebble platform.

Frameworks are grouped hierarchically into Foundation, Graphics, Standard C and User Interface.

The Foundation framework is the core of the Pebble OS.

## Modules

#### [Alloy](https://developer.repebble.com/docs/c/Foundation/Alloy.md)

&nbsp;

#### [App](https://developer.repebble.com/docs/c/Foundation/App.md)

App entry point and event loop.

#### [App Communication](https://developer.repebble.com/docs/c/Foundation/App_Communication.md)

API for interacting with the Pebble communication subsystem.

#### [App Glance](https://developer.repebble.com/docs/c/Foundation/App_Glance.md)

API for the application to modify its "glance" i.e. app menu subtitle.

#### [AppMessage](https://developer.repebble.com/docs/c/Foundation/AppMessage.md)

&nbsp;

#### [AppSync](https://developer.repebble.com/docs/c/Foundation/AppSync.md)

UI synchronization layer for AppMessage

#### [AppWorker](https://developer.repebble.com/docs/c/Foundation/AppWorker.md)

Runs in the background, and can communicate with the foreground app.

#### [DataLogging](https://developer.repebble.com/docs/c/Foundation/DataLogging.md)

Enables logging data asynchronously to a mobile app

#### [DataStructures](https://developer.repebble.com/docs/c/Foundation/DataStructures/)

&nbsp;

#### [Dictation](https://developer.repebble.com/docs/c/Foundation/Dictation.md)

&nbsp;

#### [Dictionary](https://developer.repebble.com/docs/c/Foundation/Dictionary.md)

Data serialization utilities

#### [Event Service](https://developer.repebble.com/docs/c/Foundation/Event_Service.md)

APIs to handle event services.

#### [Exit Reason](https://developer.repebble.com/docs/c/Foundation/Exit_Reason.md)

API for the application to notify the system of the reason it will exit.

#### [Internationalization](https://developer.repebble.com/docs/c/Foundation/Internationalization.md)

Internationalization & Localization APIs

#### [Launch Reason](https://developer.repebble.com/docs/c/Foundation/Launch_Reason.md)

API for checking what caused the application to launch.

#### [Logging](https://developer.repebble.com/docs/c/Foundation/Logging.md)

Functions related to logging from apps.

#### [Math](https://developer.repebble.com/docs/c/Foundation/Math.md)

Math routines.

#### [Memory Management](https://developer.repebble.com/docs/c/Foundation/Memory_Management.md)

Utility functions for managing an application's memory.

#### [Platform](https://developer.repebble.com/docs/c/Foundation/Platform.md)

&nbsp;

#### [Resources](https://developer.repebble.com/docs/c/Foundation/Resources.md)

Managing application resources

#### [Storage](https://developer.repebble.com/docs/c/Foundation/Storage.md)

A mechanism to store persistent application data and state

#### [Timer](https://developer.repebble.com/docs/c/Foundation/Timer.md)

Can be used to execute some code at some point in the future.

#### [Wakeup](https://developer.repebble.com/docs/c/Foundation/Wakeup.md)

Allows applications to schedule to be launched even if they are not running.

#### [Wall Time](https://developer.repebble.com/docs/c/Foundation/Wall_Time.md)

Functions, data structures and other things related to wall clock time.

#### [WatchInfo](https://developer.repebble.com/docs/c/Foundation/WatchInfo.md)

Provides information about the watch itself.
