Kenji Arai / mbed-os_TYBLE16

Dependents:   TYBLE16_simple_data_logger TYBLE16_MP3_Air

Embed: (wiki syntax)

« Back to documentation index

fnet_init_params Struct Reference

fnet_init_params Struct Reference
[Fnet_stack_init]

Input parameters structure for fnet_init() More...

#include <fnet_stack.h>

Data Fields

void * netheap_ptr
 Pointer to the FNET heap buffer.
fnet_size_t netheap_size
 Size of the FNET heap buffer.
const fnet_mutex_api_tmutex_api
 Mutex API.

Detailed Description

Input parameters structure for fnet_init()

Definition at line 107 of file fnet_stack.h.


Field Documentation

Mutex API.

It is optional and availble only when FNET_CFG_MULTITHREADING is set.

Definition at line 123 of file fnet_stack.h.

void* netheap_ptr

Pointer to the FNET heap buffer.



The FNET uses this heap buffer for the internal dynamic data allocation as:

  • Ethernet Tx/Rx frame buffers.
  • Sockets Input/Output buffers.
  • Protocol headers and service information.
  • Various control structures.
  • Temporary data.

    An application can allocate this buffer statically, dynamically, or use a special memory region (for example SRAM).

Definition at line 109 of file fnet_stack.h.

Size of the FNET heap buffer.

Definition at line 121 of file fnet_stack.h.