Modified cmcp_datalist to receive pre-allocated array to store data.
Added message type flag.
Added check to ensure message data list is not NULL.
Added methods to store message data in pre-allocated array.
Added check to make cmcp_datalist reject NULL data when parsing.
Moved definition of message header size to message source file.
Corrected comment information in cmcp_datalist.
Moved test constants to common header.
Fixed error number in cmcp_datalist test.
Added method to parse a message from binary data.
Added test method for cmcp_message.
Fixed leak in cmcp_message.
Added methods to get IDs and data list from cmcp_message.
Improved cmcp_message test method to validate parsed data.