Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
igclient:sending [2014/11/30 21:01]
127.0.0.1 external edit
igclient:sending [2019/05/08 10:13]
bluey [--set-carrier======carrier (kHz)]
Line 3: Line 3:
 The igclient provides a number of arguments to control signal transmission. The igclient provides a number of arguments to control signal transmission.
  
-===== --send======filename ​==+===== --send==filename ​=====
 Send the pulses and spaces from a file.  Files that are accepted by the send function must contain only lines specifying the lengths of alternating pulses and spaces in microseconds as shown below. ​ These pulses and spaces are sent to the daemon as an array of uint32_t values. ​ These are then translated inside the daemon into counts of a delay loop.  This translation is done on the PC to keep the firmware as simple as possible. Send the pulses and spaces from a file.  Files that are accepted by the send function must contain only lines specifying the lengths of alternating pulses and spaces in microseconds as shown below. ​ These pulses and spaces are sent to the daemon as an array of uint32_t values. ​ These are then translated inside the daemon into counts of a delay loop.  This translation is done on the PC to keep the firmware as simple as possible.
 <​code>​ <​code>​
Line 31: Line 31:
 Check which channels are used during transmits. ​ Our current products have either 2, 3 or 4 channels. ​ If the device has 2 plugs all four channels are usable. ​ In hybrid versions channels 1, 3, and 4 are accessible. ​ Versions with 2 LEDs have an LED connected to channels 1 and 3.  For this command the channels are specified in hexadecimal format meaning that if channels 1 and 3 are in use the returned value (from --get-channels) will be 0x5. Channels 1 and 4 would be 0x09; Channel 3 alone would be 0x4. See http://​en.wikipedia.org/​wiki/​Hexidecimal for more info on hexidecimal encoding. Check which channels are used during transmits. ​ Our current products have either 2, 3 or 4 channels. ​ If the device has 2 plugs all four channels are usable. ​ In hybrid versions channels 1, 3, and 4 are accessible. ​ Versions with 2 LEDs have an LED connected to channels 1 and 3.  For this command the channels are specified in hexadecimal format meaning that if channels 1 and 3 are in use the returned value (from --get-channels) will be 0x5. Channels 1 and 4 would be 0x09; Channel 3 alone would be 0x4. See http://​en.wikipedia.org/​wiki/​Hexidecimal for more info on hexidecimal encoding.
  
-===== --set-channels======channels ​==+===== --set-channels==channels ​====
 Set which channels are used during transmits. ​ Look at the documentation of --get-channels for an explanation of the channels. ​ Note that specifying a channel list that does not overlap with the accessible channels is possible and results in the firmware going through the motions of transmitting without emitting any light. Set which channels are used during transmits. ​ Look at the documentation of --get-channels for an explanation of the channels. ​ Note that specifying a channel list that does not overlap with the accessible channels is possible and results in the firmware going through the motions of transmitting without emitting any light.
  
Line 37: Line 37:
 Check the carrier frequency for transmits. ​ The carrier frequency is adjustable given supported versions of the firmware (verison 0x0101 or higher) and driver (0.91 or higher). ​ This is the frequency at which the LEDs are flashed. ​ For example an IR pulse of 1000us actually consists of the LED flashing on and off at 38kHz for 1000us. ​ The default is 38kHz, and is compatible with most devices, however, frequencies from 25kHz to 100kHz are supported. Check the carrier frequency for transmits. ​ The carrier frequency is adjustable given supported versions of the firmware (verison 0x0101 or higher) and driver (0.91 or higher). ​ This is the frequency at which the LEDs are flashed. ​ For example an IR pulse of 1000us actually consists of the LED flashing on and off at 38kHz for 1000us. ​ The default is 38kHz, and is compatible with most devices, however, frequencies from 25kHz to 100kHz are supported.
  
-===== --set-carrier======carrier (kHz) ==+===== --set-carrier==carrier (kHz) ====
 Users can set the frequency used for transmission. ​ Please read the documentation for --get-carrier for details. Users can set the frequency used for transmission. ​ Please read the documentation for --get-carrier for details.