LTE library for LTE firmware log. More...
Go to the source code of this file.
Macros | |
#define | EXTERN extern "C" |
Functions | |
Functions | |
int | lte_log_collect (FAR char *output_fname, size_t len) |
int | lte_log_getlist (size_t listsize, size_t fnamelen, char list[listsize][fnamelen]) |
LTE library for LTE firmware log.
API call type
Sync API |
---|
lte_log_collect |
lte_log_getlist |
lte_log_open |
lte_log_close |
lte_log_read |
lte_log_remove |
lte_log_lseek |
int lte_log_collect | ( | FAR char * | output_fname, |
size_t | len | ||
) |
Collect LTE modem FW logs and store them in the LTE modem storage.
[out] | output_fname | Buffer to store the name of the saved file. If the saved file name is not needed, set it to NULL. |
[in] | len | Buffer length for output_fname. Sets LTE_LOG_NAME_LEN, except when the saved file name is not needed. |
int lte_log_getlist | ( | size_t | listsize, |
size_t | fnamelen, | ||
char | list[listsize][fnamelen] | ||
) |
Get a list of logs stored in the LTE modem storage.
[in] | listsize | Number of arrays in which to store file names. The maximum number of arrays is LTE_LOG_LIST_SIZE. |
[in] | fnamelen | Buffer length for list. Sets LTE_LOG_NAME_LEN. |
[in] | list | Buffer to store the list of saved file names. |