AlexaSDK Everloop Colors


#1

I prefer the Alexa Idle color to be Blue.

After poking around in the Sample App code, it appears that the Idle color is already set to Blue?

In EverloopControl.cpp, you’ve got this:

case DialogUXState::IDLE:
            SetEverloopColors(0,0,10,0);
            return;

That sure looks like the color is being set to Blue.

However, in everloop.cpp, it has this:

    buff[addr_offset] = led.red;
    buff[addr_offset+1] = led.green;
    buff[addr_offset+2] = led.white;
    buff[addr_offset+3] = led.blue;
    addr_offset +=4;

Is this correct? Are white and blue reversed?

Thank you,

Kenny


#2

I think you are right @gapdev, did you tested with the white and blue colors swapped like this?

    buff[addr_offset] = led.red;
    buff[addr_offset+1] = led.green;
    buff[addr_offset+2] = led.blue;
    buff[addr_offset+3] = led.white;
    addr_offset +=4; 

Let me know .

Thank you for the feedback
-Yoel


#3

Yes, I swapped those two lines so it looks like above, and the Idle Color is now blue.

Kenny