lteiot  2.0.0.0
Data Structures | Macros | Functions
lteiot.h File Reference

This file contains API for LTE IoT Click driver. More...

#include "drv_digital_out.h"
#include "drv_digital_in.h"
#include "drv_uart.h"

Go to the source code of this file.

Data Structures

struct  lteiot_t
 Click ctx object definition. More...
 
struct  lteiot_cfg_t
 Click configuration structure definition. More...
 

Macros

#define LTEIOT_MAP_MIKROBUS(cfg, mikrobus)
 
#define LTEIOT_RETVAL   uint8_t
 
#define LTEIOT_OK   0x00
 
#define LTEIOT_INIT_ERROR   0xFF
 
#define LTEIOT_MODULE_POWER_ON   1
 
#define LTEIOT_MODULE_POWER_OFF   0
 
#define DRV_RX_BUFFER_SIZE   500
 

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

This file contains API for LTE IoT Click driver.