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
simple-client.c File Reference
#include <arpa/inet.h>
#include <errno.h>
#include <fcntl.h>
#include <netinet/in.h>
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/ioctl.h>
#include <sys/socket.h>
#include "sol-log.h"
#include "sol-mainloop.h"
#include "sol-network.h"
#include "sol-str-slice.h"
#include "sol-vector.h"
#include "sol-coap.h"

Macros

#define DEFAULT_UDP_PORT   5683
 

Functions

static void disable_observing (struct sol_coap_packet *req, struct sol_coap_server *server, struct sol_str_slice path[], const struct sol_network_link_addr *cliaddr)
 
int main (int argc, char *argv[])
 
static bool reply_cb (void *data, struct sol_coap_server *server, struct sol_coap_packet *req, const struct sol_network_link_addr *cliaddr)
 

Macro Definition Documentation

#define DEFAULT_UDP_PORT   5683

Function Documentation

static void disable_observing ( struct sol_coap_packet req,
struct sol_coap_server server,
struct sol_str_slice  path[],
const struct sol_network_link_addr cliaddr 
)
static
int main ( int  argc,
char *  argv[] 
)
static bool reply_cb ( void *  data,
struct sol_coap_server server,
struct sol_coap_packet req,
const struct sol_network_link_addr cliaddr 
)
static