mcci-catena / arduino-lmic

LoraWAN-MAC-in-C library, adapted to run under the Arduino environment
https://forum.mcci.io/c/device-software/arduino-lmic/
MIT License
629 stars 207 forks source link

error: 'u1_t' does not name a type; did you mean 'uid_t'? (static const u1_t APPEUI[8] = { 0x86,....) #885

Open T365 opened 1 year ago

T365 commented 1 year ago

Consider raising support questions on the forum first

There is a discussion site, forum.mcci.io, which includes a category focused on the Arduino LMIC. Unless you're sure that your problem is a bug in the LMIC, it would be great if you can try for help there first. That will keep issues focused on work that needs to be done by the developers.

Describe your question or issue

Please give a clear and concise description of the problem you're facing and what you'd like help with.

Environment

This information is very important; it's hard to help without a complete set of answers.

T365 commented 1 year ago

LMIC: 4.2.0.1

After update,

Suddenly I got this message: error: 'u1_t' does not name a type; did you mean 'uid_t'?

My code: static const u1_t APPEUI[8] = { 0x86,......}

I tried to change u1_t to uid_t it compiles now, but my device will not connect now, I understand.

Can someone help me please ?

terrillmoore commented 1 year ago

Changing to uid_t is not the right thing, u1_t is correct. Something is wrong with your compile environment, hard to say what it might be. u1_t is used everywhere in the LMIC and didn't change anytime recently. Sorry you're having problems!

supcik commented 1 year ago

This is perhaps linked to the issue #914 and fixed with the current master version. @T365, can you please try with the current version?