I have a couple of questions with respect to the AWE API command syntax
There are 2 commands discussed in the pdf namely
> PFID_SetObjectValueCall for setting value
> PFID_FetchObjectValueCall for getting values
I am looking in using this command in order to change a parameter of a module
running in an AWE target.
For both of these API commands, one of the passing parameter is the fieldOfsset,
I want to ask about what value to feed. Let us take the delay module.
I have cut and pasted sections of the delay module header.
If I want to change the currentDelay, should the fieldoffset be 9 (as defined by OFFSET_xyz)
or is it 2 as it is the 3rd item in the typedef struct _awe_modDelayInstance.
#define OFFSET_Delay_maxDelay 0x00000008
#define OFFSET_Delay_currentDelay 0x00000009
#define OFFSET_Delay_stateIndex 0x0000000A
#define OFFSET_Delay_stateHeap 0x0000000B
#define OFFSET_Delay_state 0x0000000C
typedef struct _awe_modDelayInstance
In the AWE target tuning section (specifically RS232) , we have the following set of bytes per command
0x02(start), seq_number, command bytes, 0x03(end).
When AWE server connects to a target it goes through a series of comamnds
upon connection. This is when it interrogates the target etc.
My question is if the PC software is not the AWE_server and all we really want to do is change
a set of module parameters numbers using the documented API commands, how do we connect
to a target properly since we don't know the last seq_number that the
target worked with?
If we arbitrarily start using a starting seq_number, will the target ignore the command?