Imroy / pubsubclient

A client library for the ESP8266 that provides support for MQTT
MIT License
433 stars 115 forks source link

How can we get the packet ID? #56

Closed HW-Siew closed 7 years ago

HW-Siew commented 8 years ago

It is possible we can get the packet ID for a message received?

Imroy commented 8 years ago

Hmm, the MQTT::Message base class has a packet_id() method but it's protected. I'll make it public.