|
Soletta™ Framework
|
#include <ctype.h>#include <stdio.h>#include <string.h>#include "soletta.h"#include "sol-platform.h"#include "sol-gpio.h"#include "sol-util.h"#include "sol-util-file.h"Macros | |
| #define | _GNU_SOURCE |
Functions | |
| static void | on_platform_state_change (void *data, enum sol_platform_state state) |
| static void | on_service_change (void *data, const char *service, enum sol_platform_service_state state) |
| static bool | on_timeout (void *data) |
| static int | parse_cmdline_pin (void) |
| static int | parse_kcmdline_pin (void) |
| static int | parse_kcmdline_pin_entry (const char *start, size_t len) |
| static void | shutdown (void) |
| SOL_MAIN_DEFAULT (startup, shutdown) | |
| static void | startup (void) |
Variables | |
| static struct sol_gpio * | gpio |
| static bool | gpio_state = false |
| static const char * | services [] |
| static struct sol_timeout * | timeout |
| #define _GNU_SOURCE |
|
static |
Referenced by shutdown(), and startup().
|
static |
Referenced by shutdown(), and startup().
|
static |
References gpio, gpio_state, and sol_gpio_write().
Referenced by startup().
|
static |
References sol_argc(), sol_argv(), and value.
Referenced by startup().
|
static |
References parse_kcmdline_pin_entry(), and sol_util_read_file().
Referenced by startup().
|
static |
Referenced by parse_kcmdline_pin().
|
static |
|
static |
References sol_gpio_config::api_version, gpio, on_platform_state_change(), on_service_change(), on_timeout(), parse_cmdline_pin(), parse_kcmdline_pin(), services, SOL_GPIO_CONFIG_API_VERSION, SOL_GPIO_DIR_OUT, sol_gpio_open(), sol_platform_add_service_monitor(), sol_platform_add_state_monitor(), sol_platform_get_service_state(), sol_platform_get_state(), SOL_SET_API_VERSION, sol_timeout_add(), and timeout.
|
static |
Referenced by on_timeout(), shutdown(), and startup().
|
static |
Referenced by on_timeout().
|
static |
Referenced by shutdown(), and startup().
|
static |
Referenced by shutdown(), and startup().
1.8.6