Hello,
I’m sure that it is an error very easy to resolve...
Code:
[...]
[110]typedef frameCtrl_t* frmCtrl_rx;
[111]ieee802155cmd_t* WNRx = (ieee802155cmd_t*)payload;
[112]frmCtrl_rx = call
FrameControl.getFrmCtrlFields((nx_uint16_t)WNRx-FrmCtrl);
[...]
That looks ok to me syntactically so maybe there's something
else wrong. You might have a hidden character in your text,
if you can use a hexdump utility to look at the file you
could find something amiss, or, unlikely, also in the
FrameControl file too... Also try moving the lines and
elements
Hi Felipe,
In line 110, you are declaring a typedef frmCtrl_rx as a pointer to a
frameCtrl_t structure. But that's the typedef only; you never actually
declared a variable of your typedef. You need to declare a variable of
type frmCtrl_rx and then do the assignment, e.g.:
typedef frameCtrl_t*