Home AMX User Forum Duet/Cafe Duet

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

  • 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!
  • 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!
  • 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?
  • 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
  • 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.
  • 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?
  • travtrav Posts: 188
    Any chance of getting a look at some of these ?
  • 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.
  • 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.
  • travtrav Posts: 188
    Thats great, any chance of a look at the source ?
  • joelwjoelw Posts: 175
    Not at this time.

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

    Still waiting.
  • 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.
  • 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
  • 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?
  • I'm needing a ssh module has anybody created one if so please share
  • 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.