Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1090 SDR Startup Log error? #413

Closed
Axtel4 opened this issue May 9, 2016 · 6 comments
Closed

1090 SDR Startup Log error? #413

Axtel4 opened this issue May 9, 2016 · 6 comments
Labels

Comments

@Axtel4
Copy link

Axtel4 commented May 9, 2016

  1. Stratux version:

  2. Stratux config:

    SDR
    [ ] single
    [ X ] dual

    GPS
    [ X ] yes
    [ ] no
    type: VK-172

    AHRS
    [ ] yes
    [ X ] no

    power source: Ship power via mygoflight USB adaptor

    usb cable: N/A

  3. EFB app and version: (e.g., WingX Pro7 8.6.2) N/A

    EFB platform: (e.g., iOS 9.2) N/A

    EFB hardware: (e.g., iPad Mini 2) N/A

  4. Description of your issue:
    The ES Device data as reported in stratux.log appears to be corrupted. This is the snippet from the log:

2016/05/08 21:25:38 ===== ES Device Serial: stx:1090:40������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ PPM 40 =====

If possible, enable "Replay Logs", reproduce the problem, and provide a copy of the logs in http://192.168.10.1/logs/stratux/ and http://192.168.10.1/logs/stratux.log.

@cyoung
Copy link
Owner

cyoung commented May 13, 2016

Seems like a fairly innocuous error. Looks like we're parsing the string and assuming it is null terminated but it's not.

What are those characters? If you "cat -e" the logfile it'll show you character codes.

@Axtel4
Copy link
Author

Axtel4 commented May 13, 2016

I'll take a look at it.

On May 13, 2016 10:30:33 AM CDT, cyoung notifications@github.com wrote:

Seems like a fairly innocuous error. Looks like we're parsing the
string and assuming it is null terminated but it's not.

What are those characters? If you "cat -e" the logfile it'll show you
character codes.


You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
#413 (comment)

@Ergonomicmike
Copy link

FWIW, I got confused by these characters in the logs a few months ago when we were troubleshooting the failure of the Edimax. I saw the characters and posted a snippet for Chris, thinking that was when the failure occured. #267

@cyoung
Copy link
Owner

cyoung commented May 13, 2016

Yeah, I'll just have to add in some extra string handling. It should not affect function.

@Axtel4 Axtel4 changed the title 1090 SDR Startup Log error 1090 SDR Startup Log error? May 13, 2016
@Axtel4
Copy link
Author

Axtel4 commented May 14, 2016

@cyoung
Here is the result for the 1090 SDR:

2016/05/13 19:09:17 ===== ES Device Serial: stx:1090:40^@^@^@^@^@^@^@^@^@^@^@^@^ @^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^ @^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@ PPM 40 ===== $

I also found this for the 978 device:

2016/05/13 19:09:14 ===== UAT Device Serial: stx:978:34^@^@^@^@^@^@^@^@^@^@^@^@^ @^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@=====$

@Axtel4
Copy link
Author

Axtel4 commented May 14, 2016

@cyoung

Update: I cleared my old log and created a new one so you could see the whole log with the interesting character. What I was aiming for was to see the 1090 SDR gain setting like used to be in the stratux.log, but I think it may have been removed. Edit: Wrong log. Sorry.

stratux_char.log.txt

@cyoung cyoung closed this as completed in 2231ee4 May 14, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants