samgr_lite.h

Overview

Related Modules:

Samgr

Description:

Manages system capabilities.

This is used when services, features, and functions are registered with and discovered by Samgr.

Since:

1.0

Version:

1.0

Summary

Data Structures

Data Structure Name Description
SamgrLite Represents the system ability management class.

Macros

Macro Name and Value Description
BOOTSTRAP_SERVICE   ”Bootstrap” Starts a bootstrap service, which is used by samgr and implemented by system service developers.

Typedefs

Typedef Name Description
BootMessage typedef enum BootMessage Enumerates the IDs of the message to be processed for starting the bootstrap service.
SamgrLite typedef struct SamgrLite Represents the system ability management class.

Enumerations

Enumeration Name Description
BootMessage { BOOT_SYS_COMPLETED, BOOT_APP_COMPLETED, BOOT_REG_SERVICE, BOOTSTRAP_BUTT } Enumerates the IDs of the message to be processed for starting the bootstrap service.

Functions

Function Name Description
SAMGR_GetInstance (void) SamgrLite * Obtains the singleton Samgr instance.
SAMGR_Bootstrap (void) void Starts system services and features.