nRF Connect SDK API 0.1.0
|
#include <implementation.h>
Data Fields | |
const uint16_t | id |
const nrf_compress_init_deinit_func_t | init |
Initialize compression implementation. | |
const nrf_compress_init_deinit_func_t | deinit |
Deinitialize compression implementation. | |
const nrf_compress_reset_func_t | reset |
Reset compression state function. Used to abort current compression or decompression task before starting a new one. | |
const nrf_compress_compress_func_t | compress |
Placeholder function for future use, do not use. | |
const nrf_compress_decompress_bytes_needed_t | decompress_bytes_needed |
Return chunk size of data to provide to next call of nrf_compress_decompress_func_t function. This is the ideal amount of data that should be provided to the next function call. Less data than this may be provided if more is not available (for example, end of data or data is being streamed). | |
const nrf_compress_decompress_func_t | decompress |
Decompress portion of compressed data. This function will need to be called one or more times with compressed data to decompress it into its natural form. | |