Using the Arduino Ethernet shield with AMICUS18 (Joint forum project?)


Results 1 to 40 of 63

Threaded View

  1. #28
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,615

    Default Re: Using the Arduino Ethernet shield with AMICUS18 (Joint forum project?)

    Hi John,
    Looking at the W5100_defs.pbp file both SOCKET_CLOSED and W5100_SOCK_CLOSED are defined as the value 0 so it should have worked in both cases. Are you saying it didn't? (I'm not at home so I looked at the file in DHCP_Demo package.)

    If the operation prior to the IF statement you show is to read the sockets status register then W5100_SOCK_CLOSED 'looks' more right but again, there really should be no difference since they are both effectively replaced with IF WizData = 0 THEN...

    Your approach sounds OK to me, build a packet at one end, load it to W5100 buffer and send it off, at the other end retrieve it from the buffer and parse it. If the package is always "the same" you could create aliases pointing into the buffer and just read out the data as normal variables.

    There's no real changes to any of the core socket interface. SNTP and SMPT are both extra and separate "modules" and I don't think they'll do you any good at this stage but if still want it you can PM me your email adress and I'll send it to you.

    /Henrik.
    Last edited by HenrikOlsson; - 10th February 2012 at 07:13.

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts