Updated project files, makefiles, and the demo debug info.
This commit is contained in:
@@ -1,10 +1,12 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
|
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
|
||||||
<CodeBlocks_workspace_file>
|
<CodeBlocks_workspace_file>
|
||||||
<Workspace title="Workspace">
|
<Workspace title="Workspace">
|
||||||
<Project filename="..\lib\bacnet.cbp" />
|
<Project filename="..\lib\bacnet.cbp" active="1" />
|
||||||
<Project filename="server\bacserv.cbp" />
|
<Project filename="server\bacserv.cbp" />
|
||||||
<Project filename="epics\bacepics.cbp" />
|
<Project filename="epics\bacepics.cbp" />
|
||||||
<Project filename="readprop\bacrp.cbp" />
|
<Project filename="readprop\bacrp.cbp" />
|
||||||
<Project filename="whois\bacwi.cbp" active="1" />
|
<Project filename="whois\bacwi.cbp" />
|
||||||
|
<Project filename="..\ports\win32\bacnet.cbp" />
|
||||||
|
<Project filename="..\ports\win32\rs485.cbp" />
|
||||||
</Workspace>
|
</Workspace>
|
||||||
</CodeBlocks_workspace_file>
|
</CodeBlocks_workspace_file>
|
||||||
|
|||||||
@@ -217,7 +217,7 @@ static void Init_DataLink(
|
|||||||
if (bbmd_address) {
|
if (bbmd_address) {
|
||||||
struct in_addr addr;
|
struct in_addr addr;
|
||||||
addr.s_addr = bbmd_address;
|
addr.s_addr = bbmd_address;
|
||||||
printf("WhoIs: Registering with BBMD at %s:%ld for %ld seconds\n",
|
printf("DeviceCommunicationControl: Registering with BBMD at %s:%ld for %ld seconds\n",
|
||||||
inet_ntoa(addr), bbmd_port, bbmd_timetolive_seconds);
|
inet_ntoa(addr), bbmd_port, bbmd_timetolive_seconds);
|
||||||
bvlc_register_with_bbmd(bbmd_address, bbmd_port,
|
bvlc_register_with_bbmd(bbmd_address, bbmd_port,
|
||||||
bbmd_timetolive_seconds);
|
bbmd_timetolive_seconds);
|
||||||
|
|||||||
@@ -386,7 +386,7 @@ static void Init_DataLink(
|
|||||||
if (bbmd_address) {
|
if (bbmd_address) {
|
||||||
struct in_addr addr;
|
struct in_addr addr;
|
||||||
addr.s_addr = bbmd_address;
|
addr.s_addr = bbmd_address;
|
||||||
printf("WhoIs: Registering with BBMD at %s:%ld for %ld seconds\n",
|
printf("EPICS: Registering with BBMD at %s:%ld for %ld seconds\n",
|
||||||
inet_ntoa(addr), bbmd_port, bbmd_timetolive_seconds);
|
inet_ntoa(addr), bbmd_port, bbmd_timetolive_seconds);
|
||||||
bvlc_register_with_bbmd(bbmd_address, bbmd_port,
|
bvlc_register_with_bbmd(bbmd_address, bbmd_port,
|
||||||
bbmd_timetolive_seconds);
|
bbmd_timetolive_seconds);
|
||||||
|
|||||||
@@ -272,7 +272,7 @@ static void Init_DataLink(
|
|||||||
if (bbmd_address) {
|
if (bbmd_address) {
|
||||||
struct in_addr addr;
|
struct in_addr addr;
|
||||||
addr.s_addr = bbmd_address;
|
addr.s_addr = bbmd_address;
|
||||||
printf("WhoIs: Registering with BBMD at %s:%ld for %ld seconds\n",
|
printf("AtomicReadFile: Registering with BBMD at %s:%ld for %ld seconds\n",
|
||||||
inet_ntoa(addr), bbmd_port, bbmd_timetolive_seconds);
|
inet_ntoa(addr), bbmd_port, bbmd_timetolive_seconds);
|
||||||
bvlc_register_with_bbmd(bbmd_address, bbmd_port,
|
bvlc_register_with_bbmd(bbmd_address, bbmd_port,
|
||||||
bbmd_timetolive_seconds);
|
bbmd_timetolive_seconds);
|
||||||
|
|||||||
@@ -212,7 +212,7 @@ static void Init_DataLink(
|
|||||||
if (bbmd_address) {
|
if (bbmd_address) {
|
||||||
struct in_addr addr;
|
struct in_addr addr;
|
||||||
addr.s_addr = bbmd_address;
|
addr.s_addr = bbmd_address;
|
||||||
printf("WhoIs: Registering with BBMD at %s:%ld for %ld seconds\n",
|
printf("ReinitDevice: Registering with BBMD at %s:%ld for %ld seconds\n",
|
||||||
inet_ntoa(addr), bbmd_port, bbmd_timetolive_seconds);
|
inet_ntoa(addr), bbmd_port, bbmd_timetolive_seconds);
|
||||||
bvlc_register_with_bbmd(bbmd_address, bbmd_port,
|
bvlc_register_with_bbmd(bbmd_address, bbmd_port,
|
||||||
bbmd_timetolive_seconds);
|
bbmd_timetolive_seconds);
|
||||||
|
|||||||
@@ -175,7 +175,7 @@ static void Init_DataLink(
|
|||||||
if (bbmd_address) {
|
if (bbmd_address) {
|
||||||
struct in_addr addr;
|
struct in_addr addr;
|
||||||
addr.s_addr = bbmd_address;
|
addr.s_addr = bbmd_address;
|
||||||
printf("WhoIs: Registering with BBMD at %s:%ld for %ld seconds\n",
|
printf("Server: Registering with BBMD at %s:%ld for %ld seconds\n",
|
||||||
inet_ntoa(addr), bbmd_port, bbmd_timetolive_seconds);
|
inet_ntoa(addr), bbmd_port, bbmd_timetolive_seconds);
|
||||||
bvlc_register_with_bbmd(bbmd_address, bbmd_port,
|
bvlc_register_with_bbmd(bbmd_address, bbmd_port,
|
||||||
bbmd_timetolive_seconds);
|
bbmd_timetolive_seconds);
|
||||||
|
|||||||
@@ -181,7 +181,7 @@ static void Init_DataLink(
|
|||||||
if (bbmd_address) {
|
if (bbmd_address) {
|
||||||
struct in_addr addr;
|
struct in_addr addr;
|
||||||
addr.s_addr = bbmd_address;
|
addr.s_addr = bbmd_address;
|
||||||
printf("WhoIs: Registering with BBMD at %s:%ld for %ld seconds\n",
|
printf("TimeSync: Registering with BBMD at %s:%ld for %ld seconds\n",
|
||||||
inet_ntoa(addr), bbmd_port, bbmd_timetolive_seconds);
|
inet_ntoa(addr), bbmd_port, bbmd_timetolive_seconds);
|
||||||
bvlc_register_with_bbmd(bbmd_address, bbmd_port,
|
bvlc_register_with_bbmd(bbmd_address, bbmd_port,
|
||||||
bbmd_timetolive_seconds);
|
bbmd_timetolive_seconds);
|
||||||
|
|||||||
@@ -142,7 +142,7 @@ static void Init_DataLink(
|
|||||||
if (bbmd_address) {
|
if (bbmd_address) {
|
||||||
struct in_addr addr;
|
struct in_addr addr;
|
||||||
addr.s_addr = bbmd_address;
|
addr.s_addr = bbmd_address;
|
||||||
printf("WhoIs: Registering with BBMD at %s:%ld for %ld seconds\n",
|
printf("UnconfirmedCOV: Registering with BBMD at %s:%ld for %ld seconds\n",
|
||||||
inet_ntoa(addr), bbmd_port, bbmd_timetolive_seconds);
|
inet_ntoa(addr), bbmd_port, bbmd_timetolive_seconds);
|
||||||
bvlc_register_with_bbmd(bbmd_address, bbmd_port,
|
bvlc_register_with_bbmd(bbmd_address, bbmd_port,
|
||||||
bbmd_timetolive_seconds);
|
bbmd_timetolive_seconds);
|
||||||
|
|||||||
@@ -181,7 +181,7 @@ static void Init_DataLink(
|
|||||||
if (bbmd_address) {
|
if (bbmd_address) {
|
||||||
struct in_addr addr;
|
struct in_addr addr;
|
||||||
addr.s_addr = bbmd_address;
|
addr.s_addr = bbmd_address;
|
||||||
printf("WhoIs: Registering with BBMD at %s:%ld for %ld seconds\n",
|
printf("WhoHas: Registering with BBMD at %s:%ld for %ld seconds\n",
|
||||||
inet_ntoa(addr), bbmd_port, bbmd_timetolive_seconds);
|
inet_ntoa(addr), bbmd_port, bbmd_timetolive_seconds);
|
||||||
bvlc_register_with_bbmd(bbmd_address, bbmd_port,
|
bvlc_register_with_bbmd(bbmd_address, bbmd_port,
|
||||||
bbmd_timetolive_seconds);
|
bbmd_timetolive_seconds);
|
||||||
|
|||||||
@@ -226,7 +226,7 @@ static void Init_DataLink(
|
|||||||
if (bbmd_address) {
|
if (bbmd_address) {
|
||||||
struct in_addr addr;
|
struct in_addr addr;
|
||||||
addr.s_addr = bbmd_address;
|
addr.s_addr = bbmd_address;
|
||||||
printf("WhoIs: Registering with BBMD at %s:%ld for %ld seconds\n",
|
printf("AtomicWriteFile: Registering with BBMD at %s:%ld for %ld seconds\n",
|
||||||
inet_ntoa(addr), bbmd_port, bbmd_timetolive_seconds);
|
inet_ntoa(addr), bbmd_port, bbmd_timetolive_seconds);
|
||||||
bvlc_register_with_bbmd(bbmd_address, bbmd_port,
|
bvlc_register_with_bbmd(bbmd_address, bbmd_port,
|
||||||
bbmd_timetolive_seconds);
|
bbmd_timetolive_seconds);
|
||||||
|
|||||||
@@ -223,7 +223,7 @@ static void Init_DataLink(
|
|||||||
if (bbmd_address) {
|
if (bbmd_address) {
|
||||||
struct in_addr addr;
|
struct in_addr addr;
|
||||||
addr.s_addr = bbmd_address;
|
addr.s_addr = bbmd_address;
|
||||||
printf("WhoIs: Registering with BBMD at %s:%ld for %ld seconds\n",
|
printf("WriteProperty: Registering with BBMD at %s:%ld for %ld seconds\n",
|
||||||
inet_ntoa(addr), bbmd_port, bbmd_timetolive_seconds);
|
inet_ntoa(addr), bbmd_port, bbmd_timetolive_seconds);
|
||||||
bvlc_register_with_bbmd(bbmd_address, bbmd_port,
|
bvlc_register_with_bbmd(bbmd_address, bbmd_port,
|
||||||
bbmd_timetolive_seconds);
|
bbmd_timetolive_seconds);
|
||||||
|
|||||||
@@ -42,6 +42,7 @@ CORE_SRC = \
|
|||||||
$(BACNET_CORE)/bactext.c \
|
$(BACNET_CORE)/bactext.c \
|
||||||
$(BACNET_CORE)/datetime.c \
|
$(BACNET_CORE)/datetime.c \
|
||||||
$(BACNET_CORE)/indtext.c \
|
$(BACNET_CORE)/indtext.c \
|
||||||
|
$(BACNET_CORE)/debug.c \
|
||||||
$(BACNET_CORE)/bigend.c \
|
$(BACNET_CORE)/bigend.c \
|
||||||
$(BACNET_CORE)/arf.c \
|
$(BACNET_CORE)/arf.c \
|
||||||
$(BACNET_CORE)/awf.c \
|
$(BACNET_CORE)/awf.c \
|
||||||
|
|||||||
@@ -297,6 +297,9 @@
|
|||||||
<Unit filename="..\src\dcc.c">
|
<Unit filename="..\src\dcc.c">
|
||||||
<Option compilerVar="CC" />
|
<Option compilerVar="CC" />
|
||||||
</Unit>
|
</Unit>
|
||||||
|
<Unit filename="..\src\debug.c">
|
||||||
|
<Option compilerVar="CC" />
|
||||||
|
</Unit>
|
||||||
<Unit filename="..\src\filename.c">
|
<Unit filename="..\src\filename.c">
|
||||||
<Option compilerVar="CC" />
|
<Option compilerVar="CC" />
|
||||||
</Unit>
|
</Unit>
|
||||||
|
|||||||
@@ -46,6 +46,7 @@ CORE1_SRC = $(BACNET_CORE)\apdu.c \
|
|||||||
$(BACNET_CORE)\bactext.c \
|
$(BACNET_CORE)\bactext.c \
|
||||||
$(BACNET_CORE)\datetime.c \
|
$(BACNET_CORE)\datetime.c \
|
||||||
$(BACNET_CORE)\indtext.c \
|
$(BACNET_CORE)\indtext.c \
|
||||||
|
$(BACNET_CORE)\debug.c \
|
||||||
$(BACNET_CORE)\bigend.c \
|
$(BACNET_CORE)\bigend.c \
|
||||||
$(BACNET_CORE)\abort.c \
|
$(BACNET_CORE)\abort.c \
|
||||||
$(BACNET_CORE)\reject.c \
|
$(BACNET_CORE)\reject.c \
|
||||||
|
|||||||
@@ -43,6 +43,7 @@
|
|||||||
<Linker>
|
<Linker>
|
||||||
<Add library="..\..\lib\libbacnet.a" />
|
<Add library="..\..\lib\libbacnet.a" />
|
||||||
<Add library="ws2_32" />
|
<Add library="ws2_32" />
|
||||||
|
<Add library="iphlpapi" />
|
||||||
</Linker>
|
</Linker>
|
||||||
<Unit filename="..\..\include\bacaddr.h" />
|
<Unit filename="..\..\include\bacaddr.h" />
|
||||||
<Unit filename="..\..\include\bacdef.h" />
|
<Unit filename="..\..\include\bacdef.h" />
|
||||||
|
|||||||
@@ -157,10 +157,6 @@ SOURCE=..\..\..\demo\object\bi.c
|
|||||||
# End Source File
|
# End Source File
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
|
||||||
SOURCE=..\..\..\src\bigend.c
|
|
||||||
# End Source File
|
|
||||||
# Begin Source File
|
|
||||||
|
|
||||||
SOURCE="..\bip-init.c"
|
SOURCE="..\bip-init.c"
|
||||||
# End Source File
|
# End Source File
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
@@ -193,6 +189,10 @@ SOURCE=..\..\..\src\datetime.c
|
|||||||
# End Source File
|
# End Source File
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=..\..\..\src\debug.c
|
||||||
|
# End Source File
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
SOURCE=..\..\..\src\dcc.c
|
SOURCE=..\..\..\src\dcc.c
|
||||||
# End Source File
|
# End Source File
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
@@ -433,6 +433,10 @@ SOURCE=..\..\..\include\datetime.h
|
|||||||
# End Source File
|
# End Source File
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=..\..\..\include\debug.h
|
||||||
|
# End Source File
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
SOURCE=..\..\..\demo\object\device.h
|
SOURCE=..\..\..\demo\object\device.h
|
||||||
# End Source File
|
# End Source File
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
|||||||
@@ -53,6 +53,7 @@ CORESRC = ../../npdu.c \
|
|||||||
../../reject.c \
|
../../reject.c \
|
||||||
../../bacapp.c \
|
../../bacapp.c \
|
||||||
../../datetime.c \
|
../../datetime.c \
|
||||||
|
../../debug.c \
|
||||||
../../rp.c \
|
../../rp.c \
|
||||||
../../wp.c \
|
../../wp.c \
|
||||||
../../dcc.c \
|
../../dcc.c \
|
||||||
|
|||||||
@@ -3,11 +3,12 @@
|
|||||||
<FileVersion major="1" minor="6" />
|
<FileVersion major="1" minor="6" />
|
||||||
<Project>
|
<Project>
|
||||||
<Option title="rs485" />
|
<Option title="rs485" />
|
||||||
|
<Option makefile="makefile" />
|
||||||
<Option pch_mode="2" />
|
<Option pch_mode="2" />
|
||||||
<Option compiler="gcc" />
|
<Option compiler="gcc" />
|
||||||
<Build>
|
<Build>
|
||||||
<Target title="Debug">
|
<Target title="Debug">
|
||||||
<Option output="bin\Debug\rs485.exe" prefix_auto="1" extension_auto="1" />
|
<Option output="bin\Debug\rs485" prefix_auto="1" extension_auto="1" />
|
||||||
<Option object_output="obj\Debug\" />
|
<Option object_output="obj\Debug\" />
|
||||||
<Option type="1" />
|
<Option type="1" />
|
||||||
<Option compiler="gcc" />
|
<Option compiler="gcc" />
|
||||||
@@ -16,7 +17,7 @@
|
|||||||
</Compiler>
|
</Compiler>
|
||||||
</Target>
|
</Target>
|
||||||
<Target title="Release">
|
<Target title="Release">
|
||||||
<Option output="bin\Release\rs485.exe" prefix_auto="1" extension_auto="1" />
|
<Option output="bin\Release\rs485" prefix_auto="1" extension_auto="1" />
|
||||||
<Option object_output="obj\Release\" />
|
<Option object_output="obj\Release\" />
|
||||||
<Option type="1" />
|
<Option type="1" />
|
||||||
<Option compiler="gcc" />
|
<Option compiler="gcc" />
|
||||||
@@ -38,15 +39,17 @@
|
|||||||
<Add directory="..\..\..\bacnet-stack" />
|
<Add directory="..\..\..\bacnet-stack" />
|
||||||
<Add directory="..\..\demo\handler" />
|
<Add directory="..\..\demo\handler" />
|
||||||
<Add directory="..\..\demo\object" />
|
<Add directory="..\..\demo\object" />
|
||||||
|
<Add directory="..\..\include" />
|
||||||
</Compiler>
|
</Compiler>
|
||||||
<Unit filename="dlmstp.h" />
|
<Unit filename="..\..\include\dlmstp.h" />
|
||||||
<Unit filename="mstp.h" />
|
<Unit filename="..\..\include\mstp.h" />
|
||||||
<Unit filename="rs485.c">
|
<Unit filename="rs485.c">
|
||||||
<Option compilerVar="CC" />
|
<Option compilerVar="CC" />
|
||||||
</Unit>
|
</Unit>
|
||||||
<Unit filename="rs485.h" />
|
<Unit filename="rs485.h" />
|
||||||
<Extensions>
|
<Extensions>
|
||||||
<code_completion />
|
<code_completion />
|
||||||
|
<debugger />
|
||||||
</Extensions>
|
</Extensions>
|
||||||
</Project>
|
</Project>
|
||||||
</CodeBlocks_project_file>
|
</CodeBlocks_project_file>
|
||||||
|
|||||||
Reference in New Issue
Block a user