Home AMX User Forum AMX Control Products

muse

Where can I download Muse's API manual?

Comments

  • ychych Posts: 39
    This is an old api manual, not complete, such as how to use the timeline, how to use the built-in tcpclient interface!
  • @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.

  • @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

  • ychych Posts: 39

    @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;

  • 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.

  • ychych Posts: 39

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

  • OSGi Bundles

  • 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.