Template:A-Series/Protocol Link

From ZaberWiki
Jump to navigation Jump to search

Autogenerates the correct links for a device command for both protocols. Takes the following parameters:

  • ASCII - the ascii command name, ie: 'home' or 'system reset'
  • Binary - the binary command number, ie: '1' or '0'. If Binary is left empty there will just be a link to the ASCII reference:
  • CR - if 1 a carriage return will be appended to the ascii command.

{{A-Series/Protocol_Link|ASCII=home|Binary=0|Value=99}} -> home 99 (T:0:99) (for specifying the binary command and data)

{{A-Series/Protocol_Link|ASCII=home|Binary=0}} -> home (T:0) (just specifying the binary command)

{{A-Series/Protocol_Link|ASCII=home}} -> home (no equivelent binary command)