Peter (flash62au) has some possible rules for a new command structure:
Uppercase commands. Lowercase responses (echo)
most commands would have two parts. a) what type of 'thing' you are acting on. b) the action or nature of the respose. e.g. <P 1 = Power on <P 1 1 =Power On Track 1
the first letter have a clear, unique meaning. e.g. T,t = turnout L,l=loco or E,e=engine P,p =power
if a response first letter has more than one meaning then the second letter (or second parameter) will be distinctly different e.g <T A = Throttle,Action <T L = Throttle list request <t L = Throttle list response <t E = Throttle Entry respone etc.
a response (type) will always have the same number of parameters e.g. <t E id "desc" = valid or <t E id X = unkown
Peter (flash62au) has some possible rules for a new command structure: