I am using the eZ430-RF2500 toolkit to create a wireless application between one ED and one AP.
So far, I have been using the SimplitiTI library files provided in the demo code, together with the provided smpl_nwk_config and smpl_config files.
However, I now need to send payload information larger than 10 bytes. I tried to modify the -DMAX_APP_PAYLOAD parameter from 10 to 20. However, when I compile my code, I get the following warnings:
Warning[w6]: Type conflict for external/entry “MRFI_Receive”, in module nwk_frame against external/entry in module mrfi; function types differ in
parameter 1; class/struct/union types have different sizes
/* In module nwk_frame: */
/* Function, args 1, attr 0 */
void (__cc_version2 MRFI_Receive)(mrfiPacket_t *);
typedef struct __Unnamed_5_137 mrfiPacket_t;
/* In module mrfi: */
/* Function, args 1, attr 0 */
void (__cc_version2 MRFI_Receive)(mrfiPacket_t *);
typedef struct __Unnamed_3_118 mrfiPacket_t;
Warning[w6]: Type conflict for external/entry “MRFI_Transmit”, in module nwk_frame against external/entry in module mrfi; function types differ in
parameter 1; class/struct/union types have different sizes
/* In module nwk_frame: */
/* Function, args 1, attr 0 */
uint8_t (__cc_version2 MRFI_Transmit)(mrfiPacket_t *);
typedef bsp_uint8_t uint8_t;
typedef struct __Unnamed_5_137 mrfiPacket_t;
typedef unsigned char bsp_uint8_t;
/* In module mrfi: */
/* Function, args 1, attr 0 */
uint8_t (__cc_version2 MRFI_Transmit)(mrfiPacket_t *);
typedef bsp_uint8_t uint8_t;
typedef struct __Unnamed_3_118 mrfiPacket_t;
typedef unsigned char bsp_uint8_t;
I tried to download SimpliciTI-1.0.6, change the -DMAX_APP_PAYLOAD parameter and compile the library. However, I get an error saying that the code size is too large.
How can I change the maximum payload size to more than 10? Are there other ways? Thx