expected an expression error

Hi

i'm pretty new to programming and i have to edit a program for my thesis

i have this error, i have no idea how to solve it. I read somewhere that there might be missing bracket somewhere before the code i've given, but that's not the case.
Maybe it's something simple i'm just overlooking...

this is the error i get and the one after that, which is probably a result of the first (i hope).

Could it be that there is an error with the header files not being correct?

Error[Pe029]: expected an expression
Error[Pe020]: identifier "LOCATION_XY_RSSI_RESPONSE" is undefined


1
2
3
4
5
6
7
8
static const cId_t BlindNode_InputClusterList[] =
{
  LOCATION_XY_RSSI_REQUEST,  // this is where the first error points to
  LOCATION_XY_RSSI_RESPONSE,
  LOCATION_BLINDNODE_FIND_REQUEST,
  LOCATION_BLINDNODE_CONFIG,
  LOCATION_BLINDNODE_REQUEST_CONFIG
};



complete c-file i'm working on:

http://blackboxreader.googlecode.com/svn/trunk/ZStack/Projects/zstack/Samples/Location/Source/BlindNode.c

this is just for researching behavior of a cc2431 chip (in case any of you were wondering why i needed this)
Error[Pe020]: identifier "LOCATION_XY_RSSI_RESPONSE" is undefined


This error is about as straightforward as they come. LOCATION_XY_RSSI_RESPONSE was not defined anywhere, so the compiler has no idea what it's supposed to be.

Maybe you're forgetting to include the header which has it defined. Or maybe it's misspelled.
Topic archived. No new replies allowed.