Hi,
I'm just diving into processing.org and java programming and wonder, how could i get the RSSI method called from the android libraries.
I know the rssi is within this lib: import android.bluetooth.BluetoothDevice; And there: String EXTRA_RSSI https://developer.android.com/reference/android/bluetooth/BluetoothDevice.html#EXTRA_RSSI
The problem is, i have no clue how i should code this into my project... I'm using Ketai bluetooth to connect between android and a microcontroller RN41 bluetooth module and ketais libraries doesn't include any RSSI fetching method or what so ever.
I just tried this: String rssi = android.bluetooth.BluetoothDevice.EXTRA_RSSI;
The code compiles ok but doesn't work... -> i use text(rssi, width/3, height/2); to print the value to device screen, The result is just that there is a text string on screen "android.bluetooth.device.extra.RSSI"
Let me know if you other experienced java coders know how i could get the EXTRA_RSSI value... printed on the screen correctly.