/* check if the size of the data is greater than the size of a packet i.e PACKETBUF_SIZE.
/* check if the size of the data is greater than the size of a packet i.e PACKETBUF_SIZE.
If yes, then copy only the first PACKETBUF_SIZE bytes of the data. Otherwise copy everything.*/
If yes, then copy only the first PACKETBUF_SIZE bytes of the data. Otherwise copy everything.*/
Exception encountered, of type "Error"