lteiot
2.0.0.0
|
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... | |
void lteiot_cfg_setup | ( | lteiot_cfg_t * | cfg | ) |
Config Object Initialization function.
cfg | Click configuration structure. |
This function initializes click configuration structure to init state.
int32_t lteiot_generic_read | ( | lteiot_t * | ctx, |
char * | data_buf, | ||
uint16_t | max_len | ||
) |
Generic read function.
lteiot | Click object. |
data_buf | Data buffer for read data. |
max_len | The maximum length of data that can be read. |
void lteiot_generic_write | ( | lteiot_t * | ctx, |
char * | data_buf, | ||
uint16_t | len | ||
) |
Generic write function.
lteiot | Click object. |
data_buf | Data buffer for sends. |
len | Number of bytes for sends. |
LTEIOT_RETVAL lteiot_init | ( | lteiot_t * | ctx, |
lteiot_cfg_t * | cfg | ||
) |
Initialization function.
lteiot | Click object. |
cfg | Click configuration structure. |
This function initializes all necessary pins and peripherals used for this click.
void lteiot_module_power | ( | lteiot_t * | ctx, |
uint8_t | power_state | ||
) |
Power module.
lteiot | Click object. |
power_state | State of pin. |
void lteiot_send_command | ( | lteiot_t * | ctx, |
char * | command | ||
) |
Send command.
lteiot | Click object. |
command | Command to be send.. |