Skip to content
Snippets Groups Projects
Commit f94a46b4 authored by Roman Khlopkov's avatar Roman Khlopkov 🔜 Committed by alexandr.kravchenko
Browse files

bugs 4612

parent 437abbe0
No related branches found
No related tags found
No related merge requests found
......@@ -8,7 +8,7 @@ set(CMAKE_C_STANDARD 11)
SET( CPACK_PACKAGE_NAME "${PROJECT_NAME}")
SET( CPACK_PACKAGE_VERSION_MAJOR 4)
SET( CPACK_PACKAGE_VERSION_MINOR 1)
SET( CPACK_PACKAGE_VERSION_PATCH 24)
SET( CPACK_PACKAGE_VERSION_PATCH 25)
# init CellFrame SDK
add_definitions("-DDAP_VERSION=\"${CPACK_PACKAGE_VERSION_MAJOR}-${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}\"")
......
Subproject commit f0ad7c5f6fba5369b976cf8e13b77bea09f037f3
Subproject commit 3f30ebe8cc5b22b2c8f8ec294e4dbcdbd2b01645
Subproject commit 85c90bee9afbde616c12b5cbf59a5007e2cb0e42
Subproject commit 87709ff3aecc5bccdc6e5a4961b8adeb80e10b8c
......@@ -266,6 +266,21 @@ int main(int argc, const char *argv[])
#ifdef _WIN32
WSACleanup();
#endif
switch (res) {
case DAP_CLI_ERROR_FORMAT:
printf("Response format error!\n");
break;
case DAP_CLI_ERROR_SOCKET:
printf("Socket read error!\n");
break;
case DAP_CLI_ERROR_TIMEOUT:
printf("No response recieved.\n");
break;
case DAP_CLI_ERROR_INCOMPLETE:
printf("Connection closed by peer");
default:
break;
}
return res;
}else{
// command not found, start interactive shell
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment