nbiot
2.0.0.0
|
Functions | |
void | nbiot_cfg_setup (nbiot_cfg_t *cfg) |
Config Object Initialization function. More... | |
NBIOT_RETVAL | nbiot_init (nbiot_t *ctx, nbiot_cfg_t *cfg) |
Initialization function. More... | |
void | nbiot_module_power (nbiot_t *ctx) |
Power up modules. More... | |
void | nbiot_reset (nbiot_t *ctx) |
Reset module. More... | |
void | nbiot_generic_write (nbiot_t *ctx, char *data_buf, uint16_t len) |
Generic write function. More... | |
int32_t | nbiot_generic_read (nbiot_t *ctx, char *data_buf, uint16_t max_len) |
Generic read function. More... | |
void | nbiot_send_command (nbiot_t *ctx, char *command) |
Send Command function. More... | |
void nbiot_cfg_setup | ( | nbiot_cfg_t * | cfg | ) |
Config Object Initialization function.
cfg | Click configuration structure. |
This function initializes click configuration structure to init state.
int32_t nbiot_generic_read | ( | nbiot_t * | ctx, |
char * | data_buf, | ||
uint16_t | max_len | ||
) |
Generic read function.
ctx | Click object. |
data_buf | Data buffer for read data. |
max_len | The maximum length of data that can be read. |
void nbiot_generic_write | ( | nbiot_t * | ctx, |
char * | data_buf, | ||
uint16_t | len | ||
) |
Generic write function.
ctx | Click object. |
data_buf | Data buffer for sends. |
len | Number of bytes for sends. |
NBIOT_RETVAL nbiot_init | ( | nbiot_t * | ctx, |
nbiot_cfg_t * | cfg | ||
) |
Initialization function.
ctx | Click object. |
cfg | Click configuration structure. |
This function initializes all necessary pins and peripherals used for this click.
void nbiot_module_power | ( | nbiot_t * | ctx | ) |
Power up modules.
ctx | Click object. |
void nbiot_reset | ( | nbiot_t * | ctx | ) |
Reset module.
ctx | Click object. |
void nbiot_send_command | ( | nbiot_t * | ctx, |
char * | command | ||
) |
Send Command function.
ctx | Click object. |
command | Command. This function sends comamnd. |