Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
celllframe-node
Manage
Activity
Members
Labels
Plan
Issues
5
Issue boards
Milestones
Code
Merge requests
14
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cellframe
celllframe-node
Commits
f94a46b4
Commit
f94a46b4
authored
4 years ago
by
Roman Khlopkov
🔜
Committed by
alexandr.kravchenko
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
bugs 4612
parent
437abbe0
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
CMakeLists.txt
+1
-1
1 addition, 1 deletion
CMakeLists.txt
cellframe-sdk
+1
-1
1 addition, 1 deletion
cellframe-sdk
prod_build
+1
-1
1 addition, 1 deletion
prod_build
sources/main_node_cli.c
+15
-0
15 additions, 0 deletions
sources/main_node_cli.c
with
18 additions
and
3 deletions
CMakeLists.txt
+
1
−
1
View file @
f94a46b4
...
...
@@ -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 2
4
)
SET
(
CPACK_PACKAGE_VERSION_PATCH 2
5
)
# init CellFrame SDK
add_definitions
(
"-DDAP_VERSION=
\"
${
CPACK_PACKAGE_VERSION_MAJOR
}
-
${
CPACK_PACKAGE_VERSION_MINOR
}
.
${
CPACK_PACKAGE_VERSION_PATCH
}
\"
"
)
...
...
This diff is collapsed.
Click to expand it.
cellframe-sdk
@
3f30ebe8
Compare
f0ad7c5f
...
3f30ebe8
Subproject commit
f0ad7c5f6fba5369b976cf8e13b77bea09f037f3
Subproject commit
3f30ebe8cc5b22b2c8f8ec294e4dbcdbd2b01645
This diff is collapsed.
Click to expand it.
prod_build
@
87709ff3
Compare
85c90bee
...
87709ff3
Subproject commit 8
5c90bee9afbde616c12b5cbf59a5007e2cb0e42
Subproject commit 8
7709ff3aecc5bccdc6e5a4961b8adeb80e10b8c
This diff is collapsed.
Click to expand it.
sources/main_node_cli.c
+
15
−
0
View file @
f94a46b4
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment