mirror of https://github.com/deavmi/doap
CoapPacket
- Documented private method `setTokenLength(ulong tkl)`
This commit is contained in:
parent
8fa04e7b75
commit
56a82faeba
|
@ -232,6 +232,16 @@ public class CoapPacket
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Attempts to set the token length
|
||||
* and returns whether or not it
|
||||
* was a success
|
||||
*
|
||||
* Params:
|
||||
* tkl = the token length
|
||||
* Returns: `true` if a valid lenght,
|
||||
* `false` otherwise
|
||||
*/
|
||||
private bool setTokenLength(ulong tkl)
|
||||
{
|
||||
if(tkl > 15)
|
||||
|
|
Loading…
Reference in New Issue