CoapPacket.setToken

Sets the token

class CoapPacket
void
setToken
(
ubyte[] token
)

Parameters

token ubyte[]

the token to set

Throws

CoapException if the token is too long

Meta