Skip to content

Instantly share code, notes, and snippets.

@olebowle
Created November 4, 2014 12:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save olebowle/be5ba59f6780cf995670 to your computer and use it in GitHub Desktop.
Save olebowle/be5ba59f6780cf995670 to your computer and use it in GitHub Desktop.
irmpctl
irmpctl
-d --detect autodetect device
-f/--flash=fw flash firmware fw
-g --get
-c get capabilities
-r --reset
-s --set
-a/--alarm wakeup alarm in seconds from now
-w/--wakeslot=x wakeup ir-code of slot x
-t/--trigcmdslot=x trigger command of slot x
-i/--irslot=x triggered ir-code transmission on command of slot x
-t --transmit transmit ir-code
sec/ir-code
Capabilities:
CAN_GET_CAPS can get capabilities
CAN_UPDATE_FW can update firmware
CAN_RX_PROTOS NULL terminated list of supported receive protocols
CAN_TX can transmit ir-codes
CAN_TX_PROTOS NULL terminated list of supported transmit protocols
CAN_WAKE_ALARM can wakeup pc on a time basis
CAN_GET_WAKE_ALARM_TIME can get remaining seconds to wakeup signal emission
CAN_SET_WAKE_ALARM_TIME can set seconds to wakeup signal emission
CAN_RESET_WAKE_ALARM_TIME can reset/disable upcoming wakeup signal emission
WAKE_IR_SLOTS number of wakeup ir-code slots, cannot wake using ir --> 0
CAN_GET_WAKE_IR_SLOT can get wakeup ir-code slot
CAN_SET_WAKE_IR_SLOT can set wakeup ir-code slot
CAN_RESET_WAKE_IR_SLOT can reset/disable wakeup ir-code slot
TRIG_IR_SLOTS number of triggered ir-codes slots, cannot transmit triggered ircodes --> 0
CAN_GET_TRIG_CMD_SLOT can get trigger command slot
CAN_SET_TRIG_CMD_SLOT can set trigger command slot
CAN_RESET_TRIG_CMD_SLOT can reset/disable trigger command slot
CAN_GET_TRIG_IR_SLOT can get triggered ir-code on command of slot
CAN_SET_TRIG_IR_SLOT can set triggered ir-code on command of slot
CAN_RESET_TRIG_IR_SLOT can reset/disable triggered ir-code on command of slot
supported protocols: https://www.mikrocontroller.net/svnbrowser/irmp/irmpprotocols.h?view=markup
transmission protocol: https://www.mikrocontroller.net/articles/Remote_IRMP#Protokoll
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment