![]() ![]() As example running hcitool lescan as normal user returns Set scan parameters failed: Operation not permitted, which is also seen from my C++ code where hcilesetscanparameters () functions returns. I am developing some code using the BlueZ Bluetooth stack and running it requires root privileges. I'm sharing my last try screenshots with you : Full Remot Host. Run CLion Full Remote Mode C++ program as root. $(CC) -c $(CFLAGS) -I$(LGW_PATH)/inc $< -o Main program compilation and assembly Ifneq ($(strip "- Copying packet_forwarder files to "mkdir -p lora_pkt_fwd "- Copying packet_forwarder conf files to "mkdir -p global_1250.* global_1257.* "ERROR: TARGET_USR is not configured in "ERROR: TARGET_DIR is not configured in "ERROR: TARGET_IP is not configured in target.cfg" LIBS := -lloragw -ltinymt32 -lparson -lbase64 -lrt -lpthread -lm -lcursor Ifneq ($(wildcard $(LGW_PATH)/inc/config.h),) # List the library sub-modules that are used by the application # Constants for Lora concentrator HAL library VFLAG := -D VERSION_STRING="\"$(RELEASE_VERSION)\"" # must get library build option to know if mpsse must be linked or notĬFLAGS := -O2 -Wall -Wextra -std=c99 -Iinc -I. I understood I'm missing some point and I need help. After I tried lots of things, almost every combination of remote debugging and settings. I downloaded the app to my computer and built the project successfully in CLion. Normally it is working on remote device with no problem. ĭevice connected to my home network and there is a package forwarder app in it. I'm not professional on remote debugging, actually it is my second work but this time it is on already working ( readymade ) project on my Raspberry pi Lorawan device ( Debian ). I can run it from my CLion but it never hits to my breakpoints. Full Remote Host, Remote Debug, Remote GDB Server etc.Īctually remote device starts working when I clicked the debug button. It doesn't matter what type of remote debug connection I tried. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |