You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 19, 2025. It is now read-only.
10:35 $ make
cc -o unix_main -Wall -I../../include -DMDG_DYNAMIC_LIBRARY ../mdg_unix_main.c ../mdg_chat_client.c -L. -lmdglib -lm -lpthread -lrt
echo Launching runix chat demo, dynamically linked:
Launching runix chat demo, dynamically linked:
LD_LIBRARY_PATH=.: ./unix_main
Welcome to TDG-lib chat demo.
Please provide e-mail using "/email test@example.org"
Type "/h" for list of commands. All commands start with "/"
Callback: mdguser_control_status state=connecting
Callback: mdguser_control_status state=failed
... continues to fail ...
In trying to debug the matter I've tried to compile with -DDEBUG_TO_UDP - this however makes the demo app unable to compile:
10:36 $ make
cp -p ../../binaries/sandbox/ubuntu/libmdglib.so .
cc -o unix_main -Wall -I../../include -DMDG_DYNAMIC_LIBRARY -DDEBUG_TO_UDP ../mdg_unix_main.c ../mdg_chat_client.c -L. -lmdglib -lm -lpthread -lrt
/tmp/ccOMtjDx.o: In function `main':
mdg_unix_main.c:(.text+0xa27): undefined reference to `mdg_debug_log_target_ip'
mdg_unix_main.c:(.text+0xa2d): undefined reference to `mdg_debug_log_target_ip'
mdg_unix_main.c:(.text+0xa37): undefined reference to `mdg_debug_log_target_port'
mdg_unix_main.c:(.text+0xa41): undefined reference to `mdg_debug_log_target'
collect2: error: ld returned 1 exit status
Makefile:13: recipe for target 'unix_main' failed
make: *** [unix_main] Error 1
I've also tried to enable the debugging with the methods described in the docs (mdg_set_debug_target and mdg_enable_remote_logging) - this does however not seem to output any debug messages - and it does not seem to send any udp packets as well
Is there any way to debug this ? - is the danfoss configuration complete or is more needed to communicate with the danfoss mdg?
Hi guys
Im trying to establish communication with my danfoss link device as you've kind enough provided danfoss prod configuration in https://github.com/trifork/secure-device-grid/blob/master/demo/mdg_config.c#L153 however activating this configuration (in mdg_unix_main.c and compiling the chat app, makes it unable to connect:
In trying to debug the matter I've tried to compile with
-DDEBUG_TO_UDP- this however makes the demo app unable to compile:I've also tried to enable the debugging with the methods described in the docs (
mdg_set_debug_targetandmdg_enable_remote_logging) - this does however not seem to output any debug messages - and it does not seem to send any udp packets as wellIs there any way to debug this ? - is the danfoss configuration complete or is more needed to communicate with the danfoss mdg?