3 This file is part of the MSP Märklin suite
4 Copyright © 2006-2008 Mikkosoft Productions, Mikko Rasa
5 Distributed under the GPL
21 ERR_NO_LOK_SPACE=0x8, // No space in lok command buffer
22 ERR_NO_TURNOUT_SPACE, // No space in turnout command buffer
23 ERR_NO_DATA, // "no Lok status available (Lok is not in a slot)"
24 ERR_NO_SLOT, // "there is no slot available"
30 ERR_LOW_TURNOUT_SPACE=0x40,
33 ERR_UNKNOWN_ERROR=0xFF
36 std::ostream &operator<<(std::ostream &, const Error &);
46 CMD_TURNOUT_FREE=0x93,
47 CMD_TURNOUT_STATUS=0x94,
48 CMD_TURNOUT_GROUP_STATUS=0x95,
49 CMD_SENSOR_STATUS=0x98,
50 CMD_SENSOR_REPORT=0x99,
51 CMD_SENSOR_PARAM_SET=0x9D,
58 CMD_EVENT_TURNOUT=0xCA,
62 std::ostream &operator<<(std::ostream &, const Cmd &);
64 } // namespace Marklin