Code Monkey home page Code Monkey logo

psoc-w5100-driver's People

Contributors

e2forlife avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

psoc-w5100-driver's Issues

TcpReceive function cannot be used after remote server closed the connection

First of all: really awesome work on this library!

I'm using this library to send data from PSoC 4 board to a remote server using TCP(HTTP specifically) protocol. One problem I encountered is: modern HTTP servers will close the connection as soon as the data is sent to the client. Those client may still be in the W5100 shield buffer(hence W5100_SocketRxDataWaiting will give a non-negative result). However, due to this line, the driver will assume the socket is closed, and we cannot get the data returned by the server, even if we already have the data in local buffer.

So, is there any way we can have a TcpReceive function without this restriction? Or can we make that an option to TcpReceive? Thanks!

_SocketRxDataWaiting() not returning correct buffer size after a read

Pavloven ( Cypress Forum)
For testing, I used Hercules SETUP utility http://www.hw-group.com/products/hercules/index_en.html I do:

  1. send a test string and see ETH0_SocketRxDataWaiting(socket) > 0
  2. execute commands ETH0_TcpReceive(...
  3. and check again ETH0_SocketRxDataWaiting(socket)

only if I install a flag = 1, in W5100.c as here:
str. 1394 $INSTANCE_NAME_ProcessRxData( socket, 0, buffer, RxSize, 1);

i see ETH0_SocketRxDataWaiting(socket) = 0

PSoC 3 Support

The v1.0 driver component code does not compile for PSoC3 due to the use of the inline keyword.

Tcp_Connected lockup using SPIM

When waiting for connection using a BUS_CLK of 64 MHz on the PSoC 5 it was reported that while( !XXX_TcpConnected(socket) ) deadlocks without having the "High Speed Mode" enabled on the SPIM component.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.