Lines Matching refs:before
250 int checkConnectPackets(MQTTPacket_connectData* before, MQTTPacket_connectData* after) in checkConnectPackets() argument
256 …memcmp(before->struct_id, after->struct_id, 4) == 0, "struct_ids were different %.4s\n", after->st… in checkConnectPackets()
259 … before->struct_version == after->struct_version, "struct_versions were different\n", rc); in checkConnectPackets()
262 before->MQTTVersion == after->MQTTVersion, "MQTT versions were different\n", rc); in checkConnectPackets()
265 checkMQTTStrings(before->clientID, after->clientID), "ClientIDs were different\n", rc); in checkConnectPackets()
268 before->keepAliveInterval == after->keepAliveInterval, in checkConnectPackets()
272 before->cleansession == after->cleansession, "cleansessions were different\n", rc); in checkConnectPackets()
275 before->willFlag == after->willFlag, "willFlags were different\n", rc); in checkConnectPackets()
277 if (before->willFlag) { in checkConnectPackets()
279 memcmp(before->will.struct_id, after->will.struct_id, 4) == 0, in checkConnectPackets()
283 …before->will.struct_version == after->will.struct_version, "will struct_versions were different\n"… in checkConnectPackets()
286 …checkMQTTStrings(before->will.topicName, after->will.topicName), "topic names were different\n", r… in checkConnectPackets()
289 … checkMQTTStrings(before->will.message, after->will.message), "messages were different\n", rc); in checkConnectPackets()
292 … before->will.retained == after->will.retained, "retained flags were different\n", rc); in checkConnectPackets()
295 before->will.qos == after->will.qos, "will qos were different\n", rc); in checkConnectPackets()
299 checkMQTTStrings(before->clientID, after->clientID), "usernames were different\n", rc); in checkConnectPackets()
301 checkMQTTStrings(before->password, after->password), "passwords were different\n", rc); in checkConnectPackets()