Ticket #1365 (closed defect: fixed)
Vega - Can't update vega sensors
| Reported by: | scottp | Owned by: | max |
|---|---|---|---|
| Priority: | normal | Milestone: | XCSoar 6.x @ Altair |
| Component: | Devices | Version: | 6.0 |
| Keywords: | Cc: |
Description
(from sam): 2 days ago a customer contacted me with vega where al sensors was desabled. it was not possible to reenable teh sensors with 6.1.1/2. we installed the triadis xcsoar factory reset the vega etc.
no i have mage test and waht i can see is that the vega configuration dialog dont work, all properties stay on off,0. but i cound not write properties to the vega.
Note from Scott: It could be related to the lack of GPS Fix. Worth trying.
Putting under Altair as it is related.
Attachments
Change History
comment:2 Changed 4 months ago by ubx
d05916f77712f90648638a73e58da7f3bffcaa42
The patch works for UNIX. Unfortunately I was not able to setup full working development environment for remote debugging on a PC.
If someone wants to test with a Vega, it can be accessed via RFC 2217:
Linux:
$ sudo socat TCP:vega-server.dyndns.ws:4001 pty,link=/dev/ttyS1,raw,echo=0,crnl
$ sudo chmod a=rw /dev/ttyS1
PC:
Download HW VSP Singleport, http://new.hwg.cz/download/sw/version/hw-vsp3-multi_3-1-1.exe
create a serial virtual com port, vega-server.dyndns.ws port 4001
Changed 4 months ago by ubx
-
attachment
0001-Fix-for-Ticket-1365-works-unfortunately-for-UNIX-onl.patch
added







After some investigation with 6.2.3:
Test-case 1
Vega connected.
In XCSoar: Config->Config->Config->Devices->Manage
Serial line trace: XCSoar queries all Vega properties and received correct answers, like:
$PDVSC,R,HasPressureTE*6E
$PDVSC,A,HasPressureTE,1*60
=> all ok!
Test-case 2
Vega connected.
In XCSoar: Config->Config->Config->Devices->Manage
Wait until all properties read
Change a property, for instance "TE port" from Off to On
Push the Save button.
Serial line trace: XCSoar sends just "$PDVSC,S,StoreToEeprom?,2*5B" to Vega.
=> no property sentence is sent to Vega ($PDVSC,S,<Label>,<Value>) before the StoreToEeprom?.