Change the default buffer length according to IEEE 802.15.4. Make sur… …e the buffer's length is bounded during reading and writing.
Remove duplicated included header.