Soletta™ Framework
Framework for making IoT devices

Full online documentation | C API Index
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
netctl.c File Reference
#include <stdbool.h>
#include <inttypes.h>
#include <stdio.h>
#include <errno.h>
#include "soletta.h"
#include "sol-netctl.h"
#include "sol-util.h"
#include "sol-log.h"

Macros

#define CONN_AP   "Guest"
 
#define INPUT   "12345678"
 

Functions

static void cancel (void *data)
 
static void error_cb (void *data, const struct sol_netctl_service *service, unsigned int error)
 
static void manager_cb (void *data)
 
static void release (void *data)
 
static void report_error (void *data, const struct sol_netctl_service *service, const char *error)
 
static void request_input (void *data, const struct sol_netctl_service *service, const struct sol_ptr_vector *vector)
 
static void service_cb (void *data, const struct sol_netctl_service *service)
 
static void shutdown (void)
 
 SOL_MAIN_DEFAULT (startup, shutdown)
 
static void startup (void)
 

Variables

struct sol_netctl_agent agent
 

Macro Definition Documentation

#define CONN_AP   "Guest"
Examples:
/src/samples/network/netctl.c.

Referenced by service_cb().

#define INPUT   "12345678"

Function Documentation

static void cancel ( void *  data)
static
Examples:
/src/samples/network/netctl.c.

Referenced by startup().

static void error_cb ( void *  data,
const struct sol_netctl_service service,
unsigned int  error 
)
static
static void manager_cb ( void *  data)
static
static void release ( void *  data)
static
Examples:
/src/samples/network/netctl.c.

Referenced by startup().

static void report_error ( void *  data,
const struct sol_netctl_service service,
const char *  error 
)
static
static void request_input ( void *  data,
const struct sol_netctl_service service,
const struct sol_ptr_vector vector 
)
static
static void service_cb ( void *  data,
const struct sol_netctl_service service 
)
static
static void shutdown ( void  )
static
SOL_MAIN_DEFAULT ( startup  ,
shutdown   
)
static void startup ( void  )
static

Variable Documentation

struct sol_netctl_agent agent
Examples:
/src/samples/network/netctl.c.

Referenced by startup().