Frontend  0.5.1
Loading...
Searching...
No Matches
z21_service.dart File Reference

Classes

class  Header
class  XHeader
class  DB0
class  BroadcastFlags
class  Command
class  ReplyToLanGetSerialNumber
class  ReplyToLanGetCode
class  ReplyToLanGetHwInfo
class  LanXTurnoutInfo
class  LanXExtAccessoryInfo
class  LanXBcTrackPowerOff
class  LanXBcTrackPowerOn
class  LanXBcProgrammingMode
class  LanXBcTrackShortCircuit
class  LanXCvNackSc
class  LanXCvNack
class  LanXUnknownCommand
class  LanXStatusChanged
class  ReplyToLanXGetVersion
class  LanXCvResult
class  LanXBcStopped
class  LanXLocoInfo
class  ReplyToLanXGetFirmwareVersion
class  ReplyToLanGetBroadcastFlags
class  ReplyToLanGetLocoMode
class  ReplyToLanGetTurnoutMode
class  LanRmBusDataChanged
class  LanSystemStateDataChanged
class  LanRailComDataChanged
class  LanLoconetZ21Rx
class  LanLoconetZ21Tx
class  LanLoconetFromLan
class  LanLoconetDispatchAddr
class  LanLoconetDetector
class  LanCanDetector
class  ReplyToLanCanDeviceGetDescription
class  LanCanBoosterSystemStateChanged
class  LanFastClockData
class  LanFastClockSettingsGet
class  ReplyToLanBoosterGetDescription
class  LanBoosterSystemStateDataChanged
class  ReplyToLanDecoderGetDescription
class  LanDecoderSystemStateDataChanged
class  ReplyToLanZLinkGetHwInfo
interface  Z21Service

Enumerations

enum  BroadcastFlag {
  DrivingSwitching =(0x00000001) , RBus =(0x00000002) , RailComSubscribed =(0x00000004) , SystemStatus =(0x00000100) ,
  DrivingSwitchingEx =(0x00010000) , LocoNet =(0x01000000) , LocoNetDriving =(0x02000000) , LocoNetSwitching =(0x04000000) ,
  LocoNetDetector =(0x08000000) , RailCom =(0x00040000) , CANDetector =(0x00080000) , CANBooster =(0x00020000) ,
  fromInt
}

Functions

int bigEndianData2uint16 (Uint8List data)
int bigEndianData2int16 (data)
int littleEndianData2uint16 (Uint8List data)
int littleEndianData2uint32 (Uint8List data)
int bigEndianData2locoAddress (Uint8List data)
int bigEndianData2cvAddress (Uint8List data)
int bigEndianLocoAddressMsb (int locoAddress)
int bigEndianLocoAddressLsb (int locoAddress)
int bigEndianAccessoryAddressMsb (int accyAddress)
int bigEndianAccessoryAddressLsb (int accyAddress)
int littleEndianLocoAddressMsb (int locoAddress)
int littleEndianLocoAddressLsb (int locoAddress)
int stupidAccessoryAddressMsb (int accyAddress)
int stupidAccessoryAddressLsb (int accyAddress)
int decodeRvvvvvvv (int speedSteps, int rvvvvvvv)
int encodeRvvvvvvv (int speedSteps, bool dir, int speed)

Variables

import dart
import package

Enumeration Type Documentation

◆ BroadcastFlag

Enumerator
DrivingSwitching 
RBus 
RailComSubscribed 
SystemStatus 
DrivingSwitchingEx 
LocoNet 
LocoNetDriving 
LocoNetSwitching 
LocoNetDetector 
RailCom 
CANDetector 
CANBooster 
fromInt 

Function Documentation

◆ bigEndianAccessoryAddressLsb()

int bigEndianAccessoryAddressLsb ( int accyAddress)
Todo
document

◆ bigEndianAccessoryAddressMsb()

int bigEndianAccessoryAddressMsb ( int accyAddress)
Todo
document

◆ bigEndianData2cvAddress()

int bigEndianData2cvAddress ( Uint8List data)
Todo
document

◆ bigEndianData2int16()

int bigEndianData2int16 ( data)
Todo
document

◆ bigEndianData2locoAddress()

int bigEndianData2locoAddress ( Uint8List data)
Todo
document

◆ bigEndianData2uint16()

int bigEndianData2uint16 ( Uint8List data)
Todo
document

◆ bigEndianLocoAddressLsb()

int bigEndianLocoAddressLsb ( int locoAddress)
Todo
document

◆ bigEndianLocoAddressMsb()

int bigEndianLocoAddressMsb ( int locoAddress)
Todo
document

◆ decodeRvvvvvvv()

int decodeRvvvvvvv ( int speedSteps,
int rvvvvvvv )
Todo
document

◆ encodeRvvvvvvv()

int encodeRvvvvvvv ( int speedSteps,
bool dir,
int speed )
Todo
document

◆ littleEndianData2uint16()

int littleEndianData2uint16 ( Uint8List data)
Todo
document

◆ littleEndianData2uint32()

int littleEndianData2uint32 ( Uint8List data)
Todo
document

◆ littleEndianLocoAddressLsb()

int littleEndianLocoAddressLsb ( int locoAddress)
Todo
document

◆ littleEndianLocoAddressMsb()

int littleEndianLocoAddressMsb ( int locoAddress)
Todo
document

◆ stupidAccessoryAddressLsb()

int stupidAccessoryAddressLsb ( int accyAddress)
Todo
document

◆ stupidAccessoryAddressMsb()

int stupidAccessoryAddressMsb ( int accyAddress)
Todo
document

Variable Documentation

◆ dart

import dart

◆ package

import package