Commit 23f79fd8 authored by captainwong's avatar captainwong

tools

parent f3c13c22
......@@ -7,4 +7,4 @@ JAVA_INCLUDE_OS=${JAVA_INCLUDE}/linux
cc -fpic -c ../ademco.c libademco_java_wrap.c -I"../" -I${JAVA_INCLUDE} -I${JAVA_INCLUDE_OS}
ld -shared ademco.o libademco_java_wrap.o -o libademco_java.so
javac JavaDemo.java
java -Djava.library.path=./ JavaDemo
\ No newline at end of file
# java -Djava.library.path=./ JavaDemo
\ No newline at end of file
......@@ -7,4 +7,4 @@ JAVA_INCLUDE_OS=${JAVA_INCLUDE}/darwin
gcc -fpic -c ../ademco.c libademco_java_wrap.c -I"../" -I${JAVA_INCLUDE} -I${JAVA_INCLUDE_OS}
gcc -shared ademco.o libademco_java_wrap.o -o libademco_java.dylib
javac JavaDemo.java
java -Djava.library.path=./ JavaDemo
# java -Djava.library.path=./ JavaDemo
......@@ -3,4 +3,4 @@ mkdir com\hb3344\ademco
cl -c -DDEBUG=1 ../ademco.c libademco_csharp_wrap.c -I"../"
cl -LD ademco.obj libademco_csharp_wrap.obj -o libademco.dll
csc CSharpDemo.cs -recurse:com/hb3344/ademco/*.cs
CSharpDemo.exe
rem CSharpDemo.exe
......@@ -3,4 +3,4 @@ mkdir com\hb3344\ademco
cl -c ../ademco.c libademco_java_wrap.c -I"../" -I"%JAVA_HOME%include" -I"%JAVA_HOME%include/win32"
cl -LD ademco.obj libademco_java_wrap.obj -o ademco_java.dll
javac -encoding utf-8 JavaDemo.java
java JavaDemo
rem java JavaDemo
# Tools 测试及演示工具,已编译的dll等
* `ademco_hb.dll``dll_demo``csharp_dll_demo` 调用
* `ademco_java.dll``Java SimpleServer` 调用
* `bench.exe` 本机性能测试工具
* `demo.exe` 正确性测试以及使用C++开发、直接引入头文件的示例
* `server_demo.exe` 简易版接警中心,可用来接收主机报告、远程控制(已停止维护)
* `server_demo_libevent` 简易版接警中心,可用来接收主机连接,进行简单交互:接收主机事件;布撤防、查询主机类型或其他自定义消息等命令。
主机连接成功后可以发送的命令列表:
* `A`: 对所有上线的主机布防
* `D`: 对所有上线的主机撤防,要求输入6位数字密码
* `E`: 对所有上线的主机发送紧急报警命令
* `T`: 对所有上线的主机发送 `1798` 查询主机类型
* `M`: 对所有上线的主机,手动输入 [事件码 gg zone]
* `C`: 对指定安定宝ID的主机发送:[ademco_id 事件码 gg zone]
* `X`: 对指定安定宝ID的主机发送,附带字符串形式的 XDATA: [ademco_id 事件码 gg zone xdata],如 [6668888 1400 0 0 123456]
* `Y`: 对指定安定宝ID的主机发送,附带十六进制形式的 XDATA: [ademco_id 事件码 gg zone xdata],如 [666888 1704 0 0 EBBA3FA176]
* `Z`: 对指定安定宝ID的主机发送,开启查询防区信息流程
* `I`: 打印统计信息
* `P`: 打印数据包开关
* `Q`: 退出
* `bench_client` 性能测试工具,用法 `bench_client ip port thread_count session_count timeout`。使用 `thread_count` 个线程、发起 `session_count` 个客户端,对 `ip:port` 上运行的接警中心进行性能测试,在 `timeout` 秒后停止并输出测试结果。
* `server_demo.exe` 简易版接警中心,可用来接收主机报告、远程控制
## 直连型主机模拟器
......
#/bin/bash
cd ../swig
rm -rf *.exp *.lib *.dll *.exe *.obj *.class com/
#cd ../tools
\ No newline at end of file
#/bin/bash
cd ../swig
./linux_java.sh
cd ../tools/
mkdir -p linux_java
cd linux_java
cp -r ../../swig/com/ .
cp ../../swig/*.cs .
cp ../../swig/*.so .
cd ..
rm -f linux_java.zip
zip linux_java.zip linux_java
\ No newline at end of file
#/bin/bash
cd ../swig
./mac_java.sh
cd ../tools/
mkdir -p mac_java
cd mac_java
cp -r ../../swig/com/ .
cp ../../swig/*.cs .
cp ../../swig/*.dylib .
cd ..
rm -f mac_java.zip
zip mac_java.zip mac_java/
#/bin/bash
# win-java
./clean.sh
./win_java.bat
mkdir -p win_java
cd win_java
cp -r ../../swig/com/ .
cp ../../swig/*.java .
cp ../../swig/*.dll .
cd ..
rm -f win_java.zip
zip win_java.zip win_java
rm -rf win_java
# win-c#
./clean.sh
./win_csharp.bat
mkdir -p win_csharp
cd win_csharp
cp -r ../../swig/com/ .
cp ../../swig/*.cs .
cp ../../swig/*.dll .
cp ../../swig/*.exe .
cd ..
rm -f win_csharp.zip
zip win_csharp.zip win_csharp
rm -rf win_csharp
# ubuntu20.04 java
host=192.168.2.107
ssh -t root@${host} "cd /root/projects/ademco_hb && git pull origin c && cd swig && ./linux_java.sh && cd ../tools && ./linux_java.sh"
scp root@${host}:/root/projects/ademco_hb/tools/linux_java.zip .
ssh -t root@${host} "rm -f /root/projects/ademco_hb/tools/linux_java.zip"
# macOS java
host=192.168.2.107
ssh -t jack@${host} "cd /Users/jack/projects/ademco_hb && git pull origin c && cd swig && ./mac_java.sh && cd ../tools && ./linux_java.sh"
scp jack@${host}:/Users/jack/projects/ademco_hb/tools/mac_java.zip .
ssh -t jack@${host} "rm -f /Users/jack/projects/ademco_hb/tools/mac_java.zip"
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat"
cd ../swig
win_csharp.bat
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat"
cd ../swig
win_java.bat
This diff is collapsed.
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package com.hb3344.ademco;
public class AdemcoDataSegment {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected AdemcoDataSegment(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(AdemcoDataSegment obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
libademcoJNI.delete_AdemcoDataSegment(swigCPtr);
}
swigCPtr = 0;
}
}
public void setRaw(byte[] value) {
libademcoJNI.AdemcoDataSegment_raw_set(swigCPtr, this, value);
}
public byte[] getRaw() {
return libademcoJNI.AdemcoDataSegment_raw_get(swigCPtr, this);
}
public void setRaw_len(int value) {
libademcoJNI.AdemcoDataSegment_raw_len_set(swigCPtr, this, value);
}
public int getRaw_len() {
return libademcoJNI.AdemcoDataSegment_raw_len_get(swigCPtr, this);
}
public void setAdemcoId(long value) {
libademcoJNI.AdemcoDataSegment_ademcoId_set(swigCPtr, this, value);
}
public long getAdemcoId() {
return libademcoJNI.AdemcoDataSegment_ademcoId_get(swigCPtr, this);
}
public void setAdemcoEvent(AdemcoEvent value) {
libademcoJNI.AdemcoDataSegment_ademcoEvent_set(swigCPtr, this, value.swigValue());
}
public AdemcoEvent getAdemcoEvent() {
return AdemcoEvent.swigToEnum(libademcoJNI.AdemcoDataSegment_ademcoEvent_get(swigCPtr, this));
}
public void setGg(long value) {
libademcoJNI.AdemcoDataSegment_gg_set(swigCPtr, this, value);
}
public long getGg() {
return libademcoJNI.AdemcoDataSegment_gg_get(swigCPtr, this);
}
public void setZone(long value) {
libademcoJNI.AdemcoDataSegment_zone_set(swigCPtr, this, value);
}
public long getZone() {
return libademcoJNI.AdemcoDataSegment_zone_get(swigCPtr, this);
}
public AdemcoDataSegment() {
this(libademcoJNI.new_AdemcoDataSegment(), true);
}
}
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package com.hb3344.ademco;
public enum AdemcoEvent {
EVENT_INVALID_EVENT(libademcoJNI.EVENT_INVALID_EVENT_get()),
EVENT_ARM(libademcoJNI.EVENT_ARM_get()),
EVENT_DISARM(libademcoJNI.EVENT_DISARM_get()),
EVENT_HALFARM_1456(libademcoJNI.EVENT_HALFARM_1456_get()),
EVENT_HALFARM(libademcoJNI.EVENT_HALFARM_get()),
EVENT_EMERGENCY(libademcoJNI.EVENT_EMERGENCY_get()),
EVENT_BURGLAR(libademcoJNI.EVENT_BURGLAR_get()),
EVENT_DOORRINGING(libademcoJNI.EVENT_DOORRINGING_get()),
EVENT_FIRE(libademcoJNI.EVENT_FIRE_get()),
EVENT_DURESS(libademcoJNI.EVENT_DURESS_get()),
EVENT_GAS(libademcoJNI.EVENT_GAS_get()),
EVENT_WATER(libademcoJNI.EVENT_WATER_get()),
EVENT_TAMPER(libademcoJNI.EVENT_TAMPER_get()),
EVENT_ZONE_TAMPER(libademcoJNI.EVENT_ZONE_TAMPER_get()),
EVENT_BYPASS(libademcoJNI.EVENT_BYPASS_get()),
EVENT_BYPASS_RESUME(libademcoJNI.EVENT_BYPASS_RESUME_get()),
EVENT_AC_BROKE(libademcoJNI.EVENT_AC_BROKE_get()),
EVENT_AC_RECOVER(libademcoJNI.EVENT_AC_RECOVER_get()),
EVENT_LOWBATTERY(libademcoJNI.EVENT_LOWBATTERY_get()),
EVENT_BATTERY_RECOVER(libademcoJNI.EVENT_BATTERY_RECOVER_get()),
EVENT_BADBATTERY(libademcoJNI.EVENT_BADBATTERY_get()),
EVENT_BADBATTERY_RECOVER(libademcoJNI.EVENT_BADBATTERY_RECOVER_get()),
EVENT_SOLARDISTURB(libademcoJNI.EVENT_SOLARDISTURB_get()),
EVENT_SOLARDISTURB_RECOVER(libademcoJNI.EVENT_SOLARDISTURB_RECOVER_get()),
EVENT_DISCONNECT(libademcoJNI.EVENT_DISCONNECT_get()),
EVENT_RECONNECT(libademcoJNI.EVENT_RECONNECT_get()),
EVENT_BATTERY_EXCEPTION(libademcoJNI.EVENT_BATTERY_EXCEPTION_get()),
EVENT_BATTERY_EXCEPTION_RECOVER(libademcoJNI.EVENT_BATTERY_EXCEPTION_RECOVER_get()),
EVENT_OTHER_EXCEPTION(libademcoJNI.EVENT_OTHER_EXCEPTION_get()),
EVENT_OTHER_EXCEPTION_RECOVER(libademcoJNI.EVENT_OTHER_EXCEPTION_RECOVER_get()),
EVENT_LOST(libademcoJNI.EVENT_LOST_get()),
EVENT_LOST_RECOVER(libademcoJNI.EVENT_LOST_RECOVER_get()),
EVENT_3100(libademcoJNI.EVENT_3100_get()),
EVENT_SERIAL485DIS(libademcoJNI.EVENT_SERIAL485DIS_get()),
EVENT_SERIAL485CONN(libademcoJNI.EVENT_SERIAL485CONN_get()),
EVENT_CONN_HANGUP(libademcoJNI.EVENT_CONN_HANGUP_get()),
EVENT_CONN_RESUME(libademcoJNI.EVENT_CONN_RESUME_get()),
EVENT_DISARM_PWD_ERR(libademcoJNI.EVENT_DISARM_PWD_ERR_get()),
EVENT_SUB_MACHINE_SENSOR_EXCEPTION(libademcoJNI.EVENT_SUB_MACHINE_SENSOR_EXCEPTION_get()),
EVENT_SUB_MACHINE_SENSOR_RESUME(libademcoJNI.EVENT_SUB_MACHINE_SENSOR_RESUME_get()),
EVENT_SUB_MACHINE_POWER_EXCEPTION(libademcoJNI.EVENT_SUB_MACHINE_POWER_EXCEPTION_get()),
EVENT_SUB_MACHINE_POWER_RESUME(libademcoJNI.EVENT_SUB_MACHINE_POWER_RESUME_get()),
EVENT_COM_PASSTHROUGH(libademcoJNI.EVENT_COM_PASSTHROUGH_get()),
EVENT_ENTER_SET_MODE(libademcoJNI.EVENT_ENTER_SET_MODE_get()),
EVENT_EXIT_SET_MODE(libademcoJNI.EVENT_EXIT_SET_MODE_get()),
EVENT_QUERY_SUB_MACHINE(libademcoJNI.EVENT_QUERY_SUB_MACHINE_get()),
EVENT_WRITE_TO_MACHINE(libademcoJNI.EVENT_WRITE_TO_MACHINE_get()),
EVENT_I_AM_NET_MODULE(libademcoJNI.EVENT_I_AM_NET_MODULE_get()),
EVENT_I_AM_GPRS(libademcoJNI.EVENT_I_AM_GPRS_get()),
EVENT_I_AM_LCD_MACHINE(libademcoJNI.EVENT_I_AM_LCD_MACHINE_get()),
EVENT_I_AM_WIRE_MACHINE(libademcoJNI.EVENT_I_AM_WIRE_MACHINE_get()),
EVENT_I_AM_WIFI_MACHINE(libademcoJNI.EVENT_I_AM_WIFI_MACHINE_get()),
EVENT_I_AM_3_SECTION_MACHINE(libademcoJNI.EVENT_I_AM_3_SECTION_MACHINE_get()),
EVENT_I_AM_IOT_MACHINE(libademcoJNI.EVENT_I_AM_IOT_MACHINE_get()),
EVENT_I_AM_TRUE_COLOR(libademcoJNI.EVENT_I_AM_TRUE_COLOR_get()),
EVENT_I_AM_GPRS_IOT(libademcoJNI.EVENT_I_AM_GPRS_IOT_get()),
EVENT_I_AM_GPRS_PHONE(libademcoJNI.EVENT_I_AM_GPRS_PHONE_get()),
EVENT_I_AM_NB_MACHINE(libademcoJNI.EVENT_I_AM_NB_MACHINE_get()),
EVENT_PHONE_USER_SOS(libademcoJNI.EVENT_PHONE_USER_SOS_get()),
EVENT_PHONE_USER_CANCLE_ALARM(libademcoJNI.EVENT_PHONE_USER_CANCLE_ALARM_get()),
EVENT_ENTER_SETTING_MODE(libademcoJNI.EVENT_ENTER_SETTING_MODE_get()),
EVENT_EXIT_SETTING_MODE(libademcoJNI.EVENT_EXIT_SETTING_MODE_get()),
EVENT_RESTORE_FACTORY_SETTINGS_710(libademcoJNI.EVENT_RESTORE_FACTORY_SETTINGS_710_get()),
EVENT_RESTORE_FACTORY_SETTINGS(libademcoJNI.EVENT_RESTORE_FACTORY_SETTINGS_get()),
EVENT_SIM_IS_IOT_CARD(libademcoJNI.EVENT_SIM_IS_IOT_CARD_get()),
EVENT_SIM_IS_IOT_PLATFORM_CARD(libademcoJNI.EVENT_SIM_IS_IOT_PLATFORM_CARD_get()),
EVENT_SIM_IS_NOT_IOT_CARD(libademcoJNI.EVENT_SIM_IS_NOT_IOT_CARD_get()),
EVENT_WHAT_IS_YOUR_TYPE(libademcoJNI.EVENT_WHAT_IS_YOUR_TYPE_get()),
EVENT_SIGNAL_STRENGTH_CHANGED(libademcoJNI.EVENT_SIGNAL_STRENGTH_CHANGED_get()),
EVENT_OFFLINE(libademcoJNI.EVENT_OFFLINE_get()),
EVENT_ONLINE(libademcoJNI.EVENT_ONLINE_get());
public final int swigValue() {
return swigValue;
}
public static AdemcoEvent swigToEnum(int swigValue) {
AdemcoEvent[] swigValues = AdemcoEvent.class.getEnumConstants();
if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
return swigValues[swigValue];
for (AdemcoEvent swigEnum : swigValues)
if (swigEnum.swigValue == swigValue)
return swigEnum;
throw new IllegalArgumentException("No enum " + AdemcoEvent.class + " with value " + swigValue);
}
@SuppressWarnings("unused")
private AdemcoEvent() {
this.swigValue = SwigNext.next++;
}
@SuppressWarnings("unused")
private AdemcoEvent(int swigValue) {
this.swigValue = swigValue;
SwigNext.next = swigValue+1;
}
@SuppressWarnings("unused")
private AdemcoEvent(AdemcoEvent swigEnum) {
this.swigValue = swigEnum.swigValue;
SwigNext.next = this.swigValue+1;
}
private final int swigValue;
private static class SwigNext {
private static int next = 0;
}
}
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package com.hb3344.ademco;
public enum AdemcoEventLevel {
EVENT_LEVEL_NULL,
EVENT_LEVEL_STATUS,
EVENT_LEVEL_EXCEPTION_RESUME,
EVENT_LEVEL_EXCEPTION,
EVENT_LEVEL_ALARM;
public final int swigValue() {
return swigValue;
}
public static AdemcoEventLevel swigToEnum(int swigValue) {
AdemcoEventLevel[] swigValues = AdemcoEventLevel.class.getEnumConstants();
if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
return swigValues[swigValue];
for (AdemcoEventLevel swigEnum : swigValues)
if (swigEnum.swigValue == swigValue)
return swigEnum;
throw new IllegalArgumentException("No enum " + AdemcoEventLevel.class + " with value " + swigValue);
}
@SuppressWarnings("unused")
private AdemcoEventLevel() {
this.swigValue = SwigNext.next++;
}
@SuppressWarnings("unused")
private AdemcoEventLevel(int swigValue) {
this.swigValue = swigValue;
SwigNext.next = swigValue+1;
}
@SuppressWarnings("unused")
private AdemcoEventLevel(AdemcoEventLevel swigEnum) {
this.swigValue = swigEnum.swigValue;
SwigNext.next = this.swigValue+1;
}
private final int swigValue;
private static class SwigNext {
private static int next = 0;
}
}
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package com.hb3344.ademco;
public class AdemcoPacket {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected AdemcoPacket(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(AdemcoPacket obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
libademcoJNI.delete_AdemcoPacket(swigCPtr);
}
swigCPtr = 0;
}
}
public void setCrc(int value) {
libademcoJNI.AdemcoPacket_crc_set(swigCPtr, this, value);
}
public int getCrc() {
return libademcoJNI.AdemcoPacket_crc_get(swigCPtr, this);
}
public void setLen(int value) {
libademcoJNI.AdemcoPacket_len_set(swigCPtr, this, value);
}
public int getLen() {
return libademcoJNI.AdemcoPacket_len_get(swigCPtr, this);
}
public void setId(AdemcoPacketId value) {
libademcoJNI.AdemcoPacket_id_set(swigCPtr, this, value.swigValue());
}
public AdemcoPacketId getId() {
return AdemcoPacketId.swigToEnum(libademcoJNI.AdemcoPacket_id_get(swigCPtr, this));
}
public void setSeq(int value) {
libademcoJNI.AdemcoPacket_seq_set(swigCPtr, this, value);
}
public int getSeq() {
return libademcoJNI.AdemcoPacket_seq_get(swigCPtr, this);
}
public void setAcct(String value) {
libademcoJNI.AdemcoPacket_acct_set(swigCPtr, this, value);
}
public String getAcct() {
return libademcoJNI.AdemcoPacket_acct_get(swigCPtr, this);
}
public void setData(AdemcoDataSegment value) {
libademcoJNI.AdemcoPacket_data_set(swigCPtr, this, AdemcoDataSegment.getCPtr(value), value);
}
public AdemcoDataSegment getData() {
long cPtr = libademcoJNI.AdemcoPacket_data_get(swigCPtr, this);
return (cPtr == 0) ? null : new AdemcoDataSegment(cPtr, false);
}
public void setXdata(AdemcoXDataSegment value) {
libademcoJNI.AdemcoPacket_xdata_set(swigCPtr, this, AdemcoXDataSegment.getCPtr(value), value);
}
public AdemcoXDataSegment getXdata() {
long cPtr = libademcoJNI.AdemcoPacket_xdata_get(swigCPtr, this);
return (cPtr == 0) ? null : new AdemcoXDataSegment(cPtr, false);
}
public void setTimestamp(SWIGTYPE_p_time_t value) {
libademcoJNI.AdemcoPacket_timestamp_set(swigCPtr, this, SWIGTYPE_p_time_t.getCPtr(value));
}
public SWIGTYPE_p_time_t getTimestamp() {
return new SWIGTYPE_p_time_t(libademcoJNI.AdemcoPacket_timestamp_get(swigCPtr, this), true);
}
public void setRaw(byte[] value) {
libademcoJNI.AdemcoPacket_raw_set(swigCPtr, this, value);
}
public byte[] getRaw() {
return libademcoJNI.AdemcoPacket_raw_get(swigCPtr, this);
}
public void setRaw_len(int value) {
libademcoJNI.AdemcoPacket_raw_len_set(swigCPtr, this, value);
}
public int getRaw_len() {
return libademcoJNI.AdemcoPacket_raw_len_get(swigCPtr, this);
}
public AdemcoPacket() {
this(libademcoJNI.new_AdemcoPacket(), true);
}
}
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package com.hb3344.ademco;
public enum AdemcoPacketId {
AID_NULL,
AID_ACK,
AID_NAK,
AID_DUH,
AID_HB,
AID_ADM_CID,
AID_MOD_REG,
AID_REG_RSP,
AID_COUNT,
AID_INVALID(libademcoJNI.AID_INVALID_get());
public final int swigValue() {
return swigValue;
}
public static AdemcoPacketId swigToEnum(int swigValue) {
AdemcoPacketId[] swigValues = AdemcoPacketId.class.getEnumConstants();
if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
return swigValues[swigValue];
for (AdemcoPacketId swigEnum : swigValues)
if (swigEnum.swigValue == swigValue)
return swigEnum;
throw new IllegalArgumentException("No enum " + AdemcoPacketId.class + " with value " + swigValue);
}
@SuppressWarnings("unused")
private AdemcoPacketId() {
this.swigValue = SwigNext.next++;
}
@SuppressWarnings("unused")
private AdemcoPacketId(int swigValue) {
this.swigValue = swigValue;
SwigNext.next = swigValue+1;
}
@SuppressWarnings("unused")
private AdemcoPacketId(AdemcoPacketId swigEnum) {
this.swigValue = swigEnum.swigValue;
SwigNext.next = this.swigValue+1;
}
private final int swigValue;
private static class SwigNext {
private static int next = 0;
}
}
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package com.hb3344.ademco;
public enum AdemcoParseResult {
RESULT_OK,
RESULT_NOT_ENOUGH,
RESULT_ERROR;
public final int swigValue() {
return swigValue;
}
public static AdemcoParseResult swigToEnum(int swigValue) {
AdemcoParseResult[] swigValues = AdemcoParseResult.class.getEnumConstants();
if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
return swigValues[swigValue];
for (AdemcoParseResult swigEnum : swigValues)
if (swigEnum.swigValue == swigValue)
return swigEnum;
throw new IllegalArgumentException("No enum " + AdemcoParseResult.class + " with value " + swigValue);
}
@SuppressWarnings("unused")
private AdemcoParseResult() {
this.swigValue = SwigNext.next++;
}
@SuppressWarnings("unused")
private AdemcoParseResult(int swigValue) {
this.swigValue = swigValue;
SwigNext.next = swigValue+1;
}
@SuppressWarnings("unused")
private AdemcoParseResult(AdemcoParseResult swigEnum) {
this.swigValue = swigEnum.swigValue;
SwigNext.next = this.swigValue+1;
}
private final int swigValue;
private static class SwigNext {
private static int next = 0;
}
}
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package com.hb3344.ademco;
public enum AdemcoXDataLengthFormat {
TWO_HEX,
FOUR_DECIMAL;
public final int swigValue() {
return swigValue;
}
public static AdemcoXDataLengthFormat swigToEnum(int swigValue) {
AdemcoXDataLengthFormat[] swigValues = AdemcoXDataLengthFormat.class.getEnumConstants();
if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
return swigValues[swigValue];
for (AdemcoXDataLengthFormat swigEnum : swigValues)
if (swigEnum.swigValue == swigValue)
return swigEnum;
throw new IllegalArgumentException("No enum " + AdemcoXDataLengthFormat.class + " with value " + swigValue);
}
@SuppressWarnings("unused")
private AdemcoXDataLengthFormat() {
this.swigValue = SwigNext.next++;
}
@SuppressWarnings("unused")
private AdemcoXDataLengthFormat(int swigValue) {
this.swigValue = swigValue;
SwigNext.next = swigValue+1;
}
@SuppressWarnings("unused")
private AdemcoXDataLengthFormat(AdemcoXDataLengthFormat swigEnum) {
this.swigValue = swigEnum.swigValue;
SwigNext.next = this.swigValue+1;
}
private final int swigValue;
private static class SwigNext {
private static int next = 0;
}
}
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package com.hb3344.ademco;
public class AdemcoXDataSegment {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected AdemcoXDataSegment(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(AdemcoXDataSegment obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
libademcoJNI.delete_AdemcoXDataSegment(swigCPtr);
}
swigCPtr = 0;
}
}
public void setLenghFormat(AdemcoXDataLengthFormat value) {
libademcoJNI.AdemcoXDataSegment_lenghFormat_set(swigCPtr, this, value.swigValue());
}
public AdemcoXDataLengthFormat getLenghFormat() {
return AdemcoXDataLengthFormat.swigToEnum(libademcoJNI.AdemcoXDataSegment_lenghFormat_get(swigCPtr, this));
}
public void setRaw(byte[] value) {
libademcoJNI.AdemcoXDataSegment_raw_set(swigCPtr, this, value);
}
public byte[] getRaw() {
return libademcoJNI.AdemcoXDataSegment_raw_get(swigCPtr, this);
}
public void setRaw_len(int value) {
libademcoJNI.AdemcoXDataSegment_raw_len_set(swigCPtr, this, value);
}
public int getRaw_len() {
return libademcoJNI.AdemcoXDataSegment_raw_len_get(swigCPtr, this);
}
public AdemcoXDataSegment() {
this(libademcoJNI.new_AdemcoXDataSegment(), true);
}
}
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package com.hb3344.ademco;
public enum AdemcoXDataTransform {
AdemcoXDataTransform_as_is,
AdemcoXDataTransform_to_ascii;
public final int swigValue() {
return swigValue;
}
public static AdemcoXDataTransform swigToEnum(int swigValue) {
AdemcoXDataTransform[] swigValues = AdemcoXDataTransform.class.getEnumConstants();
if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
return swigValues[swigValue];
for (AdemcoXDataTransform swigEnum : swigValues)
if (swigEnum.swigValue == swigValue)
return swigEnum;
throw new IllegalArgumentException("No enum " + AdemcoXDataTransform.class + " with value " + swigValue);
}
@SuppressWarnings("unused")
private AdemcoXDataTransform() {
this.swigValue = SwigNext.next++;
}
@SuppressWarnings("unused")
private AdemcoXDataTransform(int swigValue) {
this.swigValue = swigValue;
SwigNext.next = swigValue+1;
}
@SuppressWarnings("unused")
private AdemcoXDataTransform(AdemcoXDataTransform swigEnum) {
this.swigValue = swigEnum.swigValue;
SwigNext.next = this.swigValue+1;
}
private final int swigValue;
private static class SwigNext {
private static int next = 0;
}
}
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package com.hb3344.ademco;
public class HbComData {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected HbComData(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(HbComData obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
libademcoJNI.delete_HbComData(swigCPtr);
}
swigCPtr = 0;
}
}
public void setData(byte[] value) {
libademcoJNI.HbComData_data_set(swigCPtr, this, value);
}
public byte[] getData() {
return libademcoJNI.HbComData_data_get(swigCPtr, this);
}
public void setLen(int value) {
libademcoJNI.HbComData_len_set(swigCPtr, this, value);
}
public int getLen() {
return libademcoJNI.HbComData_len_get(swigCPtr, this);
}
public HbComData() {
this(libademcoJNI.new_HbComData(), true);
}
}
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package com.hb3344.ademco;
public enum HbComReq_A3_op {
HbComReq_A3_p3_del(libademcoJNI.HbComReq_A3_p3_del_get()),
HbComReq_A3_p3_learn(libademcoJNI.HbComReq_A3_p3_learn_get()),
HbComReq_A3_p3_stop(libademcoJNI.HbComReq_A3_p3_stop_get()),
HbComReq_A3_p3_modify(libademcoJNI.HbComReq_A3_p3_modify_get());
public final int swigValue() {
return swigValue;
}
public static HbComReq_A3_op swigToEnum(int swigValue) {
HbComReq_A3_op[] swigValues = HbComReq_A3_op.class.getEnumConstants();
if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
return swigValues[swigValue];
for (HbComReq_A3_op swigEnum : swigValues)
if (swigEnum.swigValue == swigValue)
return swigEnum;
throw new IllegalArgumentException("No enum " + HbComReq_A3_op.class + " with value " + swigValue);
}
@SuppressWarnings("unused")
private HbComReq_A3_op() {
this.swigValue = SwigNext.next++;
}
@SuppressWarnings("unused")
private HbComReq_A3_op(int swigValue) {
this.swigValue = swigValue;
SwigNext.next = swigValue+1;
}
@SuppressWarnings("unused")
private HbComReq_A3_op(HbComReq_A3_op swigEnum) {
this.swigValue = swigEnum.swigValue;
SwigNext.next = this.swigValue+1;
}
private final int swigValue;
private static class SwigNext {
private static int next = 0;
}
}
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package com.hb3344.ademco;
public enum HbComRequestType {
HbComReq_A0,
HbComReq_A1,
HbComReq_A2,
HbComReq_A3,
HbComReq_A5,
HbComReq_A7,
HbComReq_A9,
HbComReq_AA,
HbComReq_AC,
HbComReq_AD,
HbComReq_AE,
HbComReq_B0,
HbComReq_RD_acct,
HbComReq_WR_acct,
HbComReq_Invalid(libademcoJNI.HbComReq_Invalid_get());
public final int swigValue() {
return swigValue;
}
public static HbComRequestType swigToEnum(int swigValue) {
HbComRequestType[] swigValues = HbComRequestType.class.getEnumConstants();
if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
return swigValues[swigValue];
for (HbComRequestType swigEnum : swigValues)
if (swigEnum.swigValue == swigValue)
return swigEnum;
throw new IllegalArgumentException("No enum " + HbComRequestType.class + " with value " + swigValue);
}
@SuppressWarnings("unused")
private HbComRequestType() {
this.swigValue = SwigNext.next++;
}
@SuppressWarnings("unused")
private HbComRequestType(int swigValue) {
this.swigValue = swigValue;
SwigNext.next = swigValue+1;
}
@SuppressWarnings("unused")
private HbComRequestType(HbComRequestType swigEnum) {
this.swigValue = swigEnum.swigValue;
SwigNext.next = this.swigValue+1;
}
private final int swigValue;
private static class SwigNext {
private static int next = 0;
}
}
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package com.hb3344.ademco;
public enum HbComResp_A2_p1 {
HbComResp_A2_p1_nomore(libademcoJNI.HbComResp_A2_p1_nomore_get()),
HbComResp_A2_p1_more(libademcoJNI.HbComResp_A2_p1_more_get());
public final int swigValue() {
return swigValue;
}
public static HbComResp_A2_p1 swigToEnum(int swigValue) {
HbComResp_A2_p1[] swigValues = HbComResp_A2_p1.class.getEnumConstants();
if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
return swigValues[swigValue];
for (HbComResp_A2_p1 swigEnum : swigValues)
if (swigEnum.swigValue == swigValue)
return swigEnum;
throw new IllegalArgumentException("No enum " + HbComResp_A2_p1.class + " with value " + swigValue);
}
@SuppressWarnings("unused")
private HbComResp_A2_p1() {
this.swigValue = SwigNext.next++;
}
@SuppressWarnings("unused")
private HbComResp_A2_p1(int swigValue) {
this.swigValue = swigValue;
SwigNext.next = swigValue+1;
}
@SuppressWarnings("unused")
private HbComResp_A2_p1(HbComResp_A2_p1 swigEnum) {
this.swigValue = swigEnum.swigValue;
SwigNext.next = this.swigValue+1;
}
private final int swigValue;
private static class SwigNext {
private static int next = 0;
}
}
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package com.hb3344.ademco;
public enum HbComResp_A4_p3 {
HbComResp_A4_p3_fail(libademcoJNI.HbComResp_A4_p3_fail_get()),
HbComResp_A4_p3_ok(libademcoJNI.HbComResp_A4_p3_ok_get()),
HbComResp_A4_p3_dup(libademcoJNI.HbComResp_A4_p3_dup_get()),
HbComResp_A4_p3_ne(libademcoJNI.HbComResp_A4_p3_ne_get());
public final int swigValue() {
return swigValue;
}
public static HbComResp_A4_p3 swigToEnum(int swigValue) {
HbComResp_A4_p3[] swigValues = HbComResp_A4_p3.class.getEnumConstants();
if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
return swigValues[swigValue];
for (HbComResp_A4_p3 swigEnum : swigValues)
if (swigEnum.swigValue == swigValue)
return swigEnum;
throw new IllegalArgumentException("No enum " + HbComResp_A4_p3.class + " with value " + swigValue);
}
@SuppressWarnings("unused")
private HbComResp_A4_p3() {
this.swigValue = SwigNext.next++;
}
@SuppressWarnings("unused")
private HbComResp_A4_p3(int swigValue) {
this.swigValue = swigValue;
SwigNext.next = swigValue+1;
}
@SuppressWarnings("unused")
private HbComResp_A4_p3(HbComResp_A4_p3 swigEnum) {
this.swigValue = swigEnum.swigValue;
SwigNext.next = this.swigValue+1;
}
private final int swigValue;
private static class SwigNext {
private static int next = 0;
}
}
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package com.hb3344.ademco;
public enum HbComResp_AB_p2 {
HbComResp_AB_p2_close(libademcoJNI.HbComResp_AB_p2_close_get()),
HbComResp_AB_p2_open(libademcoJNI.HbComResp_AB_p2_open_get()),
HbComResp_AB_p2_reject(libademcoJNI.HbComResp_AB_p2_reject_get());
public final int swigValue() {
return swigValue;
}
public static HbComResp_AB_p2 swigToEnum(int swigValue) {
HbComResp_AB_p2[] swigValues = HbComResp_AB_p2.class.getEnumConstants();
if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
return swigValues[swigValue];
for (HbComResp_AB_p2 swigEnum : swigValues)
if (swigEnum.swigValue == swigValue)
return swigEnum;
throw new IllegalArgumentException("No enum " + HbComResp_AB_p2.class + " with value " + swigValue);
}
@SuppressWarnings("unused")
private HbComResp_AB_p2() {
this.swigValue = SwigNext.next++;
}
@SuppressWarnings("unused")
private HbComResp_AB_p2(int swigValue) {
this.swigValue = swigValue;
SwigNext.next = swigValue+1;
}
@SuppressWarnings("unused")
private HbComResp_AB_p2(HbComResp_AB_p2 swigEnum) {
this.swigValue = swigEnum.swigValue;
SwigNext.next = this.swigValue+1;
}
private final int swigValue;
private static class SwigNext {
private static int next = 0;
}
}
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package com.hb3344.ademco;
public enum HbComResp_AD_p1 {
HbComResp_AD_p1_single(libademcoJNI.HbComResp_AD_p1_single_get()),
HbComResp_AD_p1_double(libademcoJNI.HbComResp_AD_p1_double_get());
public final int swigValue() {
return swigValue;
}
public static HbComResp_AD_p1 swigToEnum(int swigValue) {
HbComResp_AD_p1[] swigValues = HbComResp_AD_p1.class.getEnumConstants();
if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
return swigValues[swigValue];
for (HbComResp_AD_p1 swigEnum : swigValues)
if (swigEnum.swigValue == swigValue)
return swigEnum;
throw new IllegalArgumentException("No enum " + HbComResp_AD_p1.class + " with value " + swigValue);
}
@SuppressWarnings("unused")
private HbComResp_AD_p1() {
this.swigValue = SwigNext.next++;
}
@SuppressWarnings("unused")
private HbComResp_AD_p1(int swigValue) {
this.swigValue = swigValue;
SwigNext.next = swigValue+1;
}
@SuppressWarnings("unused")
private HbComResp_AD_p1(HbComResp_AD_p1 swigEnum) {
this.swigValue = swigEnum.swigValue;
SwigNext.next = this.swigValue+1;
}
private final int swigValue;
private static class SwigNext {
private static int next = 0;
}
}
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package com.hb3344.ademco;
public enum HbComResp_AD_p2 {
HbComResp_AD_p2_nomore(libademcoJNI.HbComResp_AD_p2_nomore_get()),
HbComResp_AD_p2_more(libademcoJNI.HbComResp_AD_p2_more_get());
public final int swigValue() {
return swigValue;
}
public static HbComResp_AD_p2 swigToEnum(int swigValue) {
HbComResp_AD_p2[] swigValues = HbComResp_AD_p2.class.getEnumConstants();
if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
return swigValues[swigValue];
for (HbComResp_AD_p2 swigEnum : swigValues)
if (swigEnum.swigValue == swigValue)
return swigEnum;
throw new IllegalArgumentException("No enum " + HbComResp_AD_p2.class + " with value " + swigValue);
}
@SuppressWarnings("unused")
private HbComResp_AD_p2() {
this.swigValue = SwigNext.next++;
}
@SuppressWarnings("unused")
private HbComResp_AD_p2(int swigValue) {
this.swigValue = swigValue;
SwigNext.next = swigValue+1;
}
@SuppressWarnings("unused")
private HbComResp_AD_p2(HbComResp_AD_p2 swigEnum) {
this.swigValue = swigEnum.swigValue;
SwigNext.next = this.swigValue+1;
}
private final int swigValue;
private static class SwigNext {
private static int next = 0;
}
}
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package com.hb3344.ademco;
public enum HbComResponseType {
HbComResp_A0,
HbComResp_A2,
HbComResp_A3,
HbComResp_A4,
HbComResp_A6,
HbComResp_A7,
HbComResp_A8,
HbComResp_A9,
HbComResp_AB,
HbComResp_AD,
HbComResp_AF,
HbComResp_B1,
HbComResp_Invalid(libademcoJNI.HbComResp_Invalid_get());
public final int swigValue() {
return swigValue;
}
public static HbComResponseType swigToEnum(int swigValue) {
HbComResponseType[] swigValues = HbComResponseType.class.getEnumConstants();
if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
return swigValues[swigValue];
for (HbComResponseType swigEnum : swigValues)
if (swigEnum.swigValue == swigValue)
return swigEnum;
throw new IllegalArgumentException("No enum " + HbComResponseType.class + " with value " + swigValue);
}
@SuppressWarnings("unused")
private HbComResponseType() {
this.swigValue = SwigNext.next++;
}
@SuppressWarnings("unused")
private HbComResponseType(int swigValue) {
this.swigValue = swigValue;
SwigNext.next = swigValue+1;
}
@SuppressWarnings("unused")
private HbComResponseType(HbComResponseType swigEnum) {
this.swigValue = swigEnum.swigValue;
SwigNext.next = this.swigValue+1;
}
private final int swigValue;
private static class SwigNext {
private static int next = 0;
}
}
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package com.hb3344.ademco;
public enum HbCom_3sec_status {
HbCom_3sec_arm(libademcoJNI.HbCom_3sec_arm_get()),
HbCom_3sec_disarm(libademcoJNI.HbCom_3sec_disarm_get());
public final int swigValue() {
return swigValue;
}
public static HbCom_3sec_status swigToEnum(int swigValue) {
HbCom_3sec_status[] swigValues = HbCom_3sec_status.class.getEnumConstants();
if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
return swigValues[swigValue];
for (HbCom_3sec_status swigEnum : swigValues)
if (swigEnum.swigValue == swigValue)
return swigEnum;
throw new IllegalArgumentException("No enum " + HbCom_3sec_status.class + " with value " + swigValue);
}
@SuppressWarnings("unused")
private HbCom_3sec_status() {
this.swigValue = SwigNext.next++;
}
@SuppressWarnings("unused")
private HbCom_3sec_status(int swigValue) {
this.swigValue = swigValue;
SwigNext.next = swigValue+1;
}
@SuppressWarnings("unused")
private HbCom_3sec_status(HbCom_3sec_status swigEnum) {
this.swigValue = swigEnum.swigValue;
SwigNext.next = this.swigValue+1;
}
private final int swigValue;
private static class SwigNext {
private static int next = 0;
}
}
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package com.hb3344.ademco;
public enum HbCom_3sec_which {
HbCom_3sec_machine,
HbCom_3sec_section1,
HbCom_3sec_section2,
HbCom_3sec_section3;
public final int swigValue() {
return swigValue;
}
public static HbCom_3sec_which swigToEnum(int swigValue) {
HbCom_3sec_which[] swigValues = HbCom_3sec_which.class.getEnumConstants();
if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
return swigValues[swigValue];
for (HbCom_3sec_which swigEnum : swigValues)
if (swigEnum.swigValue == swigValue)
return swigEnum;
throw new IllegalArgumentException("No enum " + HbCom_3sec_which.class + " with value " + swigValue);
}
@SuppressWarnings("unused")
private HbCom_3sec_which() {
this.swigValue = SwigNext.next++;
}
@SuppressWarnings("unused")
private HbCom_3sec_which(int swigValue) {
this.swigValue = swigValue;
SwigNext.next = swigValue+1;
}
@SuppressWarnings("unused")
private HbCom_3sec_which(HbCom_3sec_which swigEnum) {
this.swigValue = swigEnum.swigValue;
SwigNext.next = this.swigValue+1;
}
private final int swigValue;
private static class SwigNext {
private static int next = 0;
}
}
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package com.hb3344.ademco;
public enum HbMachineStatus {
HMS_ARM,
HMS_HALF_ARM,
HMS_DISARM,
HMS_SETTING,
HMS_COUNT,
HMS_INVALID(libademcoJNI.HMS_INVALID_get());
public final int swigValue() {
return swigValue;
}
public static HbMachineStatus swigToEnum(int swigValue) {
HbMachineStatus[] swigValues = HbMachineStatus.class.getEnumConstants();
if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
return swigValues[swigValue];
for (HbMachineStatus swigEnum : swigValues)
if (swigEnum.swigValue == swigValue)
return swigEnum;
throw new IllegalArgumentException("No enum " + HbMachineStatus.class + " with value " + swigValue);
}
@SuppressWarnings("unused")
private HbMachineStatus() {
this.swigValue = SwigNext.next++;
}
@SuppressWarnings("unused")
private HbMachineStatus(int swigValue) {
this.swigValue = swigValue;
SwigNext.next = swigValue+1;
}
@SuppressWarnings("unused")
private HbMachineStatus(HbMachineStatus swigEnum) {
this.swigValue = swigEnum.swigValue;
SwigNext.next = this.swigValue+1;
}
private final int swigValue;
private static class SwigNext {
private static int next = 0;
}
}
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package com.hb3344.ademco;
public class HbMachineTimePoint {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected HbMachineTimePoint(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(HbMachineTimePoint obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
libademcoJNI.delete_HbMachineTimePoint(swigCPtr);
}
swigCPtr = 0;
}
}
public void setHour(short value) {
libademcoJNI.HbMachineTimePoint_hour_set(swigCPtr, this, value);
}
public short getHour() {
return libademcoJNI.HbMachineTimePoint_hour_get(swigCPtr, this);
}
public void setMinute(short value) {
libademcoJNI.HbMachineTimePoint_minute_set(swigCPtr, this, value);
}
public short getMinute() {
return libademcoJNI.HbMachineTimePoint_minute_get(swigCPtr, this);
}
public HbMachineTimePoint() {
this(libademcoJNI.new_HbMachineTimePoint(), true);
}
}
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package com.hb3344.ademco;
public class HbMachineTimer {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected HbMachineTimer(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(HbMachineTimer obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
libademcoJNI.delete_HbMachineTimer(swigCPtr);
}
swigCPtr = 0;
}
}
public void setTimer(HbTimer value) {
libademcoJNI.HbMachineTimer_timer_set(swigCPtr, this, HbTimer.getCPtr(value), value);
}
public HbTimer getTimer() {
long cPtr = libademcoJNI.HbMachineTimer_timer_get(swigCPtr, this);
return (cPtr == 0) ? null : new HbTimer(cPtr, false);
}
public void setData(byte[] value) {
libademcoJNI.HbMachineTimer_data_set(swigCPtr, this, value);
}
public byte[] getData() {
return libademcoJNI.HbMachineTimer_data_get(swigCPtr, this);
}
public HbMachineTimer() {
this(libademcoJNI.new_HbMachineTimer(), true);
}
}
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package com.hb3344.ademco;
public enum HbMachineType {
HMT_WIFI,
HMT_CAMERA,
HMT_GPRS_IOT,
HMT_NETMOD,
HMT_GPRS,
HMT_LCD,
HMT_WIRED,
HMT_TRUE_COLOR,
HMT_3_SECTION,
HMT_IOT,
HMT_GPRS_PHONE,
HMT_NB,
HMT_COUNT,
HMT_INVALID(libademcoJNI.HMT_INVALID_get());
public final int swigValue() {
return swigValue;
}
public static HbMachineType swigToEnum(int swigValue) {
HbMachineType[] swigValues = HbMachineType.class.getEnumConstants();
if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
return swigValues[swigValue];
for (HbMachineType swigEnum : swigValues)
if (swigEnum.swigValue == swigValue)
return swigEnum;
throw new IllegalArgumentException("No enum " + HbMachineType.class + " with value " + swigValue);
}
@SuppressWarnings("unused")
private HbMachineType() {
this.swigValue = SwigNext.next++;
}
@SuppressWarnings("unused")
private HbMachineType(int swigValue) {
this.swigValue = swigValue;
SwigNext.next = swigValue+1;
}
@SuppressWarnings("unused")
private HbMachineType(HbMachineType swigEnum) {
this.swigValue = swigEnum.swigValue;
SwigNext.next = this.swigValue+1;
}
private final int swigValue;
private static class SwigNext {
private static int next = 0;
}
}
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package com.hb3344.ademco;
public class HbTimer {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected HbTimer(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(HbTimer obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
libademcoJNI.delete_HbTimer(swigCPtr);
}
swigCPtr = 0;
}
}
public void setArmAt(HbMachineTimePoint value) {
libademcoJNI.HbTimer_armAt_set(swigCPtr, this, HbMachineTimePoint.getCPtr(value), value);
}
public HbMachineTimePoint getArmAt() {
long cPtr = libademcoJNI.HbTimer_armAt_get(swigCPtr, this);
return (cPtr == 0) ? null : new HbMachineTimePoint(cPtr, false);
}
public void setDisarmAt(HbMachineTimePoint value) {
libademcoJNI.HbTimer_disarmAt_set(swigCPtr, this, HbMachineTimePoint.getCPtr(value), value);
}
public HbMachineTimePoint getDisarmAt() {
long cPtr = libademcoJNI.HbTimer_disarmAt_get(swigCPtr, this);
return (cPtr == 0) ? null : new HbMachineTimePoint(cPtr, false);
}
public HbTimer() {
this(libademcoJNI.new_HbTimer(), true);
}
}
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package com.hb3344.ademco;
public enum HbZoneProperty {
HZP_BUGLAR,
HZP_EMERGENCY,
HZP_FIRE,
HZP_DURESS,
HZP_GAS,
HZP_WATER,
HZP_SUB_MACHINE,
HZP_REMOTE_CONTROL,
HZP_BUGLAR_HALF,
HZP_SHIELD,
HZP_DOOR_RING,
HZP_RESERVED_0B,
HZP_RESERVED_0C,
HZP_RESERVED_0D,
HZP_RESERVED_0E,
HZP_BYPASS,
HZP_COUNT,
HZP_INVALID(libademcoJNI.HZP_INVALID_get());
public final int swigValue() {
return swigValue;
}
public static HbZoneProperty swigToEnum(int swigValue) {
HbZoneProperty[] swigValues = HbZoneProperty.class.getEnumConstants();
if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
return swigValues[swigValue];
for (HbZoneProperty swigEnum : swigValues)
if (swigEnum.swigValue == swigValue)
return swigEnum;
throw new IllegalArgumentException("No enum " + HbZoneProperty.class + " with value " + swigValue);
}
@SuppressWarnings("unused")
private HbZoneProperty() {
this.swigValue = SwigNext.next++;
}
@SuppressWarnings("unused")
private HbZoneProperty(int swigValue) {
this.swigValue = swigValue;
SwigNext.next = swigValue+1;
}
@SuppressWarnings("unused")
private HbZoneProperty(HbZoneProperty swigEnum) {
this.swigValue = swigEnum.swigValue;
SwigNext.next = this.swigValue+1;
}
private final int swigValue;
private static class SwigNext {
private static int next = 0;
}
}
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package com.hb3344.ademco;
public class SWIGTYPE_p_AdemcoEvent {
private transient long swigCPtr;
protected SWIGTYPE_p_AdemcoEvent(long cPtr, @SuppressWarnings("unused") boolean futureUse) {
swigCPtr = cPtr;
}
protected SWIGTYPE_p_AdemcoEvent() {
swigCPtr = 0;
}
protected static long getCPtr(SWIGTYPE_p_AdemcoEvent obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package com.hb3344.ademco;
public class SWIGTYPE_p_HbZoneProperty {
private transient long swigCPtr;
protected SWIGTYPE_p_HbZoneProperty(long cPtr, @SuppressWarnings("unused") boolean futureUse) {
swigCPtr = cPtr;
}
protected SWIGTYPE_p_HbZoneProperty() {
swigCPtr = 0;
}
protected static long getCPtr(SWIGTYPE_p_HbZoneProperty obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package com.hb3344.ademco;
public class SWIGTYPE_p_int {
private transient long swigCPtr;
protected SWIGTYPE_p_int(long cPtr, @SuppressWarnings("unused") boolean futureUse) {
swigCPtr = cPtr;
}
protected SWIGTYPE_p_int() {
swigCPtr = 0;
}
protected static long getCPtr(SWIGTYPE_p_int obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package com.hb3344.ademco;
public class SWIGTYPE_p_time_t {
private transient long swigCPtr;
protected SWIGTYPE_p_time_t(long cPtr, @SuppressWarnings("unused") boolean futureUse) {
swigCPtr = cPtr;
}
protected SWIGTYPE_p_time_t() {
swigCPtr = 0;
}
protected static long getCPtr(SWIGTYPE_p_time_t obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package com.hb3344.ademco;
public class SWIGTYPE_p_unsigned_int {
private transient long swigCPtr;
protected SWIGTYPE_p_unsigned_int(long cPtr, @SuppressWarnings("unused") boolean futureUse) {
swigCPtr = cPtr;
}
protected SWIGTYPE_p_unsigned_int() {
swigCPtr = 0;
}
protected static long getCPtr(SWIGTYPE_p_unsigned_int obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package com.hb3344.ademco;
public class SWIGTYPE_p_unsigned_short {
private transient long swigCPtr;
protected SWIGTYPE_p_unsigned_short(long cPtr, @SuppressWarnings("unused") boolean futureUse) {
swigCPtr = cPtr;
}
protected SWIGTYPE_p_unsigned_short() {
swigCPtr = 0;
}
protected static long getCPtr(SWIGTYPE_p_unsigned_short obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package com.hb3344.ademco;
public class SWIGTYPE_p_void {
private transient long swigCPtr;
protected SWIGTYPE_p_void(long cPtr, @SuppressWarnings("unused") boolean futureUse) {
swigCPtr = cPtr;
}
protected SWIGTYPE_p_void() {
swigCPtr = 0;
}
protected static long getCPtr(SWIGTYPE_p_void obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
This diff is collapsed.
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package com.hb3344.ademco;
public interface libademcoConstants {
public final static int ADEMCO_OK = libademcoJNI.ADEMCO_OK_get();
public final static int ADEMCO_ERR = libademcoJNI.ADEMCO_ERR_get();
public final static int ADEMCO_PACKET_ACCT_MAX_LEN = libademcoJNI.ADEMCO_PACKET_ACCT_MAX_LEN_get();
public final static int ADEMCO_PACKET_DATA_SEGMENT_EMPTY_LEN = libademcoJNI.ADEMCO_PACKET_DATA_SEGMENT_EMPTY_LEN_get();
public final static int ADEMCO_PACKET_DATA_SEGMENT_FULL_LEN = libademcoJNI.ADEMCO_PACKET_DATA_SEGMENT_FULL_LEN_get();
public final static int ADEMCO_PACKET_DATA_SEGMENT_FULL_LEN_MAX = libademcoJNI.ADEMCO_PACKET_DATA_SEGMENT_FULL_LEN_MAX_get();
public final static int ADEMCO_PACKET_MAX_LEN = libademcoJNI.ADEMCO_PACKET_MAX_LEN_get();
public final static int CONGWIN_FE100_PACKET_LEN = libademcoJNI.CONGWIN_FE100_PACKET_LEN_get();
public final static int ADEMCO_PACKET_TIMESTAMP_LEN = libademcoJNI.ADEMCO_PACKET_TIMESTAMP_LEN_get();
public final static int ADEMCO_PACKET_XDATA_MAX_LEN = libademcoJNI.ADEMCO_PACKET_XDATA_MAX_LEN_get();
public final static int ADEMCO_ID_MIN = libademcoJNI.ADEMCO_ID_MIN_get();
public final static int ADEMCO_ID_MAX = libademcoJNI.ADEMCO_ID_MAX_get();
public final static int ADEMCO_ID_SENTINEL = libademcoJNI.ADEMCO_ID_SENTINEL_get();
public final static int ADEMCO_ZONE_FOR_MACHINE_SELF = libademcoJNI.ADEMCO_ZONE_FOR_MACHINE_SELF_get();
public final static int ADEMCO_ZONE_MIN = libademcoJNI.ADEMCO_ZONE_MIN_get();
public final static int ADEMCO_ZONE_MAX = libademcoJNI.ADEMCO_ZONE_MAX_get();
public final static int ADEMCO_ZONE_SENTINEL = libademcoJNI.ADEMCO_ZONE_SENTINEL_get();
public final static int ADEMCO_GG_MIN = libademcoJNI.ADEMCO_GG_MIN_get();
public final static int ADEMCO_GG_MAX = libademcoJNI.ADEMCO_GG_MAX_get();
public final static int ADEMCO_GG_SENTINEL = libademcoJNI.ADEMCO_GG_SENTINEL_get();
public final static String ADEMCO_PACKET_ID_NULL = libademcoJNI.ADEMCO_PACKET_ID_NULL_get();
public final static String ADEMCO_PACKET_ID_ACK = libademcoJNI.ADEMCO_PACKET_ID_ACK_get();
public final static String ADEMCO_PACKET_ID_NAK = libademcoJNI.ADEMCO_PACKET_ID_NAK_get();
public final static String ADEMCO_PACKET_ID_DUH = libademcoJNI.ADEMCO_PACKET_ID_DUH_get();
public final static String ADEMCO_PACKET_ID_HB = libademcoJNI.ADEMCO_PACKET_ID_HB_get();
public final static String ADEMCO_PACKET_ID_ADM_CID = libademcoJNI.ADEMCO_PACKET_ID_ADM_CID_get();
public final static String ADEMCO_PACKET_ID_MOD_REG = libademcoJNI.ADEMCO_PACKET_ID_MOD_REG_get();
public final static String ADEMCO_PACKET_ID_REG_RSP = libademcoJNI.ADEMCO_PACKET_ID_REG_RSP_get();
public final static String ADEMCO_RRCVR_DEFAULT = libademcoJNI.ADEMCO_RRCVR_DEFAULT_get();
public final static String ADEMCO_LPREF_DEFAULT = libademcoJNI.ADEMCO_LPREF_DEFAULT_get();
public final static char ADEMCO_PACKET_PREFIX = libademcoJNI.ADEMCO_PACKET_PREFIX_get();
public final static char ADEMCO_PACKET_SUFIX = libademcoJNI.ADEMCO_PACKET_SUFIX_get();
public final static int HB_3SECTION_MACHINE_GG_MIN = libademcoJNI.HB_3SECTION_MACHINE_GG_MIN_get();
public final static int HB_3SECTION_MACHINE_GG_MAX = libademcoJNI.HB_3SECTION_MACHINE_GG_MAX_get();
public final static int HB_COM_DATA_MAX_LEN = libademcoJNI.HB_COM_DATA_MAX_LEN_get();
public final static int HbComReq_A0_len = libademcoJNI.HbComReq_A0_len_get();
public final static String HbComReq_A0_data = libademcoJNI.HbComReq_A0_data_get();
public final static int HbComResp_A0_len = libademcoJNI.HbComResp_A0_len_get();
public final static String HbComResp_A0_head = libademcoJNI.HbComResp_A0_head_get();
public final static int HbComReq_A1_len = libademcoJNI.HbComReq_A1_len_get();
public final static String HbComReq_A1_data = libademcoJNI.HbComReq_A1_data_get();
public final static int HbComResp_A2_len_min = libademcoJNI.HbComResp_A2_len_min_get();
public final static int HbComResp_A2_max_zone = libademcoJNI.HbComResp_A2_max_zone_get();
public final static int HbComResp_A2_len_max = libademcoJNI.HbComResp_A2_len_max_get();
public final static String HbComResp_A2_head = libademcoJNI.HbComResp_A2_head_get();
public final static int HbComReq_A2_len = libademcoJNI.HbComReq_A2_len_get();
public final static String HbComReq_A2_data = libademcoJNI.HbComReq_A2_data_get();
public final static int HbComReq_A3_len = libademcoJNI.HbComReq_A3_len_get();
public final static String HbComReq_A3_head = libademcoJNI.HbComReq_A3_head_get();
public final static int HbComResp_A3_len = libademcoJNI.HbComResp_A3_len_get();
public final static String HbComResp_A3_data = libademcoJNI.HbComResp_A3_data_get();
public final static int HbComResp_A4_len = libademcoJNI.HbComResp_A4_len_get();
public final static String HbComResp_A4_head = libademcoJNI.HbComResp_A4_head_get();
public final static int HbComReq_A5_len = libademcoJNI.HbComReq_A5_len_get();
public final static String HbComReq_A5_data = libademcoJNI.HbComReq_A5_data_get();
public final static int HbComResp_A6_len = libademcoJNI.HbComResp_A6_len_get();
public final static String HbComResp_A6_head = libademcoJNI.HbComResp_A6_head_get();
public final static int HbComReq_A7_len = libademcoJNI.HbComReq_A7_len_get();
public final static String HbComReq_A7_head = libademcoJNI.HbComReq_A7_head_get();
public final static int HbComResp_A7_len = libademcoJNI.HbComResp_A7_len_get();
public final static String HbComResp_A7_data = libademcoJNI.HbComResp_A7_data_get();
public final static int HbComResp_A8_len = libademcoJNI.HbComResp_A8_len_get();
public final static String HbComResp_A8_data = libademcoJNI.HbComResp_A8_data_get();
public final static int HbComReq_AA_len = libademcoJNI.HbComReq_AA_len_get();
public final static String HbComReq_AA_head = libademcoJNI.HbComReq_AA_head_get();
public final static int HbComResp_AB_len = libademcoJNI.HbComResp_AB_len_get();
public final static String HbComResp_AB_head = libademcoJNI.HbComResp_AB_head_get();
public final static int HbComReq_AC_len = libademcoJNI.HbComReq_AC_len_get();
public final static String HbComReq_AC_data = libademcoJNI.HbComReq_AC_data_get();
public final static int HbComReq_AD_len = libademcoJNI.HbComReq_AD_len_get();
public final static String HbComReq_AD_data = libademcoJNI.HbComReq_AD_data_get();
public final static int HbComResp_AD_len_min = libademcoJNI.HbComResp_AD_len_min_get();
public final static int HbComResp_AD_max_zone = libademcoJNI.HbComResp_AD_max_zone_get();
public final static int HbComResp_AD_len_max = libademcoJNI.HbComResp_AD_len_max_get();
public final static String HbComResp_AD_head = libademcoJNI.HbComResp_AD_head_get();
public final static int HbComReq_AE_len = libademcoJNI.HbComReq_AE_len_get();
public final static String HbComReq_AE_head = libademcoJNI.HbComReq_AE_head_get();
public final static int HbComResp_AF_len = libademcoJNI.HbComResp_AF_len_get();
public final static String HbComResp_AF_head = libademcoJNI.HbComResp_AF_head_get();
public final static int HbComReq_B0_len = libademcoJNI.HbComReq_B0_len_get();
public final static String HbComReq_B0_data = libademcoJNI.HbComReq_B0_data_get();
public final static int HbComResp_B1_len = libademcoJNI.HbComResp_B1_len_get();
public final static String HbComResp_B1_head = libademcoJNI.HbComResp_B1_head_get();
public final static int HbComReq_RD_acct_len = libademcoJNI.HbComReq_RD_acct_len_get();
public final static String HbComReq_RD_acct_data = libademcoJNI.HbComReq_RD_acct_data_get();
public final static int HbComResp_RD_acct_len = libademcoJNI.HbComResp_RD_acct_len_get();
public final static String HbComResp_RD_acct_head = libademcoJNI.HbComResp_RD_acct_head_get();
public final static int HbComReq_WR_acct_len = libademcoJNI.HbComReq_WR_acct_len_get();
public final static String HbComReq_WR_acct_head = libademcoJNI.HbComReq_WR_acct_head_get();
public final static int HbComResp_WR_acct_len = libademcoJNI.HbComResp_WR_acct_len_get();
public final static String HbComResp_WR_acct_head = libademcoJNI.HbComResp_WR_acct_head_get();
}
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment