Export to GitHub

bluecove - issue #93
Cannot create an empty name header as specified by the IrOBEX v1.2 specification
Posted on Nov 9, 2009 by
Swift Lion
What steps will reproduce the problem? 1. Try to send an empty name header (e.g. headerSet.setHeader(HeaderSet.NAME, "");)
What is the expected output? A name header with length 3 (IrOBEX v1.2 section 2.2.2) -- "An empty Name header is defined as a Name header of length 3 (one byte opcode + two byte length)."
What do you see instead? A name header with length 5 and a trailing null character.
Status: New