33 void HandleLc(
int locoAddress,
int speed,
int minSpeed,
int maxSpeed,
char *mode,
bool dirForward);
40 static void discoveryLoop(
void *parm);
43 void initLocomotives(std::vector<BLELocomotiveConfiguration *> locoConfigs);
Definition BLEHubScanner.h:8
Definition BLELocomotive.h:11
Definition MController.h:20
Definition MTC4BTController.h:9
MTC4BTController()
Definition MTC4BTController.cpp:39
void HandleSys(const bool ebrake)
Definition MTC4BTController.cpp:81
bool HasLocomotive(uint address)
Definition MTC4BTController.cpp:76
void Setup(MTC4BTConfiguration *config)
Definition MTC4BTController.cpp:43
void SetupScanner()
Definition MTC4BTController.cpp:55
void HandleTrigger(int locoAddress, MCTriggerSource source, std::string eventType, std::string eventId, std::string value)
Definition MTC4BTController.cpp:107
void Loop()
Definition MTC4BTController.cpp:65
void HandleLc(int locoAddress, int speed, int minSpeed, int maxSpeed, char *mode, bool dirForward)
Definition MTC4BTController.cpp:87
std::vector< BLELocomotive * > Locomotives
Definition MTC4BTController.h:15
MCTriggerSource
Definition enums.h:77
Definition MTC4BTConfiguration.h:6