Hello,
I am trying to connect my RM186 to TTN, but when I try to do “XCompile + Load” on “cmd.loramac.rm1xx.sb”, I get the error message below. Has anyone encountered the same error and found a fix?
I am wondering whether it could come from an “RM1xx-defs.h” not matching the firmware version (18.4.0.26), but I don’t know where I could find the correct one.
Thanks!
The error message:
Failed to compile -9; Application failed to compile
rc = LORAMACSetDebug(i[0],i[1],i[2])
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compile Error: (0x0433) TOK_UNEXPECTED_TOKEN_IN_EXPR
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
File : test.sb
Line : 512
Source : rc = LORAMACSetDebug(i[0],i[1],i[2])
: --------^
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~