Hide thumbs Also See for RedRat-X:

Advertisement

Quick Links

The RedRat-X
Integration Guide

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the RedRat-X and is the answer not in the manual?

Questions and answers

Summary of Contents for RedRat RedRat-X

  • Page 1 The RedRat-X Integration Guide...
  • Page 2: Table Of Contents

    TestManager ..........................4 RedRat Hub ..........................4 RedRat Control ......................... 5 Platform Support ..........................5 RedRat Hub - Sending Commands from Applications ............... 5 Using the RedRat SDK ........................6 RedRat-X Discovery ........................6 Simple Communication Tasks ....................6 IR Signal Output ........................7 6.3.1...
  • Page 3: Introduction

    RF module. Whether you are a new RedRat user or need to replace the use of older RedRat devices with a RedRat-X, this guide is intended to help integrate it into your software infrastructure, or to write new software applications from scratch.
  • Page 4: Redrat Applications

    TV/STB’s original remote control. The Signal DB Utility is used to do this, storing the IR data in files (XML format) for direct use in other RedRat applications and with the SDK. The IR data can also be exported in other formats for use in different applications or on different platforms.
  • Page 5: Redrat Control

    RedRat devices. Client applications then open a socket to RedRat Hub and send quite simple commands, such as: ip="192.168.1.40" dataset="Sky+" signal="play" output="3" This will send the IR signal play from the SKY+ dataset via output 3 of the RedRat device found at the given IP address (irNetBox or RedRat-X). name="RRX-1" output="4" dataset="SKY+" signal="play"...
  • Page 6: Using The Redrat Sdk

    USB devices are going to used, then it can be made almost instantaneous by limiting the search: var rrxLis = RRUtil.FindRedRats( LocationInfo.RedRatType.RedRatX_USB ); Assuming that there is at least one element in the list, the actual RedRat-X object for the first element in the list is obtained so: rrx = RedRatX.GetInstance( rrxLis[0] ) object is of type regardless of whether it is connected via USB or via the network.
  • Page 7: Ir Signal Output

    Thread.Sleep( 750 ); rrx.Disconnect(); 6.3 IR Signal Output The RedRat-X has four IR outputs, which in code are referred to as outputs 1 to 4: Output Number Function Output port 1 on back of case Output port 2 on back of case...
  • Page 8: Using The Rear Ir Ports

    Using the async API is identical to the IR blaster example, except the rear IR ports are selected rather than the front blaster. 6.4 IR Signal Input As with the RedRat3-II device, the RedRat-X has two IR detectors for different purposes as described below. 6.4.1 The Wide-Band Detector This allows the device to sample the raw IR signal, so is used for IR signal capture/learning.
  • Page 9: The Narrow-Band Detector

    6.4.2 The Narrow-Band Detector This is exactly the same kind of detector as is used in TVs and STBs, tuned to a particular IR signal modulation frequency, but with a long range of 10m or more. The default value of this detector’s frequency is 38KHz as this is the most common remote control carrier frequency, however we can replace it with a detector at another frequency if requested.
  • Page 10: Handling Usb Plug Events

    // Remove plug handler UsbPlugHandler.Instance.UsbPlugEvent -= usbPlugHandler; While the code is waiting for the user to hit <RETURN>, the RedRat-X can be unplugged and re-plugged a number of times to see the events as they are generated. In a normal application, it is probably more useful for the plug/unplug handler to be setup at the start of...
  • Page 11: Porting Redrat3-Ii Applications To The Redrat-X

    LoctionInfo IRedRat3 object is slightly different. This is a result of the fact that RedRat-X code has to handle both USB and network communication mechanisms, so a bit of underlying complexity is hidden in the GetInstance() method.
  • Page 12: Redrat-X Connect And Disconnect

    Using the RedRat-X and RedRat3-II should be almost identical, apart from the connect/disconnect steps required when using the RedRat-X. This is also a result of the fact that the RedRat-X could be on the end of a network connection (like the irNetBox) so that a connection could be needed, even though in this case we know it’s a USB device.

Table of Contents