Using le_mrc_GetRadioBandInUse() API gives a build error

Hi,

I am trying to use the le_mrc_GetRadioBandInUse() API in legato version 20.04.00, but I get the following build error:

error: implicit declaration of function ‘le_mrc_GetRadioBandInUse’; did you mean ‘le_mrc_GetRadioPower’?

I think that this API is not properly exposed to the application framework. It is mentioned in the documentation but I cannot use it. Any idea how I can enable it?

Regards,
Mughees

there is no such API in package swi-wp76_4.7.0 (legato 20.04.00):


owner@ubuntu:~/leaf/leaf-data/swi-wp76_4.7.0/wp76-legato$ find ./ -name "*.c" | xargs grep -l "le_mrc_GetRadioBandInUse"
grep: ./apps/test/framework/mk/app-test/from: No such file or directory
grep: Source: No such file or directory
grep: 3.c: No such file or directory
grep: ./apps/test/framework/mk/app-test/from: No such file or directory
grep: Source: No such file or directory
grep: 2.c: No such file or directory
grep: ./apps/test/framework/mk/app-next-to-comps/app/from: No such file or directory
grep: Source: No such file or directory
grep: 3.c: No such file or directory
grep: ./apps/test/framework/mk/app-next-to-comps/app/from: No such file or directory
grep: Source: No such file or directory
grep: 2.c: No such file or directory
grep: ./components/3rdParty/paho.mqtt.c: Is a directory
grep: ./3rdParty/paho.mqtt.c: Is a directory
grep: ./build/wp76xx/3rdParty/paho.mqtt.c: Is a directory

How about using AT!GSTATUS? to get current band?