Skip to first unread message
Assigned to ewpa...@gmail.com by chrisw...@gmail.com

Cedoche

unread,
Feb 10, 2018, 7:14:59 AM2/10/18
to MIT App Inventor Forum
Hi,
I am working on a project with the new BLE extension.

The phone connects to the BLE device and everything works fine. (I can send and recieve data)

Once the device is connected, I would like to display the RSSI at a reguar time interval. 
The issue is that the RSSI value doesn not seem to update.
I think it get a value when the phone connects to the device but then the value does not change anymore.

I am using the function: BLE1.ConnectedDeviceRssi
What function should I add to update the RSSI value?


(I am using the Feather BLE module from Adafruit with a Samsung Galaxy S5.)

Many thanks for your support. 

gerrikoio

unread,
Feb 13, 2018, 1:35:43 PM2/13/18
to MIT App Inventor Forum
Have you tried the "when BluetoothLE1.RssiChanged" method

Evan Patton

unread,
Feb 13, 2018, 2:32:34 PM2/13/18
to MIT App Inventor Forum
Looking at the BLE code, it looks like we are only reading the RSSI once when the device connects, which would explain the observed behavior. Looking at the BLE APIs provided by Android, there isn't a method to simply be notified of changes; we would need to implement a polling mechanism to enable this type of functionality.

Evan

kmoto

unread,
Feb 14, 2018, 4:08:45 PM2/14/18
to MIT App Inventor Forum
I am having the same problem - It would be great to be able to read the current RSSI value any time after we connect. I don't need to be notified of changes, but want to read it every second or so based on a timer.

Federico Raggio

unread,
Aug 5, 2019, 9:39:33 PM8/5/19
to MIT App Inventor Forum
Any update about this issue? 

Chris Ward

unread,
Aug 5, 2019, 10:21:42 PM8/5/19
to MIT App Inventor Forum
Hi Federico

I don't know if Evan was able to fix the RSSI issue but there is an updated BLE extension being prepared for release soon.

Federico Raggio

unread,
Aug 6, 2019, 9:05:47 PM8/6/19
to MIT App Inventor Forum
Thank you Chris, we can resolve with a timer although we're waiting for the update.

Gerard Bucas

unread,
Aug 7, 2019, 1:04:38 AM8/7/19
to MIT App Inventor Forum
I have the same problem with RSSI.

So would also like to have it fixed.

Thanks

Gerard

Reply all
Reply to author
Forward
0 new messages