Bang & Olufsen ML Gateway Installationsanleitung Seite 35

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 58
  • Inhaltsverzeichnis
  • FEHLERBEHEBUNG
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 34
Supported devices 35
Custom strings
The Custom strings driver is intended to enable limited communication with unsupported home automation systems. Use of this driver requires
knowledge of the protocol for the external system. ML Gateway supports up to 4 custom strings drivers.
Resources
This driver is based on matching incoming byte strings from the external system, and sending back byte strings to it. Therefore resources are
generic strings used for matching and for sending to the system.
There are 3 parameters to each resource:
- Name for the resource.
- Whether it should be available for matching (INPUT), for sending (OUTPUT), or for both (BOTH).
- A generic character string.
In order to allow arbitrary byte values to be dened, the following coding is used:
- Any character except for backslash (\) will be given it's corresponding vaule. Non-ASCII (international) characters are interpreted as Unicode UTF-8
byte sequences.
- Backslash is used as an escape character, which gives special meaning to the character o characters that follow:
\\ (double backslash) is interpreted as a single backslash.
\r is interpreted as a carriage return character (0x0D). It will be immediately redisplayed as \0D.
\n is interpreted as a newline character (0x0A). It will be immediately redisplayed as \0A.
\" is equivalent to a double quote ("). This notation is required for import/export of resources in text form.
\xx (where x is a hexadecimal digit [0-9, a-f, A-F]) is interpreted as a hexadecimal byte value. E.g. \0A is equivalent to \n.
Any non-printable or non ASCII character entered by the user will be redisplayed as a hexadecimal sequence. Illegal or truncated escape sequences
will be marked as errors.
In order to ease the editing and sharing of string denitions, the list of resources can be exported to a text le, and imported back from a text le.
Imported resources can replace all dened resources, or be appended to the current list.
Continues on next page...
Seitenansicht 34
1 2 ... 30 31 32 33 34 35 36 37 38 39 40 ... 57 58

Kommentare zu diesen Handbüchern

Keine Kommentare