nrfxlib API 3.3.99
Loading...
Searching...
No Matches

◆ nrf_fuel_gauge_state_compatible_check()

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.

Parameters
[in]statePointer to the state structure.
[in]state_sizeSize of the state structure.
Return values
0when successful.
-EINVALInvalid argument.
-EBADFState is not compatible with current library version.