Home AMX User Forum AMX Control Products
Options

muse

Where can I download Muse's API manual?

Comments

  • Options
    ychych Posts: 34
    This is an old api manual, not complete, such as how to use the timeline, how to use the built-in tcpclient interface!
  • Options

    @ych said:
    This is an old api manual, not complete, such as how to use the timeline, how to use the built-in tcpclient interface!

    The "built-in" tcpclient interface is not a Muse thing - it is whatever is available for the chosen scripting language. If you are programming in Groovy - Google search for "tcp client in groovy programming language"

    A Muse driver has been posted to GitHub https://github.com/amx-itg/muse-driver-amx-ipcomm that attempts to provide similar functionality as what was found in NetLinx. It also provides for field configurable communication parameters and is accessible from all scripts.

    The READ-ME on the GitHub page is the API document.

  • Options

    @ych said:
    This is an old api manual, not complete, such as how to use the timeline, how to use the built-in tcpclient interface!

    The API for installed services (like Timeline) should be available on the Muse Controller. Connect to the controller via SSH and issue doc:list this will show the list of all available service documentation. The CLI doc:show will present the selected documentation

  • Options
    ychych Posts: 34

    @HARMAN_icraigie
    I saw maven in the package of muse controller through decompinging tools, does this mean that you can directly download the corresponding jar package and pour it into use, instead of seeking java source files like nx? Do the following packages have relevant API documents? For example, how to call muse's serial port, infrared,relay,io and other interfaces through java!

    import com.amx.mojo.common.time.Timeline;
    import com.amx.mojo.common.time.TimelineListener;
    import com.amx.mojo.common.time.Timer;
    import com.amx.mojo.common.time.TimerListener;

  • Options
    HARMAN_icraigieHARMAN_icraigie Posts: 660
    edited March 6

    The SDK for Extension development has not been publicly released, yet. And yes Maven will be the recommended build tool.

  • Options
    ychych Posts: 34

    This is great, will muse controller support directly uploading compiled class files in the future?

  • Options

    OSGi Bundles

  • Options

    Or embed the external dependency (with all its runtime transitive dependencies) into the Extension - otherwise known as a "fat jar".

Sign In or Register to comment.