Multicast
Aus iSysBus Doku
(Weitergeleitet von Protokoll:Multicast)
Protokoll / ISB-Protokoll / Multicast
iSysBus Protokollschichten
| Anwendung | Bootloader | Config-Dienst | BusVariable | ... | ||
| Nachrichtentyp | Unicast | Multicast | ||||
| Transport | ISB-Protokoll | |||||
| Bussystem | CAN | USB | RS232 | RS485 | ... | |
Inhaltsverzeichnis |
Paketaufbau
Multicast-Frames haben folgenden grundsätzlichen Aufbau:
| TOF | Multicast-ID | Absender-Adresse | Pakettyp (TOP) | Daten |
| 2 Bit (01) | 16 Bit | 11 Bit | 1 Byte | 7 Bytes |
| 29 Bit | 8 Byte | |||
| CAN-Header | CAN Daten | |||
Reservierte Bereiche für Multicast-ID: 0x0000-0x3FFF: Statusmeldungen, Spezialnachrichten 0x0000-0x0FFF: reserviert 0x1000-0x1FFF: Schnittstellenbereich 0x2000-0x2FFF: Modulbereich 0x3000-0x3FFF: Dienstbereich 0x4000-0x7FFF: reserviert 0x8000-0xBFFF: Frei vergebbare IDs für Verknüpfungen 0xC000-0xFFFF: reserviert
Reservierte Multicast-IDs
| Multicast-ID | Inhalt | TOP | Info |
| 0x3001 | Time | 0x11 | Synchronisation der Zeit |
| 0x3002 | Date | 0x12 | Synchronisation des Datums |
TOP
Applikationstyp (TOA)
Der Applikationstyp (Type Of Application):
ISB_SRV_INPUT
| TOA | Bezeichnung | Info |
| 0x00 | - | reserviert |
| 0x01 | Taster | Pressed -> Ein/Aus |
| 0x02 | Schalter | Pressed -> Ein Released -> Aus |
| 0x03 | Dimmer (1 Taste) | PressedShort -> Ein/Aus PressedLong -> Richtung Umschalten PressedRepeat -> Heller/Dunkler |
| 0x04 | Dimmer (2 Tasten - Taste Heller) | PressedShort -> Ein (0x???? oder 0xffff) PressedRepeat -> Heller |
| 0x05 | Dimmer (2 Tasten - Taste Dunkler) | PressedShort -> Aus PressedRepeat -> Dunkler (Value=0 -> Aus) |
| 0x06 | Jalousie (1 Taste) | PressedShort -> Auf/Stop/Ab/Stop PressedLong -> Richtungswechsel Auf/Ab PressedRepeat -> Auf/Ab |
| 0x07 | Jalousie (2 Tasten - Taste Auf) | PressedShort -> Auf/Stop PressedRepeat -> Auf |
| 0x08 | Jalousie (2 Tasten - Taste Ab) | PressedShort -> Ab/Stop PressedRepeat -> Ab |
| 0x09 | #Temperatursensor | |
| 0x0a | # |
ISB_SRV_OUTPUT
| TOA | Bezeichnung | Info |
| 0x00 | - | reserviert |
| 0x01 | Digitaler Ausgang | |
| 0x02 | ||
| 0x03 | ||
| 0x04 | ||
| 0x05 | ||
| 0x06 | ||
| 0x07 | ||
| 0x08 | ||
| 0x09 | ||
| 0x0a |
Werttyp (TOV)
Statusbyte
| Statusbyte | ||
| Bits 7-6 | Bits 5-3 | Bits 2-0 |
| [DIR] | - | [EVT] |
| [EVT] | Info |
| 000 | Released |
| 001 | Pressed |
| 010 | PressedShort |
| 011 | PressedLong |
| 100 | PressedRepeat |
| [DIR] | Info |
| 00 | N/A |
| 01 | down / less |
| 10 | up / more |
| 11 | reserved |