![]() |
nrfxlib API 3.3.99
|
| int nrf_fuel_gauge_state_compatible_check | ( | const void * | state, |
| size_t | state_size ) |
#include <nrf_fuel_gauge/include/nrf_fuel_gauge.h>
Check if the provided state is compatible with the current library version.
| [in] | state | Pointer to the state structure. |
| [in] | state_size | Size of the state structure. |
| 0 | when successful. |
| -EINVAL | Invalid argument. |
| -EBADF | State is not compatible with current library version. |