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
Functions
oic-client.c File Reference
#include <stdio.h>
#include "sol-log.h"
#include "sol-mainloop.h"
#include "sol-oic-client.h"

Functions

static bool found_resource (void *data, struct sol_oic_client *cli, struct sol_oic_resource *res)
 
static void got_get_response (void *data, enum sol_coap_response_code response_code, struct sol_oic_client *cli, const struct sol_network_link_addr *srv_addr, const struct sol_oic_map_reader *map_reader)
 
int main (int argc, char *argv[])
 

Function Documentation

static bool found_resource ( void *  data,
struct sol_oic_client cli,
struct sol_oic_resource res 
)
static
static void got_get_response ( void *  data,
enum sol_coap_response_code  response_code,
struct sol_oic_client cli,
const struct sol_network_link_addr srv_addr,
const struct sol_oic_map_reader map_reader 
)
static
int main ( int  argc,
char *  argv[] 
)