资源简介
bacnet-stack-0.5.8.zip
代码片段和文件信息
/**************************************************************************
*
* Copyright (C) 2006 Steve Karg
*
* Permission is hereby granted free of charge to any person obtaining
* a copy of this software and associated documentation files (the
* “Software“) to deal in the Software without restriction including
* without limitation the rights to use copy modify merge publish
* distribute sublicense and/or sell copies of the Software and to
* permit persons to whom the Software is furnished to do so subject to
* the following conditions:
*
* The above copyright notice and this permission notice shall be included
* in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED “AS IS“ WITHOUT WARRANTY OF ANY KIND
* EXPRESS OR IMPLIED INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
* CLAIM DAMAGES OR OTHER LIABILITY WHETHER IN AN ACTION OF CONTRACT
* TORT OR OTHERWISE ARISING FROM OUT OF OR IN CONNECTION WITH THE
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*
*********************************************************************/
/* command line tool demo for BACnet stack */
#include
#include
#include
#include
#include /* for time */
#include
#include “bactext.h“
#include “iam.h“
#include “arf.h“
#include “tsm.h“
#include “address.h“
#include “config.h“
#include “bacdef.h“
#include “npdu.h“
#include “apdu.h“
#include “device.h“
#include “net.h“
#include “datalink.h“
#include “whois.h“
#include “dcc.h“
/* some demo stuff needed */
#include “filename.h“
#include “handlers.h“
#include “client.h“
#include “txbuf.h“
#include “dlenv.h“
/* All included BACnet objects */
static object_functions_t object_Table[] = {
{DEVICE_OBJ_FUNCTIONS}
{MAX_BACNET_object_TYPE NULL NULL NULL NULL NULL NULL NULL NULL}
};
/* buffer used for receive */
static uint8_t Rx_Buf[MAX_MPDU] = { 0 };
/* global variables used in this file */
static uint32_t Target_Device_object_Instance = BACNET_MAX_INSTANCE;
static BACNET_ADDRESS Target_Address;
static uint16_t Communication_Timeout_Minutes = 0;
static BACNET_COMMUNICATION_ENABLE_DISABLE Communication_State =
COMMUNICATION_ENABLE;
static char *Communication_Password = NULL;
static bool Error_Detected = false;
static void MyErrorHandler(
BACNET_ADDRESS * src
uint8_t invoke_id
BACNET_ERROR_CLASS error_class
BACNET_ERROR_CODE error_code)
{
/* FIXME: verify src and invoke id */
(void) src;
(void) invoke_id;
printf(“BACnet Error: %s: %s\r\n“ bactext_error_class_name(error_class)
bactext_error_code_name(error_code));
Error_Detected = true;
}
void MyAbortHandler(
BACNET_ADDRESS * src
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2010-12-15 19:04 bacnet-stack-0.5.8\
文件 175 2007-11-29 15:44 bacnet-stack-0.5.8\.ast
目录 0 2010-12-15 19:04 bacnet-stack-0.5.8\src\
文件 10831 2010-08-18 00:19 bacnet-stack-0.5.8\src\bacdevobjpropref.c
文件 10555 2010-02-14 05:29 bacnet-stack-0.5.8\src\dcc.c
文件 8569 2010-05-04 21:06 bacnet-stack-0.5.8\src\alarm_ack.c
文件 10008 2010-10-31 19:13 bacnet-stack-0.5.8\src\bacint.c
文件 3458 2010-08-17 13:51 bacnet-stack-0.5.8\src\filename.c
文件 11878 2010-12-15 19:02 bacnet-stack-0.5.8\src\bip.c
文件 6030 2010-05-04 21:06 bacnet-stack-0.5.8\src\rd.c
文件 1719 2010-12-12 05:42 bacnet-stack-0.5.8\src\bigend.c
文件 23211 2010-08-17 13:51 bacnet-stack-0.5.8\src\ptransfer.c
文件 6597 2010-02-14 05:29 bacnet-stack-0.5.8\src\ihave.c
文件 18899 2010-02-14 05:29 bacnet-stack-0.5.8\src\keylist.c
文件 6724 2010-02-14 05:29 bacnet-stack-0.5.8\src\timesync.c
文件 7039 2010-02-14 05:29 bacnet-stack-0.5.8\src\indtext.c
文件 13950 2010-02-14 05:29 bacnet-stack-0.5.8\src\wp.c
文件 61844 2010-12-15 19:02 bacnet-stack-0.5.8\src\event.c
文件 67675 2010-12-15 19:02 bacnet-stack-0.5.8\src\bacapp.c
文件 6557 2010-02-14 05:29 bacnet-stack-0.5.8\src\sbuf.c
文件 2104 2010-12-15 19:02 bacnet-stack-0.5.8\src\debug.c
文件 24844 2010-12-15 19:02 bacnet-stack-0.5.8\src\npdu.c
文件 4682 2010-03-24 03:41 bacnet-stack-0.5.8\src\datali
文件 7382 2010-08-17 13:51 bacnet-stack-0.5.8\src\abort.c
文件 7274 2010-08-17 19:43 bacnet-stack-0.5.8\src\reject.c
文件 17961 2010-02-14 05:29 bacnet-stack-0.5.8\src\arf.c
文件 13567 2010-02-14 05:29 bacnet-stack-0.5.8\src\bacpropstates.c
文件 89825 2010-10-12 01:17 bacnet-stack-0.5.8\src\bacdcode.c
文件 33969 2010-09-16 14:49 bacnet-stack-0.5.8\src\rpm.c
文件 11649 2010-07-19 23:19 bacnet-stack-0.5.8\src\tsm.c
文件 1602 2010-02-14 05:29 bacnet-stack-0.5.8\src\version.c
............此处省略728个文件信息
- 上一篇:(2).rar
- 下一篇:VisualStudio2012入门教程(4个).pdf
相关资源
- VisualStudio2012入门教程(4个).pdf
- (2).rar
- 物流管理系统.rar
- AWS无服务器架构.pdf
- 2rbkxt.rar
- 拼图游戏c源代码附程序.zip
- 基于Adaboost算法的实时行人检测系统
- 论文.doc
- VC编程技术600个大型项目源码.rar
- 音像出租管理系统毕业设计c.rar
- DS2072快速指南.pdf
- 有数据的DataPetshop.zip
- tongxueluvc.rar
- 2055287学生管理系统.rar
- 图像去雾.docx
- busybox-1.21.0.tar.bz2
- 有这个变压器无敌手.rar
- 4947fbbfec974f79811df99fa25dbe13.zip
- KNIME设计之节点学习.pdf
- 1730365atherosar9565xp驱动.zip
- UcosII官方源码及中文注释.7z
- OV7670摄像头使用浅谈.pdf
- 2217601TankWar1.8.14.rar
- TankWar.rar
- erydor.rar
- MvcApplication1.rar
- UML与设计模式.zip
- 2889642计算机组成原理试卷及答案(唐
- UDC(通用驱动配置)说明.pdf
- Rose_蝴蝶结.rar
评论
共有 条评论