RSSI of current sta connection (esp32)

If you are asking a question, please follow this template:

  1. My goal is: [describe your goal]
    to be able to get the current rssi of the connection into my js code

  2. My actions are: [describe your actions - code, commands, etc]

  3. The result I see is: [show the result - log, etc]

  4. My expectation & question is: [describe your expectation and your question]
    how to I get the rssi thru javascript?

ffi mgos_wifi_sta_get_rssi

I saw that routine, but I haven’t figured out how to integrate it yet. I tried to add it to my yml file, but this doesn’t work:
ffi_symbols:
- mgos_wifi_sta_get_rssi

C/C++ interoperability

Not in mos.yml, in the js file

let getRSSI=ffi('int mgos_wifi_sta_get_rssi()');

let rssi=getRSSI();

Even easier.
Thanks a lot.