Home AMX User Forum Duet/Cafe Duet
Options

Duet Examples

I plan to post a number of example projects. List may include:

Property file useage - done
WebService Client - done
SNMP get_next() - done
Google Search (SOAP) - done // Google just dropped new licenses in December for their SOAP API... oh well
I/O example code - done
Download file via HTTP to /user - done
Syslog - done
FTP Client (download/upload) - done
BZip2 - (download and unzip to /user) - done

Amazon Web Service Examples
RSS Reader
Sonos UPnP Control Point
1-Wire - pending my serial class framework
Database hosted on Netlinx

Servlet Example - Implementation not possible unless AMX provides developer a servlet license key.

Anyone interest in other examples?

Comments

  • Options
    travtrav Posts: 188
    Definatly, coming from a Java programming background, and waiting to go on the intro to Duet course I would love to be able to look over some examples to help me on my way. Anything at all would be welcomed with open arms and the promise of beer if you are ever in the UK!
  • Options
    joelwjoelw Posts: 175
    trav wrote:
    waiting to go on the intro to Duet course

    Me too. It would be nice if one were scheduled between late January and the end of February.

    Cheers!
  • Options
    Java modules

    I would really like to see your modules. I am also starting to work into writing java modules.
    Are you going to place them somewhere on the internet?
    I hope you do, I would love to see them?
  • Options
    yuriyuri Posts: 861
    cool, seeing the possibilities of Duet, i just have to convince my boss that i really do need that Duet license :P
  • Options
    joelwjoelw Posts: 175
    setholle wrote:
    I would really like to see your modules. I am also starting to work into writing java modules.
    Are you going to place them somewhere on the internet?

    Yes I will post a link to them. They've all been built against the recent Duet firmware and Cafe Duet update.

    What would be handy is a framework to test Duet bundles direct on development workstation. There seems to be enough information to do this. Perhaps some time in the near future.
  • Options
    joelwjoelw Posts: 175
    yuri wrote:
    cool, seeing the possibilities of Duet, i just have to convince my boss that i really do need that Duet license :P

    Once you run a few of my modules it may convince a few people. Grass roots marketing at it's finest.

    Anything in particular that might sway your boss?
  • Options
    travtrav Posts: 188
    Any chance of getting a look at some of these ?
  • Options
    joelwjoelw Posts: 175
    I'm slammed until the start of February. I will publish something around the first week in February.

    I may publish to a SVN repository.
  • Options
    joelwjoelw Posts: 175
    It's been a while, I've been extremely busy. I am pursuing AMX VIP status, in the meanwhile here's one sample. This module is encrypted - for now.

    This is basic sample to demonstrate file I/O.

    http://www.indyelectronics.com/WebCat_Example_dr1_0_0.zip

    This module does the following:
    1. WGET - download a file from a http server to CF(Compact Flash).
    2. DUMP - dumps a file on CF to console output.
    3. COPY - copies a file from CF to a new CF location/name.
    4. DUET - prints out host name and ip address

    Check out the readme.txt for example commands.

    I am welcome to any comments or feature requests.
  • Options
    travtrav Posts: 188
    Thats great, any chance of a look at the source ?
  • Options
    joelwjoelw Posts: 175
    Not at this time.

    I'm still waiting for AMX to respond to my VIP queries...

    Still waiting.
  • Options
    travtrav Posts: 188
    Heh, that whole 'idea' of theirs seems dead in the water. Treated as a bit of a joke in Europe and Australia.
  • Options
    joelw wrote: »
    I plan to post a number of example projects. List may include:
    Sonos UPnP Control Point


    Anyone interest in other examples?

    Any News ? Sonos?

    thanks
    john
  • Options
    the8thstthe8thst Posts: 470
    I missed this when it originally went around.

    Any chance that somebody else would be willing to post some Duet examples with Source code?
  • Options
    I'm needing a ssh module has anybody created one if so please share
  • Options
    vincenvincen Posts: 526
    Only possible on NX controler and you have to do the code, good luck with Caf? not compatible with that generation of controlers !!
Sign In or Register to comment.