Struct PamojaMqttConfig
Connection settings passed to pamoja_mqtt_client_new(ref PamojaMqttConfig),
mirroring PamojaMqttConfig in pamoja.h.
public struct PamojaMqttConfig
- Inherited Members
Remarks
ClientId and Host are pointers to null-terminated
UTF-8 strings borrowed for the duration of the call. A KeepAliveSecs
or Capacity of 0 selects the core default.
Fields
Capacity
Bound on outstanding client requests, or 0 for the default of 64.
public uint Capacity
Field Value
ClientId
Pointer to the UTF-8 MQTT client identifier presented to the broker.
public nint ClientId
Field Value
Host
Pointer to the UTF-8 broker hostname or IP address.
public nint Host
Field Value
KeepAliveSecs
Keep-alive interval in seconds, or 0 for the default of 30.
public uint KeepAliveSecs
Field Value
Port
The broker TCP port, conventionally 1883 for plaintext MQTT.
public ushort Port
Field Value
Qos
Default quality of service for publishes and subscriptions.
public PamojaQos Qos