Code Monkey home page Code Monkey logo

asynctcp's Introduction

AsyncTCP

Build Status Codacy Badge

Build Options

The following symbols can be defined to change the configuration

Name Description Default
CONFIG_ASYNC_TCP_EVENT_QUEUE_SIZE The size of the queue string TCP events to process CONFIG_LWIP_MAX_ACTIVE_TCP * 2 == 32
CONFIG_ASYNC_TCP_RUNNING_CORE The CPU core to run the async task on -1 (any cpu)
CONFIG_ASYNC_TCP_USE_WDT If the watchdog timer should be enabled while processing TCP messages. Set to 0 to disable 1 (enabled)
CONFIG_ASYNC_TCP_TASK_STACK_SIZE The number of 32-bit words (not bytes!) to allocate for use as the task's stack. 8192
CONFIG_ASYNC_TCP_TASK_PRIORITY The priority at which the created task will execute. 3
CONFIG_ASYNC_TCP_DIAGNOSTICS Enable diagnostic functions disabled

Other Parameters

Name Description Default
CONFIG_LWIP_MAX_ACTIVE_TCP https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/kconfig.html#config-lwip-max-active-tcp 16

Diagnostics Functions

Stack Highwater Mark

AsyncTCP creates a task to handle the TCP messages. This task needs to be initialize with stack space. See How big should the stack be?

This function gets the async_tcp task's minimum amount of remaining stack space that was available to the task since the task started executing - - that is the amount of stack that remained unused when the task stack was at its greatest (deepest) value. This is what is referred to as the stack 'high water mark'. For more information on the stack high water mark, see See https://www.freertos.org/uxTaskGetStackHighWaterMark.html

If the value from this function is close to zero, increasing CONFIG_ASYNC_TCP_TASK_STACK_SIZE can help.

static UBaseType_t AsyncClient::getStackHighWaterMark()

Async TCP Library for ESP32 Arduino

Join the chat at https://gitter.im/me-no-dev/ESPAsyncWebServer

This is a fully asynchronous TCP library, aimed at enabling trouble-free, multi-connection network environment for Espressif's ESP32 MCUs.

This library is the base for ESPAsyncWebServer

AsyncClient and AsyncServer

The base classes on which everything else is built. They expose all possible scenarios, but are really raw and require more skills to use.

asynctcp's People

Contributors

andig avatar atanisoft avatar bmooij avatar copercini avatar ivankravets avatar matt123p avatar me-no-dev avatar obrain17 avatar pbolduc avatar robert-alfaro avatar tantive avatar tve avatar

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.