MQIdsp -> MQIsdp

This commit is contained in:
Todd Treece 2015-05-31 20:16:05 -04:00
parent 0a943076c9
commit 1bcef195f1

View File

@ -24,9 +24,9 @@ uint8_t Adafruit_MQTT::connectPacket(uint8_t *packet) {
// fill in packet[1] last
p[0] = 0;
p[1] = 6; // (strlen(MQIdsp)
p[1] = 6; // (strlen(MQIsdp)
p+=2;
memcpy(p,"MQIdsp", 6);
memcpy(p,"MQIsdp", 6);
p+=6;
p[0] = MQTT_PROTOCOL_LEVEL;