How to use e2studio to control GLE

Dear,

I already create my own GEL file, And I have export my "Resources.bin".

Then I can use FlashTool put both together to generate "SR_GuilianiDemowithResources.bin"

But I don't know how to interact with GLE,

Now i used the SR_GuilianiDemo project to Revise.

But i can't understand how it's works.

My GLE only has three page to change.

I delete other page only leave Animation and Main page and another my new page.

Maybe I lose some document to see?

Thanks,

Parents Reply Children
  • Could you change the attribute of button for LED as follows:

    Attribute value
    CommandClassID CMD_CALLAPI
    ApplicationAPI Led
    Parameter 0

    When you press the button in GUI, the following message will be displayed in your debug terminal:

    CallApplicationAPI called with unknown API: Led and Param: 0

    This message is generated in CMyGUI::DoCallAPI() function in Source\MyGUI_SR.cpp.

    I recommend using StreamRutime project instead of SR_GuilianiDemo project.

    This project is simple.

  • My accessport display "Call Application API called with unknown API: Led and Param: 0"

    I change the kAPI value to led1.

    I think I might have made a little progress.

    This line is saying that when I press button it will do the code want i want .Right?

    Now I need to initialize the LED ?

    But I don't see any smart configuration in the project.

    That mean I must be manual to initialize the LED?

    This part I hope I can figure it out by myself.

    BTW .May I have another ways to connection to you ?

    You realy help me a lot.

    I am so sorry to disturb you.

  • CMyGUI::CMyGUI() function in Source\MyGUI_SR.cpp will be called before calling CMyGUI::DoCallAPI(). If you would like to call any initialize functions, modify this function.

    Because CMyGUI::CMyGUI() is the constructor function of CMyGUI class.

  • I have another little question.

    when I burn my bin into the GR-MANGO .

    It must take about 10 min.

    I drag the .bin in to mbed folder that right?

    Sometime I just want fix a little problem.

    And i need to wait about 10 min this is make me very Disappointed.

    Does that have other ways to burn in?

  • If you have not changed Guiliani Resources from the last download, you can use StreamRuntime.bin or SR_GuilianiDemo.bin. You do not need to download the file named *withResources.bin. 

  • Hello,

    I have another question to ask you.

    I want to use Scratchpad to change the background of the settings dialog.

    But I didn't find any obj ID to match with e2studio,

    Than I take settings background combo box right into Scratchpad and download it,

    It doesn't write anything into it.

    In the beginning I thoght I don't need to separate diffrent dialog.

    But it seems like every dialog all have different code to use?

    Sorry to bother you.

    Thanks.

  • If you woud like to change the background picture of the settings dialog, Could you chenge the background picture of the settings dialog directly by GSE, and export the resources?

    By exporting resources, header files are also generated. Could you use the new generated header files instead of the existing one for the developing project?