Fix documentation of MQTTSNPacket_decode

Added a documentation for the missing parameters buf and buflen and
removed the non-existing parameter getcharfn.

Signed-off-by: Martin Kirsche <martin.kirsche@gmail.com>
This commit is contained in:
Martin Kirsche
2019-09-14 14:38:49 +02:00
parent 2067e6fe92
commit 84b90f9a0c

View File

@@ -83,7 +83,8 @@ int MQTTSNPacket_encode(unsigned char* buf, int length)
/**
* Obtains the MQTT-SN packet length from received data
* @param getcharfn pointer to function to read the next character from the data source
* @param buf the buffer that contains the MQTT-SN packet
* @param buflen the length in bytes of the supplied buffer
* @param value the decoded length returned
* @return the number of bytes read from the socket
*/