getRssi() error

Imported mbed_events.h and ble.h.
rssi1

I am trying to disconnect bluetooth status with getRssi() value.


rssi3

However, when I build it, it fails. Do I need another library?