-
Notifications
You must be signed in to change notification settings - Fork 7
Home
Commander API:
setReloadChar(char reloadChar)
showInternalCommands(bool state)
setSettings(cmdSettings_t newSet)
portSettings_t getPortSettings()
setPortSettings(portSettings_t newPorts)
setDelimiters(String myDelims)
print(printType printableVariable)
print(printType printableVariable, int fmt)
println(printType printableVariable)
println(printType printableVariable, int fmt)
write(printType printableVariable)
write(printType printableVariable, int length)
Commander can be locked and unlocked. If an optional passphrase is set then it must be used to unlock the command system.
There are two lock levels, soft or hard. A soft lock allows internal commands to be used and will print help data. A hard lock prevents all internal commands except the unlock command. HARD_LOCK and SOFT_LOCK are defined as macros for true and false.
attachCommands(const commandList_t *commands, uint32_t size)
transferTo(const commandList_t *commands, uint32_t size, String newName)
transferBack(const commandList_t *commands, uint32_t size, String newName)
attachSpecialHandler(cmdHandler handler)
attachOutputPort(Stream *oPort)
attachInputPort(Stream *iPort)
attachDefaultHandler(cmdHandler handler)
setStreamType(streamType_t newType)
quickSet(String cmd, int& var)
quickSet(String cmd, float& var)
quickSet(String cmd, double& var)
quickGet(String cmd, float var)
getCommandItem(uint16_t commandItem)