Skip to content

Commit ba1d674

Browse files
committed
Update WiThrottleProtocol.h
1 parent 2dabd06 commit ba1d674

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

src/WiThrottleProtocol.h

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ class WiThrottleProtocolDelegate
184184
/// @brief Delegate method to receive the a single Roster Entry from the Withrottle Server
185185
/// @param index sequence number
186186
/// @param name Roster entry name
187-
/// @param address DCC Address
187+
/// @param address DCC Address (String containing the DCC address as number preceeded with "S" or "L")
188188
/// @param length S|L Short or Long address
189189
virtual void receivedRosterEntry(int index, String name, int address, char length) {}
190190

@@ -289,35 +289,35 @@ class WiThrottleProtocolDelegate
289289
virtual void receivedTrackPower(TrackPower state) { } // PPAn
290290

291291
/// @brief Delegate method to receive from the Withrottle Server
292-
/// @param address DCC Address
292+
/// @param address DCC Address (String containing the DCC address as number preceeded with "S" or "L")
293293
/// @param entry TBA
294294
virtual void addressAdded(String address, String entry) { } // MT+addr<;>roster entry
295295

296296
/// @brief Delegate method to receive from the Withrottle Server
297-
/// @param address DCC Address
297+
/// @param address DCC Address (String containing the DCC address as number preceeded with "S" or "L")
298298
/// @param command TBA
299299
virtual void addressRemoved(String address, String command) { } // MT-addr<;>[dr]
300300

301301
/// @brief Delegate method to receive from the Withrottle Server
302-
/// @param address DCC Address
302+
/// @param address DCC Address (String containing the DCC address as number preceeded with "S" or "L")
303303
/// @param entry TBA
304304
virtual void addressStealNeeded(String address, String entry) { } // MTSaddr<;>addr
305305

306306
/// @brief Delegate method to receive from the Withrottle Server
307307
/// @param multiThrottle Which Throttle. Supported multiThrottle codes are 'T' '0' '1' '2' '3' '4' '5' only.
308-
/// @param address DCC Address
308+
/// @param address DCC Address (String containing the DCC address as number preceeded with "S" or "L")
309309
/// @param entry TBA
310310
virtual void addressAddedMultiThrottle(char multiThrottle, String address, String entry) { } // M0+addr<;>roster entry
311311

312312
/// @brief Delegate method to receive from the Withrottle Server
313313
/// @param multiThrottle Which Throttle. Supported multiThrottle codes are 'T' '0' '1' '2' '3' '4' '5' only.
314-
/// @param address DCC Address
314+
/// @param address DCC Address (String containing the DCC address as number preceeded with "S" or "L")
315315
/// @param command TBA
316316
virtual void addressRemovedMultiThrottle(char multiThrottle, String address, String command) { } // M0-addr<;>[dr]
317317

318318
/// @brief Delegate method to receive from the Withrottle Server
319319
/// @param multiThrottle Which Throttle. Supported multiThrottle codes are 'T' '0' '1' '2' '3' '4' '5' only.
320-
/// @param address DCC Address
320+
/// @param address DCC Address (String containing the DCC address as number preceeded with "S" or "L")
321321
/// @param entry TBA
322322
virtual void addressStealNeededMultiThrottle(char multiThrottle, String address, String entry) { } // MTSaddr<;>addr
323323

@@ -491,14 +491,14 @@ class WiThrottleProtocol
491491

492492
/// @brief Set a Function on a specified Loco only, on a specified Throttle
493493
/// @param multiThrottle Which Throttle. Supported multiThrottle codes are 'T' '0' '1' '2' '3' '4' '5' only.
494-
/// @param address DCC Address of the loco to set
494+
/// @param address DCC Address of the loco to set (String containing the DCC address as number preceeded with "S" or "L")
495495
/// @param funcnum Function Number
496496
/// @param pressed TBA
497497
void setFunction(char multiThrottle, String address, int funcnum, bool pressed);
498498

499499
/// @brief Set a Function on a specified Loco only, on a specified Throttle
500500
/// @param multiThrottle Which Throttle. Supported multiThrottle codes are 'T' '0' '1' '2' '3' '4' '5' only.
501-
/// @param address DCC Address of the loco to set
501+
/// @param address DCC Address of the loco to set (String containing the DCC address as number preceeded with "S" or "L")
502502
/// @param funcnum Function Number
503503
/// @param pressed TBA
504504
/// @param force TBA
@@ -565,13 +565,13 @@ class WiThrottleProtocol
565565

566566
/// @brief Set the direction of a specific locomotive on a specified Throttle
567567
/// @param multiThrottle Which Throttle. Supported multiThrottle codes are 'T' '0' '1' '2' '3' '4' '5' only.
568-
/// @param address DCC Address of the loco to set
568+
/// @param address DCC Address of the loco to set (String containing the DCC address as number preceeded with "S" or "L")
569569
/// @param direction Direction. One of - Reverse = 0, Forward = 1
570570
bool setDirection(char multiThrottle, String address, Direction direction);
571571

572572
/// @brief et the direction of a specific locomotive on a specified Throttle, with the option to force the send
573573
/// @param multiThrottle Which Throttle. Supported multiThrottle codes are 'T' '0' '1' '2' '3' '4' '5' only.
574-
/// @param address DCC Address of the loco to set
574+
/// @param address DCC Address of the loco to set (String containing the DCC address as number preceeded with "S" or "L")
575575
/// @param direction Direction. One of - Reverse = 0, Forward = 1
576576
/// @param ForceSend Option to force the command to be sent, even if the protocol thinks it is in that Direction
577577
bool setDirection(char multiThrottle, String address, Direction direction, bool ForceSend);
@@ -582,7 +582,7 @@ class WiThrottleProtocol
582582

583583
/// @brief Get the direction of a specific locomotives on a specific throttle
584584
/// @param multiThrottle Which Throttle. Supported multiThrottle codes are 'T' '0' '1' '2' '3' '4' '5' only.
585-
/// @param address DCC Address of the loco to get
585+
/// @param address DCC Address of the loco to get (String containing the DCC address as number preceeded with "S" or "L")
586586
Direction getDirection(char multiThrottle, String address);
587587

588588
/// @brief Emergency Stop all locomotives on a specific throttle
@@ -591,7 +591,7 @@ class WiThrottleProtocol
591591

592592
/// @brief Emergency Stop a specific locomotives on a specific throttle
593593
/// @param multiThrottle Which Throttle. Supported multiThrottle codes are 'T' '0' '1' '2' '3' '4' '5' only.
594-
/// @param address DCC Address of the loco to stop
594+
/// @param address DCC Address of the loco to stop (String containing the DCC address as number preceeded with "S" or "L")
595595
void emergencyStop(char multiThrottle, String address);
596596

597597
/// @brief Set the state of a Track Power

0 commit comments

Comments
 (0)