Results 1 to 1 of 1

Thread: Aura OPC Server

  1. #1
    New ROGer Array toroidalcode PC Specs
    toroidalcode PC Specs
    Laptop (Model)Lenovo T440s
    MotherboardMaximus IX Extreme
    ProcessorIntel Core i7-7700K
    Memory (part number)Corsair Vengeance DDR4-3200 16GB
    Graphics Card #1GeForce GTX 1060 STRIX
    Sound CardSound Blaster ZxR
    CPU CoolerBitspower Monoblock / EKWB EK-XRES Revo D5 / Black Ice Nemesis 480GTX
    CaseThermaltake Core P5
    Power SupplyCorsair AX1200i
    Keyboard Leopold "otaku" w/ Cherry MX Brown
    Mouse Razer Naga Chroma
    OS Arch Linux / Windows 10.1
    Accessory #1 Razer Orbweaver Chroma
    toroidalcode's Avatar
    Join Date
    Mar 2017
    Reputation
    10
    Posts
    1

    Aura OPC Server

    Alright, so this is (at least from what I can see) the first published little bit of software using the SDK. Yay!

    OpenPixelControl is a very simple open-source protocol for controlling LED lighting. Considering I use it for just about everything on my system (HD120 fans connected to a fadecandy, Razer mouse and gamepad through Colore and bindings), I figured it would be a good idea to just go ahead and put some stuff together to make the two work happily.

    The OPC example code includes a very basic TCP socket server written in C for Linux, which I took the liberty of (trivially) adapting to Windows. The server uses a simple callback for handling responses, so beyond that it was only a few lines to glue the server to the SDK.

    All of your system components are mapped to pixels on channel 0, in the order that they appear when queried. The default port is 7890, but can be changed by providing an alternate as the first argument.

    If there are any problems with it, let me know. Right now, there's an issue with the update speed, as noted in another thread on here, but hopefully that'll be fixed soon enough, and since it would appear to be on the Aura DLL side, won't alter the API nor how this program works.

    The source code I'm attaching doesn't include the RogAuraService.[cpp/h] files, as that's part of the SDK, and is simply the bare C/C++ files, easily added to a new Visual Studio console application project.

    Version: 1.0
    Release
    Source code
    Nyx: ThermalTake Core P5 // ASUS Maximus IX Extreme // Intel Core i7-7700K @ 5.1GHz // Corsair Vengeance LPX 16GB @ 3200MHz // ROG GeForce GTX 1060 Strix // Sound Blaster ZxR // Corsair AX1200i // EKWB EK-XRES D5 // Black Ice Nemesis 480GTX

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •