mirror of
https://github.com/eclipse/paho.mqtt-sn.embedded-c.git
synced 2025-12-15 16:36:52 +01:00
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:
@@ -83,7 +83,8 @@ int MQTTSNPacket_encode(unsigned char* buf, int length)
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Obtains the MQTT-SN packet length from received data
|
* 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
|
* @param value the decoded length returned
|
||||||
* @return the number of bytes read from the socket
|
* @return the number of bytes read from the socket
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user