Hi Mark,
Sorry but I get lost using Parameters (My board uses uTaskerV1.4)
I use this board with two programs for two customers.
I have two differents
struct PARS .
My problem is :
When I update a board which is running one of the program with the other customer program, the telnet password get lost.I check that the parameter file is read but with bad data.
I changed
PARAMETER_BLOCK_VERSION to force
PARAMETER_BLOCK_1 or
PARAMETER_BLOCK_2 to be read, but both are bad in my case.
After
fnRetrieveAllParameters() is called,
parameters is copy to
temp_pars->temp_parameters, then there is a check of
temp_pars->temp_parameters.ucParVersion to verify the parameters match the current
PARAMETER_BLOCK_VERSION.
As it is not the case
temp_pars->temp_parameters is initialized with
cParameters : but not
parameters.
as
#define POINTER_USER_NAME parameters->cUserName
#define POINTER_USER_PASS parameters->cUserPass
I could not enter my password
.
Is it normal that
temp_pars->temp_parameters and
parameters get different ?
I need to know If I correctly analysed my problem.Thanks