Cascoda SDK
Cascoda SDK for building software to run with CA-821x transceivers
object_connectivity_moni.c File Reference
#include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "liblwm2m.h"
#include "lwm2mclient.h"
#include "openthread/config.h"
#include "openthread/thread.h"
#include "ca821x_endian.h"
Include dependency graph for object_connectivity_moni.c:

Macros

#define RES_M_NETWORK_BEARER   0
 
#define RES_M_AVL_NETWORK_BEARER   1
 
#define RES_M_RADIO_SIGNAL_STRENGTH   2
 
#define RES_O_LINK_QUALITY   3
 
#define RES_M_IP_ADDRESSES   4
 
#define RES_O_ROUTER_IP_ADDRESS   5
 
#define RES_O_LINK_UTILIZATION   6
 
#define RES_O_APN   7
 
#define RES_O_CELL_ID   8
 
#define RES_O_SMNC   9
 
#define RES_O_SMCC   10
 
#define VALUE_NETWORK_BEARER_IEEE_802_15_4   23
 
#define VALUE_AVL_NETWORK_BEARER_1   23
 
#define VALUE_AVL_NETWORK_BEARER_2   21
 
#define VALUE_AVL_NETWORK_BEARER_3   41
 
#define VALUE_AVL_NETWORK_BEARER_4   42
 
#define VALUE_AVL_NETWORK_BEARER_5   43
 
#define VALUE_IP_ADDRESS_1   "192.168.178.101"
 
#define VALUE_IP_ADDRESS_2   "192.168.178.102"
 
#define VALUE_ROUTER_IP_ADDRESS_1   "192.168.178.001"
 
#define VALUE_ROUTER_IP_ADDRESS_2   "192.168.178.002"
 
#define MAX_IP_ADDRS   (10)
 

Functions

lwm2m_object_t * get_object_conn_m (void)
 
void free_object_conn_m (lwm2m_object_t *objectP)
 

Macro Definition Documentation

◆ MAX_IP_ADDRS

#define MAX_IP_ADDRS   (10)

◆ RES_M_AVL_NETWORK_BEARER

#define RES_M_AVL_NETWORK_BEARER   1

◆ RES_M_IP_ADDRESSES

#define RES_M_IP_ADDRESSES   4

◆ RES_M_NETWORK_BEARER

#define RES_M_NETWORK_BEARER   0

◆ RES_M_RADIO_SIGNAL_STRENGTH

#define RES_M_RADIO_SIGNAL_STRENGTH   2

◆ RES_O_APN

#define RES_O_APN   7

◆ RES_O_CELL_ID

#define RES_O_CELL_ID   8

◆ RES_O_LINK_QUALITY

#define RES_O_LINK_QUALITY   3

◆ RES_O_LINK_UTILIZATION

#define RES_O_LINK_UTILIZATION   6

◆ RES_O_ROUTER_IP_ADDRESS

#define RES_O_ROUTER_IP_ADDRESS   5

◆ RES_O_SMCC

#define RES_O_SMCC   10

◆ RES_O_SMNC

#define RES_O_SMNC   9

◆ VALUE_AVL_NETWORK_BEARER_1

#define VALUE_AVL_NETWORK_BEARER_1   23

◆ VALUE_AVL_NETWORK_BEARER_2

#define VALUE_AVL_NETWORK_BEARER_2   21

◆ VALUE_AVL_NETWORK_BEARER_3

#define VALUE_AVL_NETWORK_BEARER_3   41

◆ VALUE_AVL_NETWORK_BEARER_4

#define VALUE_AVL_NETWORK_BEARER_4   42

◆ VALUE_AVL_NETWORK_BEARER_5

#define VALUE_AVL_NETWORK_BEARER_5   43

◆ VALUE_IP_ADDRESS_1

#define VALUE_IP_ADDRESS_1   "192.168.178.101"

◆ VALUE_IP_ADDRESS_2

#define VALUE_IP_ADDRESS_2   "192.168.178.102"

◆ VALUE_NETWORK_BEARER_IEEE_802_15_4

#define VALUE_NETWORK_BEARER_IEEE_802_15_4   23

◆ VALUE_ROUTER_IP_ADDRESS_1

#define VALUE_ROUTER_IP_ADDRESS_1   "192.168.178.001"

◆ VALUE_ROUTER_IP_ADDRESS_2

#define VALUE_ROUTER_IP_ADDRESS_2   "192.168.178.002"

Function Documentation

◆ free_object_conn_m()

void free_object_conn_m ( lwm2m_object_t *  objectP)

◆ get_object_conn_m()

lwm2m_object_t* get_object_conn_m ( void  )