NCI_HCP_MSG_GET_TYPE
type = NCI_HCP_MSG_GET_TYPE(message->header);
type = NCI_HCP_MSG_GET_TYPE(packet->message.header);