File anj_net_api.h

Parent directory (include_public/anj/compat/net)

Platform hooks for network transport integration.

Definition (include_public/anj/compat/net/anj_net_api.h)

Detailed Description

This header declares the minimal socket-like API that platform integrators must implement to let Anjay Lite communicate over UDP, DTLS or some Non-IP transport.

The API covers:

  • creating/cleaning up opaque connection contexts

  • connecting, sending, receiving, shutting down and closing

  • querying state and MTU

  • handling Queue Mode RX hints

Security (PSK / certificates) is supported if ANJ_WITH_SECURITY is enabled. The functions are designed to be non-blocking, with retry signaled by returning Define ANJ_NET_EINPROGRESS.

Implementations typically wrap system sockets, modem AT command layers, or RTOS/BSP networking stacks.

Includes

Included By

Classes

Enums

Functions

Defines

Typedefs