VLCB SDK
An opinionated SDK for VLCB protocol
Loading...
Searching...
No Matches
merg.h File Reference
#include <stdint.h>
Include dependency graph for merg.h:

Go to the source code of this file.

Typedefs

typedef uint8_t VlcbMergModuleType
 

Enumerations

enum  VlcbMergModuleType {
  VLCB_MERG_MODULE_SLIM = 0 , VLCB_MERG_MODULE_CANACC4 = 1 , VLCB_MERG_MODULE_CANACC5 = 2 , VLCB_MERG_MODULE_CANACC8 = 3 ,
  VLCB_MERG_MODULE_CANACE3 = 4 , VLCB_MERG_MODULE_CANACE8C = 5 , VLCB_MERG_MODULE_CANLED = 6 , VLCB_MERG_MODULE_CANLED64 = 7 ,
  VLCB_MERG_MODULE_CANACC4_2 = 8 , VLCB_MERG_MODULE_CANCAB = 9 , VLCB_MERG_MODULE_CANCMD = 10 , VLCB_MERG_MODULE_CANSERVO = 11 ,
  VLCB_MERG_MODULE_CANBC = 12 , VLCB_MERG_MODULE_CANRPI = 13 , VLCB_MERG_MODULE_CANTTCA = 14 , VLCB_MERG_MODULE_CANTTCB = 15 ,
  VLCB_MERG_MODULE_CANHS = 16 , VLCB_MERG_MODULE_CANTOTI = 17 , VLCB_MERG_MODULE_CAN8I8O = 18 , VLCB_MERG_MODULE_CANSERVO8C = 19 ,
  VLCB_MERG_MODULE_CANRFID = 20 , VLCB_MERG_MODULE_CANTC4 = 21 , VLCB_MERG_MODULE_CANACE16C = 22 , VLCB_MERG_MODULE_CANIO8 = 23 ,
  VLCB_MERG_MODULE_CANSNDX = 24 , VLCB_MERG_MODULE_CANETHER = 25 , VLCB_MERG_MODULE_CANSIG64 = 26 , VLCB_MERG_MODULE_CANSIG8 = 27 ,
  VLCB_MERG_MODULE_CANCOND8C = 28 , VLCB_MERG_MODULE_CANPAN = 29 , VLCB_MERG_MODULE_CANACE3C = 30 , VLCB_MERG_MODULE_CANPANEL = 31 ,
  VLCB_MERG_MODULE_CANMIO = 32 , VLCB_MERG_MODULE_CANACE8MIO = 33 , VLCB_MERG_MODULE_CANSOL = 34 , VLCB_MERG_MODULE_CANBIP = 35 ,
  VLCB_MERG_MODULE_CANCDU = 36 , VLCB_MERG_MODULE_CANACC4CDU = 37 , VLCB_MERG_MODULE_CANWI_BASE = 38 , VLCB_MERG_MODULE_WI_CAB = 39 ,
  VLCB_MERG_MODULE_CANWI_FI = 40 , VLCB_MERG_MODULE_CANFTT = 41 , VLCB_MERG_MODULE_CANHNDST = 42 , VLCB_MERG_MODULE_CANTCHNDST = 43 ,
  VLCB_MERG_MODULE_CANRFID8 = 44 , VLCB_MERG_MODULE_CANMCH_RFID = 45 , VLCB_MERG_MODULE_CANPI_WI = 46 , VLCB_MERG_MODULE_CAN4DC = 47 ,
  VLCB_MERG_MODULE_CANELEV = 48 , VLCB_MERG_MODULE_CANSCAN = 49 , VLCB_MERG_MODULE_CANMIO_SVO = 50 , VLCB_MERG_MODULE_CANMIO_INP = 51 ,
  VLCB_MERG_MODULE_CANMIO_OUT = 52 , VLCB_MERG_MODULE_CANBIP_OUT = 53 , VLCB_MERG_MODULE_CANASTOP = 54 , VLCB_MERG_MODULE_CANCSB = 55 ,
  VLCB_MERG_MODULE_CANMAG = 56 , VLCB_MERG_MODULE_CANACE16CMIO = 57 , VLCB_MERG_MODULE_CANPI_NODE = 58 , VLCB_MERG_MODULE_CANDISP = 59 ,
  VLCB_MERG_MODULE_CANCOMPUTE = 60 , VLCB_MERG_MODULE_CANRC522 = 61 , VLCB_MERG_MODULE_CANINP = 62 , VLCB_MERG_MODULE_CANOUT = 63 ,
  VLCB_MERG_MODULE_CANXIO = 64 , VLCB_MERG_MODULE_CANCABDC = 65 , VLCB_MERG_MODULE_CANRCOM = 66 , VLCB_MERG_MODULE_CANMP3 = 67 ,
  VLCB_MERG_MODULE_CANXMAS = 68 , VLCB_MERG_MODULE_CANSVOSET = 69 , VLCB_MERG_MODULE_CANCMDDC = 70 , VLCB_MERG_MODULE_CANTEXT = 71 ,
  VLCB_MERG_MODULE_CANASIGNAL = 72 , VLCB_MERG_MODULE_CANSLIDER = 73 , VLCB_MERG_MODULE_CANDCATC = 74 , VLCB_MERG_MODULE_CANGATE = 75 ,
  VLCB_MERG_MODULE_CANSINP = 76 , VLCB_MERG_MODULE_CANSOUT = 77 , VLCB_MERG_MODULE_CANSBIP = 78 , VLCB_MERG_MODULE_CANBUFFER = 79 ,
  VLCB_MERG_MODULE_CANLEVER = 80 , VLCB_MERG_MODULE_CANSHIELD = 81 , VLCB_MERG_MODULE_CAN4IN4OUT = 82 , VLCB_MERG_MODULE_CANCMDB = 83 ,
  VLCB_MERG_MODULE_CANPIXEL = 84 , VLCB_MERG_MODULE_CANCABPE = 85 , VLCB_MERG_MODULE_CANSMARTTD = 86 , VLCB_MERG_MODULE_VLCB = 252 ,
  VLCB_MERG_MODULE_CAN_SW = 255 , VLCB_MERG_MODULE_EMPTY = 254 , VLCB_MERG_MODULE_CANUSB = 253
}
 

Typedef Documentation

◆ VlcbMergModuleType

typedef uint8_t VlcbMergModuleType

MERG Module types

Definition at line 8 of file merg.h.

Enumeration Type Documentation

◆ VlcbMergModuleType

Enumerator
VLCB_MERG_MODULE_SLIM 

default for SLiM nodes

VLCB_MERG_MODULE_CANACC4 

Solenoid point driver

VLCB_MERG_MODULE_CANACC5 

Motorised point driver

VLCB_MERG_MODULE_CANACC8 

8 digital outputs

VLCB_MERG_MODULE_CANACE3 

Control panel switch/button encoder

VLCB_MERG_MODULE_CANACE8C 

8 digital inputs

VLCB_MERG_MODULE_CANLED 

64 led driver

VLCB_MERG_MODULE_CANLED64 

64 led driver (multi leds per event)

VLCB_MERG_MODULE_CANACC4_2 

12v version of CANACC4

VLCB_MERG_MODULE_CANCAB 

CANCAB hand throttle

VLCB_MERG_MODULE_CANCMD 

CANCMD command station

VLCB_MERG_MODULE_CANSERVO 

8 servo driver (on canacc8 or similar hardware)

VLCB_MERG_MODULE_CANBC 

BC1a command station

VLCB_MERG_MODULE_CANRPI 

RPI and RFID interface

VLCB_MERG_MODULE_CANTTCA 

Turntable controller (turntable end)

VLCB_MERG_MODULE_CANTTCB 

Turntable controller (control panel end)

VLCB_MERG_MODULE_CANHS 

Handset controller for old BC1a type handsets

VLCB_MERG_MODULE_CANTOTI 

Track occupancy detector

VLCB_MERG_MODULE_CAN8I8O 

8 inputs 8 outputs

VLCB_MERG_MODULE_CANSERVO8C 

Canservo with servo position feedback

VLCB_MERG_MODULE_CANRFID 

RFID input

VLCB_MERG_MODULE_CANTC4 
VLCB_MERG_MODULE_CANACE16C 

16 inputs

VLCB_MERG_MODULE_CANIO8 

8 way I/O

VLCB_MERG_MODULE_CANSNDX 
VLCB_MERG_MODULE_CANETHER 

Ethernet interface

VLCB_MERG_MODULE_CANSIG64 

Multiple aspect signalling for CANLED module

VLCB_MERG_MODULE_CANSIG8 

Multiple aspect signalling for CANACC8 module

VLCB_MERG_MODULE_CANCOND8C 

Conditional event generation

VLCB_MERG_MODULE_CANPAN 

Control panel 32/32

VLCB_MERG_MODULE_CANACE3C 

Newer version of CANACE3 firmware

VLCB_MERG_MODULE_CANPANEL 

Control panel 64/64

VLCB_MERG_MODULE_CANMIO 

Multiple I/O – Universal CANMIO firmware

VLCB_MERG_MODULE_CANACE8MIO 

Multiple IO module 16 inputs emulating CANACE8C on CANMIO hardware

VLCB_MERG_MODULE_CANSOL 

Solenoid driver module

VLCB_MERG_MODULE_CANBIP 

Universal CANBIP firmware - Bipolar IO module with additional 8 I/O pins (CANMIO family)

VLCB_MERG_MODULE_CANCDU 

Solenoid driver module with additional 6 I/O pins (CANMIO family)

VLCB_MERG_MODULE_CANACC4CDU 

CANACC4 firmware ported to CANCDU

VLCB_MERG_MODULE_CANWI_BASE 

CAN to MiWi base station

VLCB_MERG_MODULE_WI_CAB 

Wireless cab using MiWi protocol

VLCB_MERG_MODULE_CANWI_FI 

CAN to WiFi connection with Withrottle to CBUS protocol conversion

VLCB_MERG_MODULE_CANFTT 

Turntable controller configured using FLiM

VLCB_MERG_MODULE_CANHNDST 

Handset (alternative to CANCAB)

VLCB_MERG_MODULE_CANTCHNDST 

Touchscreen handset

VLCB_MERG_MODULE_CANRFID8 

multi-channel RFID reader

VLCB_MERG_MODULE_CANMCH_RFID 

either a 2ch or 8ch RFID reader

VLCB_MERG_MODULE_CANPI_WI 

a Raspberry Pi based module for WiFi

VLCB_MERG_MODULE_CAN4DC 

DC train controller

VLCB_MERG_MODULE_CANELEV 

Nelevator controller

VLCB_MERG_MODULE_CANSCAN 

128 switch inputs

VLCB_MERG_MODULE_CANMIO_SVO 

16MHz 25k80 version of CANSERVO8c on CANMIO hardware

VLCB_MERG_MODULE_CANMIO_INP 

16MHz 25k80 version of CANACE8MIO on CANMIO hardware

VLCB_MERG_MODULE_CANMIO_OUT 

16MHz 25k80 version of CANACC8 on CANMIO hardware

VLCB_MERG_MODULE_CANBIP_OUT 

16MHz 25k80 version of CANACC5 on CANBIP hardware

VLCB_MERG_MODULE_CANASTOP 

DCC stop generator

VLCB_MERG_MODULE_CANCSB 

CANCMD with on board 3A booster

VLCB_MERG_MODULE_CANMAG 

Magnet on Track detector

VLCB_MERG_MODULE_CANACE16CMIO 

16 input equivaent to CANACE8C

VLCB_MERG_MODULE_CANPI_NODE 

CBUS module based on Raspberry Pi

VLCB_MERG_MODULE_CANDISP 

25K80 version of CANLED64 (IHart and MB)

VLCB_MERG_MODULE_CANCOMPUTE 

Compute Event processing engine

VLCB_MERG_MODULE_CANRC522 

Read/Write from/to RC522 RFID tags

VLCB_MERG_MODULE_CANINP 

8 inputs module (2g version of CANACE8c) (Pete Brownlow)

VLCB_MERG_MODULE_CANOUT 

8 outputs module (2g version of CANACC8) (Pete Brownlow)

VLCB_MERG_MODULE_CANXIO 

Extended CANMIO (24 I/O ports) (Pete Brownlow)

VLCB_MERG_MODULE_CANCABDC 

DC cab

VLCB_MERG_MODULE_CANRCOM 

DC Railcom detector/reader

VLCB_MERG_MODULE_CANMP3 

MP3 sound player in response to events (eg: station announcements) (Duncan Greenwood)

VLCB_MERG_MODULE_CANXMAS 

Addressed RGB LED driver (Duncan Greenwood)

VLCB_MERG_MODULE_CANSVOSET 

Servo setting box (Duncan Greenwood)

VLCB_MERG_MODULE_CANCMDDC 

DC Command station

VLCB_MERG_MODULE_CANTEXT 

Text message display

VLCB_MERG_MODULE_CANASIGNAL 

Signal controller

VLCB_MERG_MODULE_CANSLIDER 

DCC cab with slider control (Dave Radcliffe)

VLCB_MERG_MODULE_CANDCATC 

DC ATC module (Dave Harris)

VLCB_MERG_MODULE_CANGATE 

Logic module using and/or gates (Phil Silver)

VLCB_MERG_MODULE_CANSINP 

Q series PIC input module (Ian Hart)

VLCB_MERG_MODULE_CANSOUT 

Q series PIC input module (Ian Hart)

VLCB_MERG_MODULE_CANSBIP 

Q series PIC input module (Ian Hart)

VLCB_MERG_MODULE_CANBUFFER 

Message buffer (Phil Silver)

VLCB_MERG_MODULE_CANLEVER 

Lever frame module (Tim Coombs)

VLCB_MERG_MODULE_CANSHIELD 

Kit 110 Arduino shield test firmware

VLCB_MERG_MODULE_CAN4IN4OUT 

4 inputs 4 outputs (Arduino module)

VLCB_MERG_MODULE_CANCMDB 

CANCMD with built in booster (Simon West)

VLCB_MERG_MODULE_CANPIXEL 

neopixel driver (Jon Denham)

VLCB_MERG_MODULE_CANCABPE 

Cab2 with pot or encoder (Simon West hardware, Jon Denham new C firmware)

VLCB_MERG_MODULE_CANSMARTTD 

Smart train detector (Michael Smith)

VLCB_MERG_MODULE_VLCB 

All VLCB modules have the same ID

VLCB_MERG_MODULE_CAN_SW 

Software nodes

VLCB_MERG_MODULE_EMPTY 

Empty module, bootloader only

VLCB_MERG_MODULE_CANUSB 

USB interface

Definition at line 9 of file merg.h.