You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello @beegee-tokyo since the RUI3 is open source i wanted to test this for a project we have put on halt for a while.
I have installed the 4.1.1 version of the STM32 RUI3 Arduino core, and when i oppened up the first example (low power) it did not compiled out of the box
Here you can see my configuration:
And the Arduino output:
/Users/eduardocontreras/Documents/electronicCats/Fw/RUI3-Best-Practice/RUI3-LowPower-Example/custom_at.cpp: In function 'int status_handler(SERIAL_PORT, char*, stParam*)':
custom_at.cpp:205:44: error: 'class RAKLorawan' has no member named 'pfreq'; did you mean 'bfreq'?
205 | AT_PRINTF("Frequency = %d", api.lorawan.pfreq.get());
| ^~~~~
/Users/eduardocontreras/Documents/electronicCats/Fw/RUI3-Best-Practice/RUI3-LowPower-Example/custom_at.cpp:17:17: note: in definition of macro 'AT_PRINTF'
17 | Serial.printf(__VA_ARGS__); \
| ^~~~~~~~~~~
custom_at.cpp:206:37: error: 'class RAKLorawan' has no member named 'psf'
206 | AT_PRINTF("SF = %d", api.lorawan.psf.get());
| ^~~
/Users/eduardocontreras/Documents/electronicCats/Fw/RUI3-Best-Practice/RUI3-LowPower-Example/custom_at.cpp:17:17: note: in definition of macro 'AT_PRINTF'
17 | Serial.printf(__VA_ARGS__); \
| ^~~~~~~~~~~
custom_at.cpp:207:37: error: 'class RAKLorawan' has no member named 'pbw'
207 | AT_PRINTF("BW = %d", api.lorawan.pbw.get());
| ^~~
/Users/eduardocontreras/Documents/electronicCats/Fw/RUI3-Best-Practice/RUI3-LowPower-Example/custom_at.cpp:17:17: note: in definition of macro 'AT_PRINTF'
17 | Serial.printf(__VA_ARGS__); \
| ^~~~~~~~~~~
custom_at.cpp:208:37: error: 'class RAKLorawan' has no member named 'pcr'
208 | AT_PRINTF("CR = %d", api.lorawan.pcr.get());
| ^~~
/Users/eduardocontreras/Documents/electronicCats/Fw/RUI3-Best-Practice/RUI3-LowPower-Example/custom_at.cpp:17:17: note: in definition of macro 'AT_PRINTF'
17 | Serial.printf(__VA_ARGS__); \
| ^~~~~~~~~~~
/Users/eduardocontreras/Documents/electronicCats/Fw/RUI3-Best-Practice/RUI3-LowPower-Example/RUI3-LowPower-Example.ino: In function 'void setup()':
RUI3-LowPower-Example:151:7: error: 'class RAKUnifiedApi' has no member named 'lora'; did you mean 'lorawan'?
151 | api.lora.registerPRecvCallback(recv_cb);
| ^~~~
| lorawan
RUI3-LowPower-Example:152:7: error: 'class RAKUnifiedApi' has no member named 'lora'; did you mean 'lorawan'?
152 | api.lora.registerPSendCallback(send_cb);
| ^~~~
| lorawan
custom_at.cpp:209:50: error: 'class RAKLorawan' has no member named 'ppl'
209 | AT_PRINTF("Preamble length = %d", api.lorawan.ppl.get());
| ^~~
/Users/eduardocontreras/Documents/electronicCats/Fw/RUI3-Best-Practice/RUI3-LowPower-Example/custom_at.cpp:17:17: note: in definition of macro 'AT_PRINTF'
17 | Serial.printf(__VA_ARGS__); \
| ^~~~~~~~~~~
RUI3-LowPower-Example:153:7: error: 'class RAKUnifiedApi' has no member named 'lora'; did you mean 'lorawan'?
153 | api.lora.registerPSendCADCallback(cad_cb);
| ^~~~
| lorawan
custom_at.cpp:210:43: error: 'class RAKLorawan' has no member named 'ptp'
210 | AT_PRINTF("TX power = %d", api.lorawan.ptp.get());
| ^~~
/Users/eduardocontreras/Documents/electronicCats/Fw/RUI3-Best-Practice/RUI3-LowPower-Example/custom_at.cpp:17:17: note: in definition of macro 'AT_PRINTF'
17 | Serial.printf(__VA_ARGS__); \
| ^~~~~~~~~~~
custom_at.cpp:214:44: error: 'class RAKLorawan' has no member named 'pfreq'; did you mean 'bfreq'?
214 | AT_PRINTF("Frequency = %d", api.lorawan.pfreq.get());
| ^~~~~
/Users/eduardocontreras/Documents/electronicCats/Fw/RUI3-Best-Practice/RUI3-LowPower-Example/custom_at.cpp:17:17: note: in definition of macro 'AT_PRINTF'
17 | Serial.printf(__VA_ARGS__); \
| ^~~~~~~~~~~
custom_at.cpp:215:42: error: 'class RAKLorawan' has no member named 'pbr'
215 | AT_PRINTF("Bitrate = %d", api.lorawan.pbr.get());
| ^~~
/Users/eduardocontreras/Documents/electronicCats/Fw/RUI3-Best-Practice/RUI3-LowPower-Example/custom_at.cpp:17:17: note: in definition of macro 'AT_PRINTF'
17 | Serial.printf(__VA_ARGS__); \
| ^~~~~~~~~~~
custom_at.cpp:216:43: error: 'class RAKLorawan' has no member named 'pfdev'
216 | AT_PRINTF("Deviaton = %d", api.lorawan.pfdev.get());
| ^~~~~
/Users/eduardocontreras/Documents/electronicCats/Fw/RUI3-Best-Practice/RUI3-LowPower-Example/custom_at.cpp:17:17: note: in definition of macro 'AT_PRINTF'
17 | Serial.printf(__VA_ARGS__); \
| ^~~~~~~~~~~
/Users/eduardocontreras/Documents/electronicCats/Fw/RUI3-Best-Practice/RUI3-LowPower-Example/RUI3-LowPower-Example.ino: In function 'void send_packet()':
RUI3-LowPower-Example:305:11: error: 'class RAKUnifiedApi' has no member named 'lora'; did you mean 'lorawan'?
305 | if (api.lora.psend(4, g_solution_data, true))
| ^~~~
| lorawan
exit status 1
'class RAKLorawan' has no member named 'pfreq'; did you mean 'bfreq'?
I also tried to compile the examples included in your core, and they do not compile either, hope we can solve this.
The text was updated successfully, but these errors were encountered:
Hello @beegee-tokyo since the RUI3 is open source i wanted to test this for a project we have put on halt for a while.
I have installed the 4.1.1 version of the STM32 RUI3 Arduino core, and when i oppened up the first example (low power) it did not compiled out of the box
Here you can see my configuration:
And the Arduino output:
I also tried to compile the examples included in your core, and they do not compile either, hope we can solve this.
The text was updated successfully, but these errors were encountered: