Ergebnis 1 bis 5 von 5

Thema: HS telegram UDP question

  1. #1
    Registriert seit
    Jul 2003
    Ort
    Netherlands, Naarden
    Beiträge
    18

    HS telegram UDP question

    Hi dear Friends,

    I am trying to get some kind of XML interface working with HomeServer.

    However, it appears that in UDP messages the <> characters are changed into []. But when I specify [] in the text prefix or postfix it still doesnt work.

    When I send following message :
    Please read < for $ and > for % as the tags are otherwise interpreted wrong by the browser.
    Code:
    "$HSFILE%$OTEMP%8.1$/OTEMP%$/HSFILE%"
    then in debug I see :
    17.01.2005 12:53:39 (Typ: UDP) (Port: 1500) (Absender-IP: 10.0.0.26)
    [HSFILE][OTEMP]8.1[/OTEMP][/HSFILE]

    If I specify the [HSFILE] etc. in the Text Pre and post it still doesnt work.

    When I send a UDP message from HS the <> are not translated and are received correctly in the socketlistener on my PC.

    So, I tried to send different characters: *|;:=[]@$%&?<>
    They are appearing in the debug log like : *|;:=[]@$%&?[] .

    To be clear, when I do not use <> then the interface works without problems. But I would like to have the <> characters included.

    Is this a bug or restriction on HomeServer ?

    CORRECTION from myself : I made a mistake myself. The < and > are only displayed as [ and ] in the debug site.

    It didnt work because I misplaced 1 character in the telegram and was confused by the debug site.

    Lesson : Dont shout if you didnt double check.

    Regards,

    Rob Roos
    Geändert von robroos (18.01.05 um 23:13 Uhr)
    Best regards,
    Rob Roos

  2. #2
    Registriert seit
    Apr 2002
    Ort
    Radevormwald
    Beiträge
    2.363
    Try to use the HEX-Value instead.
    Gruss aus Radevormwald
    Michel
    .
    Hier bin ich jetzt zu finden: knx-user-forum.de

  3. #3
    Registriert seit
    Jul 2003
    Ort
    Netherlands, Naarden
    Beiträge
    18
    Michel,

    In telegram receive it is not possible to specify Hex.

    The message itself is from a program, it does send hex codes

    < equals x'3C'
    > equals x'3E'
    Best regards,
    Rob Roos

  4. #4
    Registriert seit
    Apr 2002
    Ort
    Radevormwald
    Beiträge
    2.363
    *confused*

    In which direction are you trying to send these datagrams? It ist possible to send HEX-Values from the Homeserver. It is actually used in my tool "IP-Alarm" in order to display messages with Carriage Returns.
    Gruss aus Radevormwald
    Michel
    .
    Hier bin ich jetzt zu finden: knx-user-forum.de

  5. #5
    Registriert seit
    Jul 2003
    Ort
    Netherlands, Naarden
    Beiträge
    18
    Michel,

    I am sending from a programme (like HSInfoman) to the HomeServer.

    However, I think I found the problem.

    It seems that I misplaced one tag .

    It now works (You must be carefull with the placement of the values. I didnt)

    So, all thanks for your help !
    Best regards,
    Rob Roos

Aktive Benutzer

Aktive Benutzer

Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1)

Lesezeichen

Lesezeichen

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
  •