Bug #435

Feature #161: Support the FrSky Sensor Hub Protocol

Application crash when opening hub activity

Added by Espen Solbu over 6 years ago. Updated over 6 years ago.

Status:ClosedStart date:05/09/2012
Priority:NormalDue date:
Assignee:Android Dashboard Developers% Done:

100%

Category:-Spent time:-
Target version:3.0 FrSky hub and sensors

Description

When running with hub, and enabled hub support.
I get application crash when i try to open the hub activity. I assume it is because i am not using all sensors, and activity attempting to read a non initialized value.

My attached hub sensors are:
  1. GPS
  2. Altitude(vario)
  3. Temperature

They seem to work fine when used as "source channels" for model channels.

The attached raw file will produce the error

FunCub_20120509-225338.raw (65.7 KB) Espen Solbu, 05/09/2012 11:35 pm

hubactivitycrashexception.txt Magnifier - exception from crash (2.41 KB) Espen Solbu, 05/09/2012 11:50 pm

Associated revisions

Revision 414
Added by Espen Solbu over 6 years ago

closes #435 needed a toString conversion on the value before using setText on it

History

#2 Updated by Espen Solbu over 6 years ago

The crash happens when the activity tries to update any of the GPS time/date fields.
All the other GPS fields (and other fields) work fine

#3 Updated by Espen Solbu over 6 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Applied in changeset r414.

Also available in: Atom PDF