PrevUpHomeNext
logger::at_connack

Outputs the contents of the CONNACK packet sent by the Broker.

void at_connack(
    reason_code rc,
    bool session_present,
    const connack_props & ca_props
);
Description
Parameters

Name

Description

rc

Reason Code in the received CONNACK packet indicating the result of the MQTT handshake.

session_present

A flag indicating whether the Broker already has a session associated with this connection.

ca_props

async_mqtt5::connack_props received in the CONNACK packet.


PrevUpHomeNext