Skip to content

KISS character encoding? #31

@SARTrack

Description

@SARTrack

Hello,

I am trying to write the Direwolf TCP KISS interface in my program SARTrack. So that users do no longer have to use the AGWPE interface.

Problem is that for some reason the incoming data from TCP port 8001 cannot be decoded properly with the same KISS functions as I use for a TNC.

How is the TCP server transmitting the KISS packet? Is this in ASCII, Ansi or is there a text encoding active like UTF8 ?

When I decode in ASCII (my default), I get a packet like:
C0 00 << Start of packet
A2 6E A0 64 AA 64 40 << From callsign: OKAY, but SSID = 32 Not okay
B4 3F 68 3F 3F B0 70 << Should be "ZL4FOX-5" but is corrupted to "Z 4 X" or something.

When I decode as UTF8, it really become a mess:

FFFD 00 FFFD 6E FFFD 64 FFFD 64 40 FFFD FFFD 68 FFFD FFFD FFFD 70

Any ideas what is wrong here?

Bart Kindt
SARTrack developer & CEO
http://www.sartrack.co.nz/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions