lteiot  2.0.0.0
Functions
Public function

Functions

void lteiot_cfg_setup (lteiot_cfg_t *cfg)
 Config Object Initialization function. More...
 
LTEIOT_RETVAL lteiot_init (lteiot_t *ctx, lteiot_cfg_t *cfg)
 Initialization function. More...
 
void lteiot_module_power (lteiot_t *ctx, uint8_t power_state)
 Power module. More...
 
void lteiot_generic_write (lteiot_t *ctx, char *data_buf, uint16_t len)
 Generic write function. More...
 
int32_t lteiot_generic_read (lteiot_t *ctx, char *data_buf, uint16_t max_len)
 Generic read function. More...
 
void lteiot_send_command (lteiot_t *ctx, char *command)
 Send command. More...
 

Detailed Description

Function Documentation

◆ lteiot_cfg_setup()

void lteiot_cfg_setup ( lteiot_cfg_t cfg)

Config Object Initialization function.

Parameters
cfgClick configuration structure.

This function initializes click configuration structure to init state.

Note
All used pins will be set to unconnected state.

◆ lteiot_generic_read()

int32_t lteiot_generic_read ( lteiot_t ctx,
char *  data_buf,
uint16_t  max_len 
)

Generic read function.

Parameters
lteiotClick object.
data_bufData buffer for read data.
max_lenThe maximum length of data that can be read.
Returns
Number of reads data.

◆ lteiot_generic_write()

void lteiot_generic_write ( lteiot_t ctx,
char *  data_buf,
uint16_t  len 
)

Generic write function.

Parameters
lteiotClick object.
data_bufData buffer for sends.
lenNumber of bytes for sends.

◆ lteiot_init()

LTEIOT_RETVAL lteiot_init ( lteiot_t ctx,
lteiot_cfg_t cfg 
)

Initialization function.

Parameters
lteiotClick object.
cfgClick configuration structure.

This function initializes all necessary pins and peripherals used for this click.

◆ lteiot_module_power()

void lteiot_module_power ( lteiot_t ctx,
uint8_t  power_state 
)

Power module.

Parameters
lteiotClick object.
power_stateState of pin.

◆ lteiot_send_command()

void lteiot_send_command ( lteiot_t ctx,
char *  command 
)

Send command.

Parameters
lteiotClick object.
commandCommand to be send..