halapi: common: Add hal_api_version_str array and an error message 64/251164/3
authorJaehoon Chung <jh80.chung@samsung.com>
Sun, 10 Jan 2021 23:03:47 +0000 (08:03 +0900)
committerJaehoon Chung <jh80.chung@samsung.com>
Mon, 11 Jan 2021 03:15:37 +0000 (12:15 +0900)
commit415c591303fca1ea627f277b620b7f71914973b6
tree7c54dc4bac141afd13430c7a2256ebf2beed3f6e
parent6c39b97c886d317b624d6f7d6d386cb48aae30dd
halapi: common: Add hal_api_version_str array and an error message

Add hal_api_version_str array to display as string after converting each
enum value.
It's easier to understand than using enum value.
If abi version doesn't support about current version and compatible version,
then it needs to notice about not supporting abi_version.

Change-Id: I67f31423a4b9d911b269d8c7560c9907a6bafc8b
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
include/hal-common-interface.h
src/hal-api-common.c