Jump to content


  • Content Count

  • Joined

  • Last visited

  • Days Won


Everything posted by Kap

  1. Hi LRA, There may be an issue with the energia ethernet library. This is what I ended up doing: Modify the EthernetClient.cpp file and add a custom write function. It is the same as the one already there but comment out this "if (cs->mode)" Declare the function in the EthernetClient.h as "virtual size_t write_1(const uint8_t *buf, size_t size);" Or simply modify the the existing write function and replace the code with this size_t EthernetClient::write_1(const uint8_t *buf, size_t size) { uint32_t i = 0, inc = 0; boolean stuffed_buffer = false; struct tcp_pcb * cpcb = (tcp_pcb*
  2. Hi, I am using Energia ethernet library for Ti Tiva c 129 Launchpad. I wrote a simple program in Energia that gets a byte from stream and sends back two bytes. It seems there is lag when I send bytes back from Ti board. Here is my code. byte mac[] = {0x00, 0x0A, 0xB7, 0x52, 0xBA, 0x16 }; IPAddress ip(192,168,1,192); IPAddress gateway(192,168,1,1); IPAddress subnet(255,255,255,0); EthernetServer server(80); EthernetClient client; void setup() { Ethernet.begin(mac, ip, gateway, subnet); server.begin(); Serial.begin(9600); } void loop() { byte buf[2]
  • Create New...