Table of Contents

Struct PamojaCoapConfig

Namespace
Pamoja.Native.Interop
Assembly
Pamoja.Native.dll

The settings a CoAP endpoint is built from.

public struct PamojaCoapConfig
Inherited Members

Fields

AckTimeoutMs

How long to wait for an acknowledgment, in milliseconds.

public uint AckTimeoutMs

Field Value

uint

Bind

The local address to bind, or null for the default.

public nint Bind

Field Value

nint

Host

The peer hostname or IP address, as null-terminated UTF-8.

public nint Host

Field Value

nint

MaxRetransmits

How many times to retransmit an unacknowledged request.

public uint MaxRetransmits

Field Value

uint

Port

The peer UDP port, conventionally 5683 for plaintext CoAP.

public ushort Port

Field Value

ushort

Reliability

Whether requests are acknowledged and retried.

public PamojaCoapReliability Reliability

Field Value

PamojaCoapReliability