calcChecksum is now public
This commit is contained in:
parent
f35138ebfe
commit
d2b5a16450
|
@ -119,17 +119,18 @@ class TInfo
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
TInfo();
|
TInfo();
|
||||||
void init();
|
void init();
|
||||||
_State_e process (char c);
|
_State_e process (char c);
|
||||||
void attachADPS(void (*_fn_ADPS)(uint8_t phase));
|
void attachADPS(void (*_fn_ADPS)(uint8_t phase));
|
||||||
void attachData(void (*_fn_data)(ValueList * valueslist, uint8_t state));
|
void attachData(void (*_fn_data)(ValueList * valueslist, uint8_t state));
|
||||||
void attachNewFrame(void (*_fn_new_frame)(ValueList * valueslist));
|
void attachNewFrame(void (*_fn_new_frame)(ValueList * valueslist));
|
||||||
void attachUpdatedFrame(void (*_fn_updated_frame)(ValueList * valueslist));
|
void attachUpdatedFrame(void (*_fn_updated_frame)(ValueList * valueslist));
|
||||||
ValueList * addCustomValue(char * name, char * value, uint8_t * flags);
|
ValueList * addCustomValue(char * name, char * value, uint8_t * flags);
|
||||||
ValueList * getList(void);
|
ValueList * getList(void);
|
||||||
uint8_t valuesDump(void);
|
uint8_t valuesDump(void);
|
||||||
char * valueGet(char * name, char * value);
|
char * valueGet(char * name, char * value);
|
||||||
boolean listDelete();
|
boolean listDelete();
|
||||||
|
unsigned char calcChecksum(char *etiquette, char *valeur) ;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
uint8_t clearBuffer();
|
uint8_t clearBuffer();
|
||||||
|
@ -137,7 +138,6 @@ class TInfo
|
||||||
boolean valueRemove (char * name);
|
boolean valueRemove (char * name);
|
||||||
boolean valueRemoveFlagged(uint8_t flags);
|
boolean valueRemoveFlagged(uint8_t flags);
|
||||||
int labelCount();
|
int labelCount();
|
||||||
unsigned char calcChecksum(char *etiquette, char *valeur) ;
|
|
||||||
void customLabel( char * plabel, char * pvalue, uint8_t * pflags) ;
|
void customLabel( char * plabel, char * pvalue, uint8_t * pflags) ;
|
||||||
ValueList * checkLine(char * pline) ;
|
ValueList * checkLine(char * pline) ;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue