Undocumented features in FreeRTOS+TCP

rwt33 wrote on Thursday, July 09, 2015:

Hi guys,
Are you able to provide or update the online documentation for some of the extra features in FreeRTOS+TCP, including:

  • Callback API. Namely ipconfigUSE_CALLBACKS, FREERTOS_SO_UDP_RECV_HANDLER, FTcpUdpHandler_t etc
  • How to indicate network going down from MAC, including FreeRTOS_NetworkDown/FromISR functions

Cheers,
Robert

heinbali01 wrote on Friday, July 10, 2015:

Hi Robert,

You are right, it’s time to add documentation about these features.
Earlier we thought it would be wise to concentrate on all official functionality: the API’s that are conform the BSD socket interface.

The call-back functions are very handy, but they must be used with care because they execute from within the IP-task. Many things are forbidden when called, such as: blocking calls and calling certain +TCP API’s.

It is on the TODO list!

Regards,
Hein

rwt33 wrote on Friday, July 10, 2015:

Completely understandable, cheers guys.