Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
A
ademco_hb
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
captainwong
ademco_hb
Commits
c85598d6
Commit
c85598d6
authored
Jul 30, 2022
by
captainwong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save
parent
fe1f9481
Show whitespace changes
Inline
Side-by-side
Showing
44 changed files
with
6151 additions
and
2883 deletions
+6151
-2883
.gitignore
.gitignore
+1
-0
JavaDemo.java
c/swig/JavaDemo.java
+1
-1
ademco_java_wrap.c
c/swig/ademco_java_wrap.c
+6142
-0
AdemcoDataSegment.java
c/swig/com/hb3344/ademco/AdemcoDataSegment.java
+0
-90
AdemcoEvent.java
c/swig/com/hb3344/ademco/AdemcoEvent.java
+0
-121
AdemcoEventLevel.java
c/swig/com/hb3344/ademco/AdemcoEventLevel.java
+0
-55
AdemcoPacket.java
c/swig/com/hb3344/ademco/AdemcoPacket.java
+0
-124
AdemcoPacketId.java
c/swig/com/hb3344/ademco/AdemcoPacketId.java
+0
-60
AdemcoParseResult.java
c/swig/com/hb3344/ademco/AdemcoParseResult.java
+0
-53
AdemcoXDataLengthFormat.java
c/swig/com/hb3344/ademco/AdemcoXDataLengthFormat.java
+0
-52
AdemcoXDataSegment.java
c/swig/com/hb3344/ademco/AdemcoXDataSegment.java
+0
-66
AdemcoXDataTransform.java
c/swig/com/hb3344/ademco/AdemcoXDataTransform.java
+0
-52
HbComData.java
c/swig/com/hb3344/ademco/HbComData.java
+0
-58
HbComReq_A3_op.java
c/swig/com/hb3344/ademco/HbComReq_A3_op.java
+0
-54
HbComRequestType.java
c/swig/com/hb3344/ademco/HbComRequestType.java
+0
-65
HbComResp_A2_p1.java
c/swig/com/hb3344/ademco/HbComResp_A2_p1.java
+0
-52
HbComResp_A4_p3.java
c/swig/com/hb3344/ademco/HbComResp_A4_p3.java
+0
-54
HbComResp_AB_p2.java
c/swig/com/hb3344/ademco/HbComResp_AB_p2.java
+0
-53
HbComResp_AD_p1.java
c/swig/com/hb3344/ademco/HbComResp_AD_p1.java
+0
-52
HbComResp_AD_p2.java
c/swig/com/hb3344/ademco/HbComResp_AD_p2.java
+0
-52
HbComResponseType.java
c/swig/com/hb3344/ademco/HbComResponseType.java
+0
-63
HbCom_3sec_status.java
c/swig/com/hb3344/ademco/HbCom_3sec_status.java
+0
-52
HbCom_3sec_which.java
c/swig/com/hb3344/ademco/HbCom_3sec_which.java
+0
-54
HbMachineStatus.java
c/swig/com/hb3344/ademco/HbMachineStatus.java
+0
-56
HbMachineTimePoint.java
c/swig/com/hb3344/ademco/HbMachineTimePoint.java
+0
-58
HbMachineTimer.java
c/swig/com/hb3344/ademco/HbMachineTimer.java
+0
-59
HbMachineType.java
c/swig/com/hb3344/ademco/HbMachineType.java
+0
-64
HbTimer.java
c/swig/com/hb3344/ademco/HbTimer.java
+0
-60
HbZoneProperty.java
c/swig/com/hb3344/ademco/HbZoneProperty.java
+0
-68
SWIGTYPE_p_AdemcoEvent.java
c/swig/com/hb3344/ademco/SWIGTYPE_p_AdemcoEvent.java
+0
-26
SWIGTYPE_p_HbZoneProperty.java
c/swig/com/hb3344/ademco/SWIGTYPE_p_HbZoneProperty.java
+0
-26
SWIGTYPE_p_int.java
c/swig/com/hb3344/ademco/SWIGTYPE_p_int.java
+0
-26
SWIGTYPE_p_time_t.java
c/swig/com/hb3344/ademco/SWIGTYPE_p_time_t.java
+0
-26
SWIGTYPE_p_uint16_t.java
c/swig/com/hb3344/ademco/SWIGTYPE_p_uint16_t.java
+0
-26
SWIGTYPE_p_uint32_t.java
c/swig/com/hb3344/ademco/SWIGTYPE_p_uint32_t.java
+0
-26
SWIGTYPE_p_uint8_t.java
c/swig/com/hb3344/ademco/SWIGTYPE_p_uint8_t.java
+0
-26
SWIGTYPE_p_unsigned_int.java
c/swig/com/hb3344/ademco/SWIGTYPE_p_unsigned_int.java
+0
-26
SWIGTYPE_p_unsigned_short.java
c/swig/com/hb3344/ademco/SWIGTYPE_p_unsigned_short.java
+0
-26
SWIGTYPE_p_void.java
c/swig/com/hb3344/ademco/SWIGTYPE_p_void.java
+0
-26
libademco.java
c/swig/com/hb3344/ademco/libademco.java
+0
-484
libademcoConstants.java
c/swig/com/hb3344/ademco/libademcoConstants.java
+0
-103
libademcoJNI.java
c/swig/com/hb3344/ademco/libademcoJNI.java
+0
-383
linux.sh
c/swig/linux.sh
+4
-2
win.bat
c/swig/win.bat
+3
-3
No files found.
.gitignore
View file @
c85598d6
generated/
com/hb3344/ademco/
.vscode/
.vs/
...
...
c/swig/JavaDemo.java
View file @
c85598d6
...
...
@@ -74,7 +74,7 @@ public class JavaDemo {
static
{
try
{
System
.
loadLibrary
(
"
lib
ademco"
);
System
.
loadLibrary
(
"ademco"
);
}
catch
(
UnsatisfiedLinkError
e
)
{
System
.
err
.
println
(
"Native code library failed to load. See the chapter on Dynamic Linking Problems in the SWIG Java documentation for help.\n"
+
e
);
System
.
exit
(
1
);
...
...
c/swig/ademco_java_wrap.c
0 → 100644
View file @
c85598d6
This source diff could not be displayed because it is too large. You can
view the blob
instead.
c/swig/com/hb3344/ademco/AdemcoDataSegment.java
deleted
100644 → 0
View file @
fe1f9481
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 3.0.12
*
* 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
;
}
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
);
}
}
c/swig/com/hb3344/ademco/AdemcoEvent.java
deleted
100644 → 0
View file @
fe1f9481
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 3.0.12
*
* 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
;
}
}
c/swig/com/hb3344/ademco/AdemcoEventLevel.java
deleted
100644 → 0
View file @
fe1f9481
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 3.0.12
*
* 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
;
}
}
c/swig/com/hb3344/ademco/AdemcoPacket.java
deleted
100644 → 0
View file @
fe1f9481
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 3.0.12
*
* 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
;
}
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
);
}
}
c/swig/com/hb3344/ademco/AdemcoPacketId.java
deleted
100644 → 0
View file @
fe1f9481
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 3.0.12
*
* 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
;
}
}
c/swig/com/hb3344/ademco/AdemcoParseResult.java
deleted
100644 → 0
View file @
fe1f9481
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 3.0.12
*
* 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
;
}
}
c/swig/com/hb3344/ademco/AdemcoXDataLengthFormat.java
deleted
100644 → 0
View file @
fe1f9481
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 3.0.12
*
* 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
;
}
}
c/swig/com/hb3344/ademco/AdemcoXDataSegment.java
deleted
100644 → 0
View file @
fe1f9481
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 3.0.12
*
* 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
;
}
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
);
}
}
c/swig/com/hb3344/ademco/AdemcoXDataTransform.java
deleted
100644 → 0
View file @
fe1f9481
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 3.0.12
*
* 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
;
}
}
c/swig/com/hb3344/ademco/HbComData.java
deleted
100644 → 0
View file @
fe1f9481
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 3.0.12
*
* 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
;
}
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
);
}
}
c/swig/com/hb3344/ademco/HbComReq_A3_op.java
deleted
100644 → 0
View file @
fe1f9481
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 3.0.12
*
* 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
;
}
}
c/swig/com/hb3344/ademco/HbComRequestType.java
deleted
100644 → 0
View file @
fe1f9481
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 3.0.12
*
* 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
;
}
}
c/swig/com/hb3344/ademco/HbComResp_A2_p1.java
deleted
100644 → 0
View file @
fe1f9481
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 3.0.12
*
* 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
;
}
}
c/swig/com/hb3344/ademco/HbComResp_A4_p3.java
deleted
100644 → 0
View file @
fe1f9481
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 3.0.12
*
* 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
;
}
}
c/swig/com/hb3344/ademco/HbComResp_AB_p2.java
deleted
100644 → 0
View file @
fe1f9481
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 3.0.12
*
* 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
;
}
}
c/swig/com/hb3344/ademco/HbComResp_AD_p1.java
deleted
100644 → 0
View file @
fe1f9481
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 3.0.12
*
* 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
;
}
}
c/swig/com/hb3344/ademco/HbComResp_AD_p2.java
deleted
100644 → 0
View file @
fe1f9481
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 3.0.12
*
* 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
;
}
}
c/swig/com/hb3344/ademco/HbComResponseType.java
deleted
100644 → 0
View file @
fe1f9481
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 3.0.12
*
* 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
;
}
}
c/swig/com/hb3344/ademco/HbCom_3sec_status.java
deleted
100644 → 0
View file @
fe1f9481
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 3.0.12
*
* 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
;
}
}
c/swig/com/hb3344/ademco/HbCom_3sec_which.java
deleted
100644 → 0
View file @
fe1f9481
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 3.0.12
*
* 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
;
}
}
c/swig/com/hb3344/ademco/HbMachineStatus.java
deleted
100644 → 0
View file @
fe1f9481
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 3.0.12
*
* 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
;
}
}
c/swig/com/hb3344/ademco/HbMachineTimePoint.java
deleted
100644 → 0
View file @
fe1f9481
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 3.0.12
*
* 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
;
}
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
);
}
}
c/swig/com/hb3344/ademco/HbMachineTimer.java
deleted
100644 → 0
View file @
fe1f9481
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 3.0.12
*
* 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
;
}
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
);
}
}
c/swig/com/hb3344/ademco/HbMachineType.java
deleted
100644 → 0
View file @
fe1f9481
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 3.0.12
*
* 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
;
}
}
c/swig/com/hb3344/ademco/HbTimer.java
deleted
100644 → 0
View file @
fe1f9481
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 3.0.12
*
* 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
;
}
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
);
}
}
c/swig/com/hb3344/ademco/HbZoneProperty.java
deleted
100644 → 0
View file @
fe1f9481
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 3.0.12
*
* 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
;
}
}
c/swig/com/hb3344/ademco/SWIGTYPE_p_AdemcoEvent.java
deleted
100644 → 0
View file @
fe1f9481
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 3.0.12
*
* 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
;
}
}
c/swig/com/hb3344/ademco/SWIGTYPE_p_HbZoneProperty.java
deleted
100644 → 0
View file @
fe1f9481
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 3.0.12
*
* 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
;
}
}
c/swig/com/hb3344/ademco/SWIGTYPE_p_int.java
deleted
100644 → 0
View file @
fe1f9481
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 3.0.12
*
* 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
;
}
}
c/swig/com/hb3344/ademco/SWIGTYPE_p_time_t.java
deleted
100644 → 0
View file @
fe1f9481
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 3.0.12
*
* 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
;
}
}
c/swig/com/hb3344/ademco/SWIGTYPE_p_uint16_t.java
deleted
100644 → 0
View file @
fe1f9481
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 3.0.12
*
* 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_uint16_t
{
private
transient
long
swigCPtr
;
protected
SWIGTYPE_p_uint16_t
(
long
cPtr
,
@SuppressWarnings
(
"unused"
)
boolean
futureUse
)
{
swigCPtr
=
cPtr
;
}
protected
SWIGTYPE_p_uint16_t
()
{
swigCPtr
=
0
;
}
protected
static
long
getCPtr
(
SWIGTYPE_p_uint16_t
obj
)
{
return
(
obj
==
null
)
?
0
:
obj
.
swigCPtr
;
}
}
c/swig/com/hb3344/ademco/SWIGTYPE_p_uint32_t.java
deleted
100644 → 0
View file @
fe1f9481
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 3.0.12
*
* 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_uint32_t
{
private
transient
long
swigCPtr
;
protected
SWIGTYPE_p_uint32_t
(
long
cPtr
,
@SuppressWarnings
(
"unused"
)
boolean
futureUse
)
{
swigCPtr
=
cPtr
;
}
protected
SWIGTYPE_p_uint32_t
()
{
swigCPtr
=
0
;
}
protected
static
long
getCPtr
(
SWIGTYPE_p_uint32_t
obj
)
{
return
(
obj
==
null
)
?
0
:
obj
.
swigCPtr
;
}
}
c/swig/com/hb3344/ademco/SWIGTYPE_p_uint8_t.java
deleted
100644 → 0
View file @
fe1f9481
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 3.0.12
*
* 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_uint8_t
{
private
transient
long
swigCPtr
;
protected
SWIGTYPE_p_uint8_t
(
long
cPtr
,
@SuppressWarnings
(
"unused"
)
boolean
futureUse
)
{
swigCPtr
=
cPtr
;
}
protected
SWIGTYPE_p_uint8_t
()
{
swigCPtr
=
0
;
}
protected
static
long
getCPtr
(
SWIGTYPE_p_uint8_t
obj
)
{
return
(
obj
==
null
)
?
0
:
obj
.
swigCPtr
;
}
}
c/swig/com/hb3344/ademco/SWIGTYPE_p_unsigned_int.java
deleted
100644 → 0
View file @
fe1f9481
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 3.0.12
*
* 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
;
}
}
c/swig/com/hb3344/ademco/SWIGTYPE_p_unsigned_short.java
deleted
100644 → 0
View file @
fe1f9481
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 3.0.12
*
* 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
;
}
}
c/swig/com/hb3344/ademco/SWIGTYPE_p_void.java
deleted
100644 → 0
View file @
fe1f9481
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 3.0.12
*
* 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
;
}
}
c/swig/com/hb3344/ademco/libademco.java
deleted
100644 → 0
View file @
fe1f9481
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 3.0.12
*
* 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
libademco
implements
libademcoConstants
{
public
static
SWIGTYPE_p_int
new_intp
()
{
long
cPtr
=
libademcoJNI
.
new_intp
();
return
(
cPtr
==
0
)
?
null
:
new
SWIGTYPE_p_int
(
cPtr
,
false
);
}
public
static
SWIGTYPE_p_int
copy_intp
(
int
value
)
{
long
cPtr
=
libademcoJNI
.
copy_intp
(
value
);
return
(
cPtr
==
0
)
?
null
:
new
SWIGTYPE_p_int
(
cPtr
,
false
);
}
public
static
void
delete_intp
(
SWIGTYPE_p_int
obj
)
{
libademcoJNI
.
delete_intp
(
SWIGTYPE_p_int
.
getCPtr
(
obj
));
}
public
static
void
intp_assign
(
SWIGTYPE_p_int
obj
,
int
value
)
{
libademcoJNI
.
intp_assign
(
SWIGTYPE_p_int
.
getCPtr
(
obj
),
value
);
}
public
static
int
intp_value
(
SWIGTYPE_p_int
obj
)
{
return
libademcoJNI
.
intp_value
(
SWIGTYPE_p_int
.
getCPtr
(
obj
));
}
public
static
SWIGTYPE_p_unsigned_short
new_uint16p
()
{
long
cPtr
=
libademcoJNI
.
new_uint16p
();
return
(
cPtr
==
0
)
?
null
:
new
SWIGTYPE_p_unsigned_short
(
cPtr
,
false
);
}
public
static
SWIGTYPE_p_unsigned_short
copy_uint16p
(
int
value
)
{
long
cPtr
=
libademcoJNI
.
copy_uint16p
(
value
);
return
(
cPtr
==
0
)
?
null
:
new
SWIGTYPE_p_unsigned_short
(
cPtr
,
false
);
}
public
static
void
delete_uint16p
(
SWIGTYPE_p_unsigned_short
obj
)
{
libademcoJNI
.
delete_uint16p
(
SWIGTYPE_p_unsigned_short
.
getCPtr
(
obj
));
}
public
static
void
uint16p_assign
(
SWIGTYPE_p_unsigned_short
obj
,
int
value
)
{
libademcoJNI
.
uint16p_assign
(
SWIGTYPE_p_unsigned_short
.
getCPtr
(
obj
),
value
);
}
public
static
int
uint16p_value
(
SWIGTYPE_p_unsigned_short
obj
)
{
return
libademcoJNI
.
uint16p_value
(
SWIGTYPE_p_unsigned_short
.
getCPtr
(
obj
));
}
public
static
SWIGTYPE_p_unsigned_int
new_uint32p
()
{
long
cPtr
=
libademcoJNI
.
new_uint32p
();
return
(
cPtr
==
0
)
?
null
:
new
SWIGTYPE_p_unsigned_int
(
cPtr
,
false
);
}
public
static
SWIGTYPE_p_unsigned_int
copy_uint32p
(
long
value
)
{
long
cPtr
=
libademcoJNI
.
copy_uint32p
(
value
);
return
(
cPtr
==
0
)
?
null
:
new
SWIGTYPE_p_unsigned_int
(
cPtr
,
false
);
}
public
static
void
delete_uint32p
(
SWIGTYPE_p_unsigned_int
obj
)
{
libademcoJNI
.
delete_uint32p
(
SWIGTYPE_p_unsigned_int
.
getCPtr
(
obj
));
}
public
static
void
uint32p_assign
(
SWIGTYPE_p_unsigned_int
obj
,
long
value
)
{
libademcoJNI
.
uint32p_assign
(
SWIGTYPE_p_unsigned_int
.
getCPtr
(
obj
),
value
);
}
public
static
long
uint32p_value
(
SWIGTYPE_p_unsigned_int
obj
)
{
return
libademcoJNI
.
uint32p_value
(
SWIGTYPE_p_unsigned_int
.
getCPtr
(
obj
));
}
public
static
int
ademcoIsValidAdemcoId
(
long
ademcoId
)
{
return
libademcoJNI
.
ademcoIsValidAdemcoId
(
ademcoId
);
}
public
static
int
ademcoIsValidZone
(
long
zone
)
{
return
libademcoJNI
.
ademcoIsValidZone
(
zone
);
}
public
static
int
ademcoIsValidZoneStrict
(
long
zone
)
{
return
libademcoJNI
.
ademcoIsValidZoneStrict
(
zone
);
}
public
static
SWIGTYPE_p_AdemcoEvent
getAdemcoEvents
()
{
long
cPtr
=
libademcoJNI
.
AdemcoEvents_get
();
return
(
cPtr
==
0
)
?
null
:
new
SWIGTYPE_p_AdemcoEvent
(
cPtr
,
false
);
}
public
static
int
ademcoIsMachineStatusEvent
(
AdemcoEvent
ademcoEvent
)
{
return
libademcoJNI
.
ademcoIsMachineStatusEvent
(
ademcoEvent
.
swigValue
());
}
public
static
int
ademcoIsMachineTypeEvent
(
AdemcoEvent
ademcoEvent
)
{
return
libademcoJNI
.
ademcoIsMachineTypeEvent
(
ademcoEvent
.
swigValue
());
}
public
static
int
ademcoIsEventNeedControlSource
(
AdemcoEvent
ademcoEvent
)
{
return
libademcoJNI
.
ademcoIsEventNeedControlSource
(
ademcoEvent
.
swigValue
());
}
public
static
AdemcoEventLevel
ademcoGetEventLevel
(
AdemcoEvent
ademcoEvent
)
{
return
AdemcoEventLevel
.
swigToEnum
(
libademcoJNI
.
ademcoGetEventLevel
(
ademcoEvent
.
swigValue
()));
}
public
static
AdemcoEvent
ademcoGetExceptionEventByResumeEvent
(
AdemcoEvent
resumeEvent
)
{
return
AdemcoEvent
.
swigToEnum
(
libademcoJNI
.
ademcoGetExceptionEventByResumeEvent
(
resumeEvent
.
swigValue
()));
}
public
static
String
ademcoEventToString
(
AdemcoEvent
ademcoEvent
)
{
return
libademcoJNI
.
ademcoEventToString
(
ademcoEvent
.
swigValue
());
}
public
static
String
ademcoEventToStringChinese
(
AdemcoEvent
ademcoEvent
)
{
return
libademcoJNI
.
ademcoEventToStringChinese
(
ademcoEvent
.
swigValue
());
}
public
static
int
ademcoAppendDataSegment
(
byte
[]
packet
,
long
ademcoId
,
AdemcoEvent
ademcoEvent
,
long
gg
,
long
zone
)
{
return
libademcoJNI
.
ademcoAppendDataSegment
(
packet
,
ademcoId
,
ademcoEvent
.
swigValue
(),
gg
,
zone
);
}
public
static
int
ademcoAppendDataSegment2
(
AdemcoDataSegment
dataSegment
,
long
ademcoId
,
AdemcoEvent
ademcoEvent
,
long
gg
,
long
zone
)
{
return
libademcoJNI
.
ademcoAppendDataSegment2
(
AdemcoDataSegment
.
getCPtr
(
dataSegment
),
dataSegment
,
ademcoId
,
ademcoEvent
.
swigValue
(),
gg
,
zone
);
}
public
static
AdemcoParseResult
ademcoParseDataSegment
(
byte
[]
packet
,
int
packet_len
,
AdemcoDataSegment
dataSegment
)
{
return
AdemcoParseResult
.
swigToEnum
(
libademcoJNI
.
ademcoParseDataSegment
(
packet
,
packet_len
,
AdemcoDataSegment
.
getCPtr
(
dataSegment
),
dataSegment
));
}
public
static
int
ademcoDataSegmentToCongwinFe100
(
byte
[]
fe100
,
AdemcoDataSegment
dataSegment
)
{
return
libademcoJNI
.
ademcoDataSegmentToCongwinFe100
(
fe100
,
AdemcoDataSegment
.
getCPtr
(
dataSegment
),
dataSegment
);
}
public
static
int
ademcoXDataGetValidContentLen
(
AdemcoXDataSegment
xdata
)
{
return
libademcoJNI
.
ademcoXDataGetValidContentLen
(
AdemcoXDataSegment
.
getCPtr
(
xdata
),
xdata
);
}
public
static
int
ademcoXDataMemcmp
(
AdemcoXDataSegment
xdata
,
SWIGTYPE_p_void
buf
,
int
buf_len
)
{
return
libademcoJNI
.
ademcoXDataMemcmp
(
AdemcoXDataSegment
.
getCPtr
(
xdata
),
xdata
,
SWIGTYPE_p_void
.
getCPtr
(
buf
),
buf_len
);
}
public
static
int
ademcoMakeXData
(
AdemcoXDataSegment
xdata
,
AdemcoXDataLengthFormat
xlf
,
AdemcoXDataTransform
xtr
,
byte
[]
content
,
int
len
)
{
return
libademcoJNI
.
ademcoMakeXData
(
AdemcoXDataSegment
.
getCPtr
(
xdata
),
xdata
,
xlf
.
swigValue
(),
xtr
.
swigValue
(),
content
,
len
);
}
public
static
int
isAdemcoPacketId
(
String
standard
,
String
id
,
int
len
)
{
return
libademcoJNI
.
isAdemcoPacketId
(
standard
,
id
,
len
);
}
public
static
AdemcoPacketId
getAdemcoPacketId
(
String
id
,
int
len
)
{
return
AdemcoPacketId
.
swigToEnum
(
libademcoJNI
.
getAdemcoPacketId
(
id
,
len
));
}
public
static
String
admecoPacketIdToString
(
AdemcoPacketId
id
)
{
return
libademcoJNI
.
admecoPacketIdToString
(
id
.
swigValue
());
}
public
static
int
ademcoMakeEmptyDataPacket
(
byte
[]
dst_buff
,
int
len
,
String
id
,
int
seq
,
String
acct
,
long
ademcoId
)
{
return
libademcoJNI
.
ademcoMakeEmptyDataPacket
(
dst_buff
,
len
,
id
,
seq
,
acct
,
ademcoId
);
}
public
static
int
ademcoMakeNullPacket
(
byte
[]
buff
,
int
len
,
int
seq
,
String
acct
,
long
ademcoId
)
{
return
libademcoJNI
.
ademcoMakeNullPacket
(
buff
,
len
,
seq
,
acct
,
ademcoId
);
}
public
static
int
ademcoMakeAckPacket
(
byte
[]
buff
,
int
len
,
int
seq
,
String
acct
,
long
ademcoId
)
{
return
libademcoJNI
.
ademcoMakeAckPacket
(
buff
,
len
,
seq
,
acct
,
ademcoId
);
}
public
static
int
ademcoMakeNakPacket
(
byte
[]
buff
,
int
len
,
int
seq
,
String
acct
,
long
ademcoId
)
{
return
libademcoJNI
.
ademcoMakeNakPacket
(
buff
,
len
,
seq
,
acct
,
ademcoId
);
}
public
static
int
ademcoMakeHbPacket
(
byte
[]
buff
,
int
len
,
int
seq
,
String
acct
,
long
ademcoId
,
AdemcoEvent
ademcoEvent
,
long
gg
,
long
zone
,
AdemcoXDataSegment
xdata
)
{
return
libademcoJNI
.
ademcoMakeHbPacket
(
buff
,
len
,
seq
,
acct
,
ademcoId
,
ademcoEvent
.
swigValue
(),
gg
,
zone
,
AdemcoXDataSegment
.
getCPtr
(
xdata
),
xdata
);
}
public
static
int
ademcoMakeNullPacket2
(
AdemcoPacket
pkt
,
int
seq
,
String
acct
,
long
ademcoId
)
{
return
libademcoJNI
.
ademcoMakeNullPacket2
(
AdemcoPacket
.
getCPtr
(
pkt
),
pkt
,
seq
,
acct
,
ademcoId
);
}
public
static
int
ademcoMakeAckPacket2
(
AdemcoPacket
pkt
,
int
seq
,
String
acct
,
long
ademcoId
)
{
return
libademcoJNI
.
ademcoMakeAckPacket2
(
AdemcoPacket
.
getCPtr
(
pkt
),
pkt
,
seq
,
acct
,
ademcoId
);
}
public
static
int
ademcoMakeNakPacket2
(
AdemcoPacket
pkt
,
int
seq
,
String
acct
,
long
ademcoId
)
{
return
libademcoJNI
.
ademcoMakeNakPacket2
(
AdemcoPacket
.
getCPtr
(
pkt
),
pkt
,
seq
,
acct
,
ademcoId
);
}
public
static
int
ademcoMakeHbPacket2
(
AdemcoPacket
pkt
,
int
seq
,
String
acct
,
long
ademcoId
,
AdemcoEvent
ademcoEvent
,
long
gg
,
long
zone
,
AdemcoXDataSegment
xdata
)
{
return
libademcoJNI
.
ademcoMakeHbPacket2
(
AdemcoPacket
.
getCPtr
(
pkt
),
pkt
,
seq
,
acct
,
ademcoId
,
ademcoEvent
.
swigValue
(),
gg
,
zone
,
AdemcoXDataSegment
.
getCPtr
(
xdata
),
xdata
);
}
public
static
AdemcoParseResult
ademcoPacketParse
(
byte
[]
buff
,
int
len
,
AdemcoPacket
pkt
,
SWIGTYPE_p_int
cb_commited
)
{
return
AdemcoParseResult
.
swigToEnum
(
libademcoJNI
.
ademcoPacketParse
(
buff
,
len
,
AdemcoPacket
.
getCPtr
(
pkt
),
pkt
,
SWIGTYPE_p_int
.
getCPtr
(
cb_commited
)));
}
public
static
int
ademcoCRC16
(
byte
[]
buff
,
int
len
)
{
return
libademcoJNI
.
ademcoCRC16
(
buff
,
len
);
}
public
static
int
hbIsValid3SectionMachineGG
(
long
gg
)
{
return
libademcoJNI
.
hbIsValid3SectionMachineGG
(
gg
);
}
public
static
SWIGTYPE_p_HbZoneProperty
getHbZoneProperties
()
{
long
cPtr
=
libademcoJNI
.
hbZoneProperties_get
();
return
(
cPtr
==
0
)
?
null
:
new
SWIGTYPE_p_HbZoneProperty
(
cPtr
,
false
);
}
public
static
int
hbGetAvailableZoneProperties
(
HbMachineType
type
,
SWIGTYPE_p_HbZoneProperty
props
)
{
return
libademcoJNI
.
hbGetAvailableZoneProperties
(
type
.
swigValue
(),
SWIGTYPE_p_HbZoneProperty
.
getCPtr
(
props
));
}
public
static
int
hbZoneMax
(
HbMachineType
type
)
{
return
libademcoJNI
.
hbZoneMax
(
type
.
swigValue
());
}
public
static
int
hbIsValidZone
(
HbMachineType
type
,
int
zone
)
{
return
libademcoJNI
.
hbIsValidZone
(
type
.
swigValue
(),
zone
);
}
public
static
int
hbIsValidZoneStrict
(
HbMachineType
type
,
int
zone
)
{
return
libademcoJNI
.
hbIsValidZoneStrict
(
type
.
swigValue
(),
zone
);
}
public
static
int
hbMachineIsSelling
(
HbMachineType
type
)
{
return
libademcoJNI
.
hbMachineIsSelling
(
type
.
swigValue
());
}
public
static
int
hbMachineCanArm
(
HbMachineType
type
)
{
return
libademcoJNI
.
hbMachineCanArm
(
type
.
swigValue
());
}
public
static
int
hbMachineCanDisarm
(
HbMachineType
type
)
{
return
libademcoJNI
.
hbMachineCanDisarm
(
type
.
swigValue
());
}
public
static
int
hbMachineCanEnterSettings
(
HbMachineType
type
)
{
return
libademcoJNI
.
hbMachineCanEnterSettings
(
type
.
swigValue
());
}
public
static
int
hbMachineCanHalfArm
(
HbMachineType
type
)
{
return
libademcoJNI
.
hbMachineCanHalfArm
(
type
.
swigValue
());
}
public
static
int
hbMachineCanReportSignalStrength
(
HbMachineType
type
)
{
return
libademcoJNI
.
hbMachineCanReportSignalStrength
(
type
.
swigValue
());
}
public
static
int
hbMachineCanReportBySMS
(
HbMachineType
type
)
{
return
libademcoJNI
.
hbMachineCanReportBySMS
(
type
.
swigValue
());
}
public
static
int
hbMachineHasWiredZone
(
HbMachineType
type
)
{
return
libademcoJNI
.
hbMachineHasWiredZone
(
type
.
swigValue
());
}
public
static
long
hbWiredZoneMin
(
HbMachineType
type
)
{
return
libademcoJNI
.
hbWiredZoneMin
(
type
.
swigValue
());
}
public
static
long
hbWiredZoneMax
(
HbMachineType
type
)
{
return
libademcoJNI
.
hbWiredZoneMax
(
type
.
swigValue
());
}
public
static
int
hbMachineCanDirectlyWriteZone
(
HbMachineType
type
)
{
return
libademcoJNI
.
hbMachineCanDirectlyWriteZone
(
type
.
swigValue
());
}
public
static
int
hbMachineCanLinkSubMachine
(
HbMachineType
type
)
{
return
libademcoJNI
.
hbMachineCanLinkSubMachine
(
type
.
swigValue
());
}
public
static
int
hbZonePropCanReportLost
(
HbZoneProperty
zp
)
{
return
libademcoJNI
.
hbZonePropCanReportLost
(
zp
.
swigValue
());
}
public
static
void
hbInitMachineTimer
(
HbMachineTimer
timer
)
{
libademcoJNI
.
hbInitMachineTimer
(
HbMachineTimer
.
getCPtr
(
timer
),
timer
);
}
public
static
int
hbIsValidTimer
(
HbTimer
timer
)
{
return
libademcoJNI
.
hbIsValidTimer
(
HbTimer
.
getCPtr
(
timer
),
timer
);
}
public
static
AdemcoEvent
hbMachineStatusToAdemcoEvent
(
HbMachineStatus
status
)
{
return
AdemcoEvent
.
swigToEnum
(
libademcoJNI
.
hbMachineStatusToAdemcoEvent
(
status
.
swigValue
()));
}
public
static
HbMachineStatus
hbMachineStatusFromAdemcoEvent
(
AdemcoEvent
ademcoEvent
)
{
return
HbMachineStatus
.
swigToEnum
(
libademcoJNI
.
hbMachineStatusFromAdemcoEvent
(
ademcoEvent
.
swigValue
()));
}
public
static
AdemcoEvent
hbMachineTypeToAdemcoEvent
(
HbMachineType
type
)
{
return
AdemcoEvent
.
swigToEnum
(
libademcoJNI
.
hbMachineTypeToAdemcoEvent
(
type
.
swigValue
()));
}
public
static
HbMachineType
hbMachineTypeFromAdemcoEvent
(
AdemcoEvent
ademcoEvent
)
{
return
HbMachineType
.
swigToEnum
(
libademcoJNI
.
hbMachineTypeFromAdemcoEvent
(
ademcoEvent
.
swigValue
()));
}
public
static
AdemcoEvent
hbZonePropertyToAdemcoEvent
(
HbZoneProperty
zp
)
{
return
AdemcoEvent
.
swigToEnum
(
libademcoJNI
.
hbZonePropertyToAdemcoEvent
(
zp
.
swigValue
()));
}
public
static
String
hbMachineStatusToString
(
HbMachineStatus
status
)
{
return
libademcoJNI
.
hbMachineStatusToString
(
status
.
swigValue
());
}
public
static
String
hbMachineStatusToStringChinese
(
HbMachineStatus
status
)
{
return
libademcoJNI
.
hbMachineStatusToStringChinese
(
status
.
swigValue
());
}
public
static
String
hbMachineTypeToString
(
HbMachineType
type
)
{
return
libademcoJNI
.
hbMachineTypeToString
(
type
.
swigValue
());
}
public
static
String
hbMachineTypeToStringChinese
(
HbMachineType
type
)
{
return
libademcoJNI
.
hbMachineTypeToStringChinese
(
type
.
swigValue
());
}
public
static
String
hbZonePropertyToString
(
HbZoneProperty
zp
)
{
return
libademcoJNI
.
hbZonePropertyToString
(
zp
.
swigValue
());
}
public
static
String
hbZonePropertyToStringChinese
(
HbZoneProperty
zp
)
{
return
libademcoJNI
.
hbZonePropertyToStringChinese
(
zp
.
swigValue
());
}
public
static
String
hbGetZoneFormatString
(
HbMachineType
type
)
{
return
libademcoJNI
.
hbGetZoneFormatString
(
type
.
swigValue
());
}
public
static
void
hbSum
(
byte
[]
data
,
int
len
)
{
libademcoJNI
.
hbSum
(
data
,
len
);
}
public
static
int
hbCheckSum
(
byte
[]
data
,
int
len
)
{
return
libademcoJNI
.
hbCheckSum
(
data
,
len
);
}
public
static
HbComRequestType
hbComParseRequest
(
byte
[]
buff
,
int
len
)
{
return
HbComRequestType
.
swigToEnum
(
libademcoJNI
.
hbComParseRequest
(
buff
,
len
));
}
public
static
HbComRequestType
hbComParseXDataRequest
(
AdemcoXDataSegment
xdata
)
{
return
HbComRequestType
.
swigToEnum
(
libademcoJNI
.
hbComParseXDataRequest
(
AdemcoXDataSegment
.
getCPtr
(
xdata
),
xdata
));
}
public
static
HbComResponseType
hbComParseResponse
(
byte
[]
buff
,
int
len
)
{
return
HbComResponseType
.
swigToEnum
(
libademcoJNI
.
hbComParseResponse
(
buff
,
len
));
}
public
static
void
hbComMakeReqA0_getMachineStatus
(
HbComData
data
)
{
libademcoJNI
.
hbComMakeReqA0_getMachineStatus
(
HbComData
.
getCPtr
(
data
),
data
);
}
public
static
void
hbComMakeReqA1_getMachineZones
(
HbComData
data
)
{
libademcoJNI
.
hbComMakeReqA1_getMachineZones
(
HbComData
.
getCPtr
(
data
),
data
);
}
public
static
void
hbComMakeReqA2_getMoreMachineZones
(
HbComData
data
)
{
libademcoJNI
.
hbComMakeReqA2_getMoreMachineZones
(
HbComData
.
getCPtr
(
data
),
data
);
}
public
static
void
hbComMakeReqA3_modifyMachineZone
(
HbComData
data
,
short
zone
,
HbZoneProperty
prop
,
HbComReq_A3_op
op
)
{
libademcoJNI
.
hbComMakeReqA3_modifyMachineZone
(
HbComData
.
getCPtr
(
data
),
data
,
zone
,
prop
.
swigValue
(),
op
.
swigValue
());
}
public
static
void
hbComMakeReqA5_getMachineTimer
(
HbComData
data
)
{
libademcoJNI
.
hbComMakeReqA5_getMachineTimer
(
HbComData
.
getCPtr
(
data
),
data
);
}
public
static
void
hbComMakeReqA7_setMachineTimer
(
HbComData
data
,
HbMachineTimer
timer
)
{
libademcoJNI
.
hbComMakeReqA7_setMachineTimer
(
HbComData
.
getCPtr
(
data
),
data
,
HbMachineTimer
.
getCPtr
(
timer
),
timer
);
}
public
static
void
hbComMakeReqAA_modifyMachineZoneLostConfig
(
HbComData
data
,
short
zone
,
int
on
)
{
libademcoJNI
.
hbComMakeReqAA_modifyMachineZoneLostConfig
(
HbComData
.
getCPtr
(
data
),
data
,
zone
,
on
);
}
public
static
void
hbComMakeReqAC_getMachineZoneLostConfig
(
HbComData
data
)
{
libademcoJNI
.
hbComMakeReqAC_getMachineZoneLostConfig
(
HbComData
.
getCPtr
(
data
),
data
);
}
public
static
void
hbComMakeReqAD_getMoreMachineZoneLostConfig
(
HbComData
data
)
{
libademcoJNI
.
hbComMakeReqAD_getMoreMachineZoneLostConfig
(
HbComData
.
getCPtr
(
data
),
data
);
}
public
static
void
hbComMakeReqAE_set3SectionMachineStatus
(
HbComData
data
,
HbCom_3sec_which
p1
,
HbCom_3sec_status
status
)
{
libademcoJNI
.
hbComMakeReqAE_set3SectionMachineStatus
(
HbComData
.
getCPtr
(
data
),
data
,
p1
.
swigValue
(),
status
.
swigValue
());
}
public
static
void
hbComMakeReqB0_get3SectionMachineStatus
(
HbComData
data
)
{
libademcoJNI
.
hbComMakeReqB0_get3SectionMachineStatus
(
HbComData
.
getCPtr
(
data
),
data
);
}
public
static
void
hbComMakeReqRD_acct
(
HbComData
data
)
{
libademcoJNI
.
hbComMakeReqRD_acct
(
HbComData
.
getCPtr
(
data
),
data
);
}
public
static
void
hbComMakeReqWR_acct
(
HbComData
data
,
String
acct
)
{
libademcoJNI
.
hbComMakeReqWR_acct
(
HbComData
.
getCPtr
(
data
),
data
,
acct
);
}
public
static
void
hbComMakeRespA0_getMachineStatus
(
HbComData
data
,
HbMachineStatus
status
,
HbMachineType
type
)
{
libademcoJNI
.
hbComMakeRespA0_getMachineStatus
(
HbComData
.
getCPtr
(
data
),
data
,
status
.
swigValue
(),
type
.
swigValue
());
}
public
static
void
hbComMakeRespA2_getMachineZones
(
HbComData
data
,
int
count
,
SWIGTYPE_p_unsigned_int
zones
,
SWIGTYPE_p_HbZoneProperty
props
,
HbComResp_A2_p1
p1
)
{
libademcoJNI
.
hbComMakeRespA2_getMachineZones
(
HbComData
.
getCPtr
(
data
),
data
,
count
,
SWIGTYPE_p_unsigned_int
.
getCPtr
(
zones
),
SWIGTYPE_p_HbZoneProperty
.
getCPtr
(
props
),
p1
.
swigValue
());
}
public
static
void
hbComMakeRespA3_waitingSignal
(
HbComData
data
)
{
libademcoJNI
.
hbComMakeRespA3_waitingSignal
(
HbComData
.
getCPtr
(
data
),
data
);
}
public
static
void
hbComMakeRespA4_modifyMachineZone
(
HbComData
data
,
long
zone
,
HbZoneProperty
prop
,
HbComResp_A4_p3
p3
)
{
libademcoJNI
.
hbComMakeRespA4_modifyMachineZone
(
HbComData
.
getCPtr
(
data
),
data
,
zone
,
prop
.
swigValue
(),
p3
.
swigValue
());
}
public
static
void
hbComMakeRespA6_getMachineTimer
(
HbComData
data
,
HbMachineTimer
timer
)
{
libademcoJNI
.
hbComMakeRespA6_getMachineTimer
(
HbComData
.
getCPtr
(
data
),
data
,
HbMachineTimer
.
getCPtr
(
timer
),
timer
);
}
public
static
void
hbComMakeRespA7_setMachineTimer
(
HbComData
data
)
{
libademcoJNI
.
hbComMakeRespA7_setMachineTimer
(
HbComData
.
getCPtr
(
data
),
data
);
}
public
static
void
hbComMakeRespA8_reject
(
HbComData
data
)
{
libademcoJNI
.
hbComMakeRespA8_reject
(
HbComData
.
getCPtr
(
data
),
data
);
}
public
static
void
hbComMakeRespAB_modifyMachineZoneLostConfig
(
HbComData
data
,
long
zone
,
HbComResp_AB_p2
p2
)
{
libademcoJNI
.
hbComMakeRespAB_modifyMachineZoneLostConfig
(
HbComData
.
getCPtr
(
data
),
data
,
zone
,
p2
.
swigValue
());
}
public
static
void
hbComMakeRespAD_getMachineZoneLostConfig
(
HbComData
data
,
HbComResp_AD_p1
p1
,
int
count
,
SWIGTYPE_p_unsigned_int
zones
,
HbComResp_AD_p2
p2
)
{
libademcoJNI
.
hbComMakeRespAD_getMachineZoneLostConfig
(
HbComData
.
getCPtr
(
data
),
data
,
p1
.
swigValue
(),
count
,
SWIGTYPE_p_unsigned_int
.
getCPtr
(
zones
),
p2
.
swigValue
());
}
public
static
void
hbComMakeRespAF_set3SectionMachineStatus
(
HbComData
data
,
HbCom_3sec_which
p1
,
HbCom_3sec_status
status
)
{
libademcoJNI
.
hbComMakeRespAF_set3SectionMachineStatus
(
HbComData
.
getCPtr
(
data
),
data
,
p1
.
swigValue
(),
status
.
swigValue
());
}
public
static
void
hbComMakeRespB1_get3SectionMachineStatus
(
HbComData
data
,
HbMachineStatus
statusMachine
,
HbMachineStatus
statusSec1
,
HbMachineStatus
statusSec2
,
HbMachineStatus
statusSec3
)
{
libademcoJNI
.
hbComMakeRespB1_get3SectionMachineStatus
(
HbComData
.
getCPtr
(
data
),
data
,
statusMachine
.
swigValue
(),
statusSec1
.
swigValue
(),
statusSec2
.
swigValue
(),
statusSec3
.
swigValue
());
}
public
static
void
hbComDataToAdemcoXData
(
HbComData
data
,
AdemcoXDataSegment
xdata
,
AdemcoXDataLengthFormat
xlf
,
AdemcoXDataTransform
xtr
)
{
libademcoJNI
.
hbComDataToAdemcoXData
(
HbComData
.
getCPtr
(
data
),
data
,
AdemcoXDataSegment
.
getCPtr
(
xdata
),
xdata
,
xlf
.
swigValue
(),
xtr
.
swigValue
());
}
public
static
int
hbHiLoArrayToDecStr
(
String
str
,
byte
[]
arr
,
int
len
)
{
return
libademcoJNI
.
hbHiLoArrayToDecStr
(
str
,
arr
,
len
);
}
public
static
int
hbDecStrToHiLoArray
(
byte
[]
arr
,
int
len
,
String
str
)
{
return
libademcoJNI
.
hbDecStrToHiLoArray
(
arr
,
len
,
str
);
}
public
static
int
hbHexArrayToStr
(
String
str
,
byte
[]
arr
,
int
len
)
{
return
libademcoJNI
.
hbHexArrayToStr
(
str
,
arr
,
len
);
}
public
static
int
hbHexStrToArray
(
byte
[]
arr
,
String
str
,
short
padding
)
{
return
libademcoJNI
.
hbHexStrToArray
(
arr
,
str
,
padding
);
}
public
static
int
hbHexStrToArrayN
(
byte
[]
arr
,
String
str
,
int
len
,
short
padding
)
{
return
libademcoJNI
.
hbHexStrToArrayN
(
arr
,
str
,
len
,
padding
);
}
public
static
int
hbHexStrToArrayN_allow_non_hex_str
(
byte
[]
arr
,
String
str
,
int
len
,
short
padding
)
{
return
libademcoJNI
.
hbHexStrToArrayN_allow_non_hex_str
(
arr
,
str
,
len
,
padding
);
}
}
c/swig/com/hb3344/ademco/libademcoConstants.java
deleted
100644 → 0
View file @
fe1f9481
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 3.0.12
*
* 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
();
}
c/swig/com/hb3344/ademco/libademcoJNI.java
deleted
100644 → 0
View file @
fe1f9481
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 3.0.12
*
* 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
libademcoJNI
{
public
final
static
native
long
new_intp
();
public
final
static
native
long
copy_intp
(
int
jarg1
);
public
final
static
native
void
delete_intp
(
long
jarg1
);
public
final
static
native
void
intp_assign
(
long
jarg1
,
int
jarg2
);
public
final
static
native
int
intp_value
(
long
jarg1
);
public
final
static
native
long
new_uint16p
();
public
final
static
native
long
copy_uint16p
(
int
jarg1
);
public
final
static
native
void
delete_uint16p
(
long
jarg1
);
public
final
static
native
void
uint16p_assign
(
long
jarg1
,
int
jarg2
);
public
final
static
native
int
uint16p_value
(
long
jarg1
);
public
final
static
native
long
new_uint32p
();
public
final
static
native
long
copy_uint32p
(
long
jarg1
);
public
final
static
native
void
delete_uint32p
(
long
jarg1
);
public
final
static
native
void
uint32p_assign
(
long
jarg1
,
long
jarg2
);
public
final
static
native
long
uint32p_value
(
long
jarg1
);
public
final
static
native
int
ADEMCO_OK_get
();
public
final
static
native
int
ADEMCO_ERR_get
();
public
final
static
native
int
ADEMCO_PACKET_ACCT_MAX_LEN_get
();
public
final
static
native
int
ADEMCO_PACKET_DATA_SEGMENT_EMPTY_LEN_get
();
public
final
static
native
int
ADEMCO_PACKET_DATA_SEGMENT_FULL_LEN_get
();
public
final
static
native
int
ADEMCO_PACKET_DATA_SEGMENT_FULL_LEN_MAX_get
();
public
final
static
native
int
ADEMCO_PACKET_MAX_LEN_get
();
public
final
static
native
int
CONGWIN_FE100_PACKET_LEN_get
();
public
final
static
native
int
ADEMCO_PACKET_TIMESTAMP_LEN_get
();
public
final
static
native
int
ADEMCO_PACKET_XDATA_MAX_LEN_get
();
public
final
static
native
int
ADEMCO_ID_MIN_get
();
public
final
static
native
int
ADEMCO_ID_MAX_get
();
public
final
static
native
int
ADEMCO_ID_SENTINEL_get
();
public
final
static
native
int
ademcoIsValidAdemcoId
(
long
jarg1
);
public
final
static
native
int
ADEMCO_ZONE_FOR_MACHINE_SELF_get
();
public
final
static
native
int
ADEMCO_ZONE_MIN_get
();
public
final
static
native
int
ADEMCO_ZONE_MAX_get
();
public
final
static
native
int
ADEMCO_ZONE_SENTINEL_get
();
public
final
static
native
int
ademcoIsValidZone
(
long
jarg1
);
public
final
static
native
int
ademcoIsValidZoneStrict
(
long
jarg1
);
public
final
static
native
int
ADEMCO_GG_MIN_get
();
public
final
static
native
int
ADEMCO_GG_MAX_get
();
public
final
static
native
int
ADEMCO_GG_SENTINEL_get
();
public
final
static
native
int
EVENT_INVALID_EVENT_get
();
public
final
static
native
int
EVENT_ARM_get
();
public
final
static
native
int
EVENT_DISARM_get
();
public
final
static
native
int
EVENT_HALFARM_1456_get
();
public
final
static
native
int
EVENT_HALFARM_get
();
public
final
static
native
int
EVENT_EMERGENCY_get
();
public
final
static
native
int
EVENT_BURGLAR_get
();
public
final
static
native
int
EVENT_DOORRINGING_get
();
public
final
static
native
int
EVENT_FIRE_get
();
public
final
static
native
int
EVENT_DURESS_get
();
public
final
static
native
int
EVENT_GAS_get
();
public
final
static
native
int
EVENT_WATER_get
();
public
final
static
native
int
EVENT_TAMPER_get
();
public
final
static
native
int
EVENT_ZONE_TAMPER_get
();
public
final
static
native
int
EVENT_BYPASS_get
();
public
final
static
native
int
EVENT_BYPASS_RESUME_get
();
public
final
static
native
int
EVENT_AC_BROKE_get
();
public
final
static
native
int
EVENT_AC_RECOVER_get
();
public
final
static
native
int
EVENT_LOWBATTERY_get
();
public
final
static
native
int
EVENT_BATTERY_RECOVER_get
();
public
final
static
native
int
EVENT_BADBATTERY_get
();
public
final
static
native
int
EVENT_BADBATTERY_RECOVER_get
();
public
final
static
native
int
EVENT_SOLARDISTURB_get
();
public
final
static
native
int
EVENT_SOLARDISTURB_RECOVER_get
();
public
final
static
native
int
EVENT_DISCONNECT_get
();
public
final
static
native
int
EVENT_RECONNECT_get
();
public
final
static
native
int
EVENT_BATTERY_EXCEPTION_get
();
public
final
static
native
int
EVENT_BATTERY_EXCEPTION_RECOVER_get
();
public
final
static
native
int
EVENT_OTHER_EXCEPTION_get
();
public
final
static
native
int
EVENT_OTHER_EXCEPTION_RECOVER_get
();
public
final
static
native
int
EVENT_LOST_get
();
public
final
static
native
int
EVENT_LOST_RECOVER_get
();
public
final
static
native
int
EVENT_3100_get
();
public
final
static
native
int
EVENT_SERIAL485DIS_get
();
public
final
static
native
int
EVENT_SERIAL485CONN_get
();
public
final
static
native
int
EVENT_CONN_HANGUP_get
();
public
final
static
native
int
EVENT_CONN_RESUME_get
();
public
final
static
native
int
EVENT_DISARM_PWD_ERR_get
();
public
final
static
native
int
EVENT_SUB_MACHINE_SENSOR_EXCEPTION_get
();
public
final
static
native
int
EVENT_SUB_MACHINE_SENSOR_RESUME_get
();
public
final
static
native
int
EVENT_SUB_MACHINE_POWER_EXCEPTION_get
();
public
final
static
native
int
EVENT_SUB_MACHINE_POWER_RESUME_get
();
public
final
static
native
int
EVENT_COM_PASSTHROUGH_get
();
public
final
static
native
int
EVENT_ENTER_SET_MODE_get
();
public
final
static
native
int
EVENT_EXIT_SET_MODE_get
();
public
final
static
native
int
EVENT_QUERY_SUB_MACHINE_get
();
public
final
static
native
int
EVENT_WRITE_TO_MACHINE_get
();
public
final
static
native
int
EVENT_I_AM_NET_MODULE_get
();
public
final
static
native
int
EVENT_I_AM_GPRS_get
();
public
final
static
native
int
EVENT_I_AM_LCD_MACHINE_get
();
public
final
static
native
int
EVENT_I_AM_WIRE_MACHINE_get
();
public
final
static
native
int
EVENT_I_AM_WIFI_MACHINE_get
();
public
final
static
native
int
EVENT_I_AM_3_SECTION_MACHINE_get
();
public
final
static
native
int
EVENT_I_AM_IOT_MACHINE_get
();
public
final
static
native
int
EVENT_I_AM_TRUE_COLOR_get
();
public
final
static
native
int
EVENT_I_AM_GPRS_IOT_get
();
public
final
static
native
int
EVENT_I_AM_GPRS_PHONE_get
();
public
final
static
native
int
EVENT_I_AM_NB_MACHINE_get
();
public
final
static
native
int
EVENT_PHONE_USER_SOS_get
();
public
final
static
native
int
EVENT_PHONE_USER_CANCLE_ALARM_get
();
public
final
static
native
int
EVENT_ENTER_SETTING_MODE_get
();
public
final
static
native
int
EVENT_EXIT_SETTING_MODE_get
();
public
final
static
native
int
EVENT_RESTORE_FACTORY_SETTINGS_710_get
();
public
final
static
native
int
EVENT_RESTORE_FACTORY_SETTINGS_get
();
public
final
static
native
int
EVENT_SIM_IS_IOT_CARD_get
();
public
final
static
native
int
EVENT_SIM_IS_IOT_PLATFORM_CARD_get
();
public
final
static
native
int
EVENT_SIM_IS_NOT_IOT_CARD_get
();
public
final
static
native
int
EVENT_WHAT_IS_YOUR_TYPE_get
();
public
final
static
native
int
EVENT_SIGNAL_STRENGTH_CHANGED_get
();
public
final
static
native
int
EVENT_OFFLINE_get
();
public
final
static
native
int
EVENT_ONLINE_get
();
public
final
static
native
long
AdemcoEvents_get
();
public
final
static
native
void
AdemcoDataSegment_raw_set
(
long
jarg1
,
AdemcoDataSegment
jarg1_
,
byte
[]
jarg2
);
public
final
static
native
byte
[]
AdemcoDataSegment_raw_get
(
long
jarg1
,
AdemcoDataSegment
jarg1_
);
public
final
static
native
void
AdemcoDataSegment_raw_len_set
(
long
jarg1
,
AdemcoDataSegment
jarg1_
,
int
jarg2
);
public
final
static
native
int
AdemcoDataSegment_raw_len_get
(
long
jarg1
,
AdemcoDataSegment
jarg1_
);
public
final
static
native
void
AdemcoDataSegment_ademcoId_set
(
long
jarg1
,
AdemcoDataSegment
jarg1_
,
long
jarg2
);
public
final
static
native
long
AdemcoDataSegment_ademcoId_get
(
long
jarg1
,
AdemcoDataSegment
jarg1_
);
public
final
static
native
void
AdemcoDataSegment_ademcoEvent_set
(
long
jarg1
,
AdemcoDataSegment
jarg1_
,
int
jarg2
);
public
final
static
native
int
AdemcoDataSegment_ademcoEvent_get
(
long
jarg1
,
AdemcoDataSegment
jarg1_
);
public
final
static
native
void
AdemcoDataSegment_gg_set
(
long
jarg1
,
AdemcoDataSegment
jarg1_
,
long
jarg2
);
public
final
static
native
long
AdemcoDataSegment_gg_get
(
long
jarg1
,
AdemcoDataSegment
jarg1_
);
public
final
static
native
void
AdemcoDataSegment_zone_set
(
long
jarg1
,
AdemcoDataSegment
jarg1_
,
long
jarg2
);
public
final
static
native
long
AdemcoDataSegment_zone_get
(
long
jarg1
,
AdemcoDataSegment
jarg1_
);
public
final
static
native
long
new_AdemcoDataSegment
();
public
final
static
native
void
delete_AdemcoDataSegment
(
long
jarg1
);
public
final
static
native
void
AdemcoXDataSegment_lenghFormat_set
(
long
jarg1
,
AdemcoXDataSegment
jarg1_
,
int
jarg2
);
public
final
static
native
int
AdemcoXDataSegment_lenghFormat_get
(
long
jarg1
,
AdemcoXDataSegment
jarg1_
);
public
final
static
native
void
AdemcoXDataSegment_raw_set
(
long
jarg1
,
AdemcoXDataSegment
jarg1_
,
byte
[]
jarg2
);
public
final
static
native
byte
[]
AdemcoXDataSegment_raw_get
(
long
jarg1
,
AdemcoXDataSegment
jarg1_
);
public
final
static
native
void
AdemcoXDataSegment_raw_len_set
(
long
jarg1
,
AdemcoXDataSegment
jarg1_
,
int
jarg2
);
public
final
static
native
int
AdemcoXDataSegment_raw_len_get
(
long
jarg1
,
AdemcoXDataSegment
jarg1_
);
public
final
static
native
long
new_AdemcoXDataSegment
();
public
final
static
native
void
delete_AdemcoXDataSegment
(
long
jarg1
);
public
final
static
native
String
ADEMCO_PACKET_ID_NULL_get
();
public
final
static
native
String
ADEMCO_PACKET_ID_ACK_get
();
public
final
static
native
String
ADEMCO_PACKET_ID_NAK_get
();
public
final
static
native
String
ADEMCO_PACKET_ID_DUH_get
();
public
final
static
native
String
ADEMCO_PACKET_ID_HB_get
();
public
final
static
native
String
ADEMCO_PACKET_ID_ADM_CID_get
();
public
final
static
native
String
ADEMCO_PACKET_ID_MOD_REG_get
();
public
final
static
native
String
ADEMCO_PACKET_ID_REG_RSP_get
();
public
final
static
native
int
AID_INVALID_get
();
public
final
static
native
String
ADEMCO_RRCVR_DEFAULT_get
();
public
final
static
native
String
ADEMCO_LPREF_DEFAULT_get
();
public
final
static
native
char
ADEMCO_PACKET_PREFIX_get
();
public
final
static
native
char
ADEMCO_PACKET_SUFIX_get
();
public
final
static
native
void
AdemcoPacket_crc_set
(
long
jarg1
,
AdemcoPacket
jarg1_
,
int
jarg2
);
public
final
static
native
int
AdemcoPacket_crc_get
(
long
jarg1
,
AdemcoPacket
jarg1_
);
public
final
static
native
void
AdemcoPacket_len_set
(
long
jarg1
,
AdemcoPacket
jarg1_
,
int
jarg2
);
public
final
static
native
int
AdemcoPacket_len_get
(
long
jarg1
,
AdemcoPacket
jarg1_
);
public
final
static
native
void
AdemcoPacket_id_set
(
long
jarg1
,
AdemcoPacket
jarg1_
,
int
jarg2
);
public
final
static
native
int
AdemcoPacket_id_get
(
long
jarg1
,
AdemcoPacket
jarg1_
);
public
final
static
native
void
AdemcoPacket_seq_set
(
long
jarg1
,
AdemcoPacket
jarg1_
,
int
jarg2
);
public
final
static
native
int
AdemcoPacket_seq_get
(
long
jarg1
,
AdemcoPacket
jarg1_
);
public
final
static
native
void
AdemcoPacket_acct_set
(
long
jarg1
,
AdemcoPacket
jarg1_
,
String
jarg2
);
public
final
static
native
String
AdemcoPacket_acct_get
(
long
jarg1
,
AdemcoPacket
jarg1_
);
public
final
static
native
void
AdemcoPacket_data_set
(
long
jarg1
,
AdemcoPacket
jarg1_
,
long
jarg2
,
AdemcoDataSegment
jarg2_
);
public
final
static
native
long
AdemcoPacket_data_get
(
long
jarg1
,
AdemcoPacket
jarg1_
);
public
final
static
native
void
AdemcoPacket_xdata_set
(
long
jarg1
,
AdemcoPacket
jarg1_
,
long
jarg2
,
AdemcoXDataSegment
jarg2_
);
public
final
static
native
long
AdemcoPacket_xdata_get
(
long
jarg1
,
AdemcoPacket
jarg1_
);
public
final
static
native
void
AdemcoPacket_timestamp_set
(
long
jarg1
,
AdemcoPacket
jarg1_
,
long
jarg2
);
public
final
static
native
long
AdemcoPacket_timestamp_get
(
long
jarg1
,
AdemcoPacket
jarg1_
);
public
final
static
native
void
AdemcoPacket_raw_set
(
long
jarg1
,
AdemcoPacket
jarg1_
,
byte
[]
jarg2
);
public
final
static
native
byte
[]
AdemcoPacket_raw_get
(
long
jarg1
,
AdemcoPacket
jarg1_
);
public
final
static
native
void
AdemcoPacket_raw_len_set
(
long
jarg1
,
AdemcoPacket
jarg1_
,
int
jarg2
);
public
final
static
native
int
AdemcoPacket_raw_len_get
(
long
jarg1
,
AdemcoPacket
jarg1_
);
public
final
static
native
long
new_AdemcoPacket
();
public
final
static
native
void
delete_AdemcoPacket
(
long
jarg1
);
public
final
static
native
int
ademcoIsMachineStatusEvent
(
int
jarg1
);
public
final
static
native
int
ademcoIsMachineTypeEvent
(
int
jarg1
);
public
final
static
native
int
ademcoIsEventNeedControlSource
(
int
jarg1
);
public
final
static
native
int
ademcoGetEventLevel
(
int
jarg1
);
public
final
static
native
int
ademcoGetExceptionEventByResumeEvent
(
int
jarg1
);
public
final
static
native
String
ademcoEventToString
(
int
jarg1
);
public
final
static
native
String
ademcoEventToStringChinese
(
int
jarg1
);
public
final
static
native
int
ademcoAppendDataSegment
(
byte
[]
jarg1
,
long
jarg2
,
int
jarg3
,
long
jarg4
,
long
jarg5
);
public
final
static
native
int
ademcoAppendDataSegment2
(
long
jarg1
,
AdemcoDataSegment
jarg1_
,
long
jarg2
,
int
jarg3
,
long
jarg4
,
long
jarg5
);
public
final
static
native
int
ademcoParseDataSegment
(
byte
[]
jarg1
,
int
jarg2
,
long
jarg3
,
AdemcoDataSegment
jarg3_
);
public
final
static
native
int
ademcoDataSegmentToCongwinFe100
(
byte
[]
jarg1
,
long
jarg2
,
AdemcoDataSegment
jarg2_
);
public
final
static
native
int
ademcoXDataGetValidContentLen
(
long
jarg1
,
AdemcoXDataSegment
jarg1_
);
public
final
static
native
int
ademcoXDataMemcmp
(
long
jarg1
,
AdemcoXDataSegment
jarg1_
,
long
jarg2
,
int
jarg3
);
public
final
static
native
int
ademcoMakeXData
(
long
jarg1
,
AdemcoXDataSegment
jarg1_
,
int
jarg2
,
int
jarg3
,
byte
[]
jarg4
,
int
jarg5
);
public
final
static
native
int
isAdemcoPacketId
(
String
jarg1
,
String
jarg2
,
int
jarg3
);
public
final
static
native
int
getAdemcoPacketId
(
String
jarg1
,
int
jarg2
);
public
final
static
native
String
admecoPacketIdToString
(
int
jarg1
);
public
final
static
native
int
ademcoMakeEmptyDataPacket
(
byte
[]
jarg1
,
int
jarg2
,
String
jarg3
,
int
jarg4
,
String
jarg5
,
long
jarg6
);
public
final
static
native
int
ademcoMakeNullPacket
(
byte
[]
jarg1
,
int
jarg2
,
int
jarg3
,
String
jarg4
,
long
jarg5
);
public
final
static
native
int
ademcoMakeAckPacket
(
byte
[]
jarg1
,
int
jarg2
,
int
jarg3
,
String
jarg4
,
long
jarg5
);
public
final
static
native
int
ademcoMakeNakPacket
(
byte
[]
jarg1
,
int
jarg2
,
int
jarg3
,
String
jarg4
,
long
jarg5
);
public
final
static
native
int
ademcoMakeHbPacket
(
byte
[]
jarg1
,
int
jarg2
,
int
jarg3
,
String
jarg4
,
long
jarg5
,
int
jarg6
,
long
jarg7
,
long
jarg8
,
long
jarg9
,
AdemcoXDataSegment
jarg9_
);
public
final
static
native
int
ademcoMakeNullPacket2
(
long
jarg1
,
AdemcoPacket
jarg1_
,
int
jarg2
,
String
jarg3
,
long
jarg4
);
public
final
static
native
int
ademcoMakeAckPacket2
(
long
jarg1
,
AdemcoPacket
jarg1_
,
int
jarg2
,
String
jarg3
,
long
jarg4
);
public
final
static
native
int
ademcoMakeNakPacket2
(
long
jarg1
,
AdemcoPacket
jarg1_
,
int
jarg2
,
String
jarg3
,
long
jarg4
);
public
final
static
native
int
ademcoMakeHbPacket2
(
long
jarg1
,
AdemcoPacket
jarg1_
,
int
jarg2
,
String
jarg3
,
long
jarg4
,
int
jarg5
,
long
jarg6
,
long
jarg7
,
long
jarg8
,
AdemcoXDataSegment
jarg8_
);
public
final
static
native
int
ademcoPacketParse
(
byte
[]
jarg1
,
int
jarg2
,
long
jarg3
,
AdemcoPacket
jarg3_
,
long
jarg4
);
public
final
static
native
int
ademcoCRC16
(
byte
[]
jarg1
,
int
jarg2
);
public
final
static
native
int
HB_3SECTION_MACHINE_GG_MIN_get
();
public
final
static
native
int
HB_3SECTION_MACHINE_GG_MAX_get
();
public
final
static
native
int
hbIsValid3SectionMachineGG
(
long
jarg1
);
public
final
static
native
int
HMS_INVALID_get
();
public
final
static
native
int
HMT_INVALID_get
();
public
final
static
native
int
HZP_INVALID_get
();
public
final
static
native
void
HbMachineTimePoint_hour_set
(
long
jarg1
,
HbMachineTimePoint
jarg1_
,
short
jarg2
);
public
final
static
native
short
HbMachineTimePoint_hour_get
(
long
jarg1
,
HbMachineTimePoint
jarg1_
);
public
final
static
native
void
HbMachineTimePoint_minute_set
(
long
jarg1
,
HbMachineTimePoint
jarg1_
,
short
jarg2
);
public
final
static
native
short
HbMachineTimePoint_minute_get
(
long
jarg1
,
HbMachineTimePoint
jarg1_
);
public
final
static
native
long
new_HbMachineTimePoint
();
public
final
static
native
void
delete_HbMachineTimePoint
(
long
jarg1
);
public
final
static
native
void
HbTimer_armAt_set
(
long
jarg1
,
HbTimer
jarg1_
,
long
jarg2
,
HbMachineTimePoint
jarg2_
);
public
final
static
native
long
HbTimer_armAt_get
(
long
jarg1
,
HbTimer
jarg1_
);
public
final
static
native
void
HbTimer_disarmAt_set
(
long
jarg1
,
HbTimer
jarg1_
,
long
jarg2
,
HbMachineTimePoint
jarg2_
);
public
final
static
native
long
HbTimer_disarmAt_get
(
long
jarg1
,
HbTimer
jarg1_
);
public
final
static
native
long
new_HbTimer
();
public
final
static
native
void
delete_HbTimer
(
long
jarg1
);
public
final
static
native
void
HbMachineTimer_timer_set
(
long
jarg1
,
HbMachineTimer
jarg1_
,
long
jarg2
,
HbTimer
jarg2_
);
public
final
static
native
long
HbMachineTimer_timer_get
(
long
jarg1
,
HbMachineTimer
jarg1_
);
public
final
static
native
void
HbMachineTimer_data_set
(
long
jarg1
,
HbMachineTimer
jarg1_
,
byte
[]
jarg2
);
public
final
static
native
byte
[]
HbMachineTimer_data_get
(
long
jarg1
,
HbMachineTimer
jarg1_
);
public
final
static
native
long
new_HbMachineTimer
();
public
final
static
native
void
delete_HbMachineTimer
(
long
jarg1
);
public
final
static
native
int
HB_COM_DATA_MAX_LEN_get
();
public
final
static
native
void
HbComData_data_set
(
long
jarg1
,
HbComData
jarg1_
,
byte
[]
jarg2
);
public
final
static
native
byte
[]
HbComData_data_get
(
long
jarg1
,
HbComData
jarg1_
);
public
final
static
native
void
HbComData_len_set
(
long
jarg1
,
HbComData
jarg1_
,
int
jarg2
);
public
final
static
native
int
HbComData_len_get
(
long
jarg1
,
HbComData
jarg1_
);
public
final
static
native
long
new_HbComData
();
public
final
static
native
void
delete_HbComData
(
long
jarg1
);
public
final
static
native
int
HbComReq_Invalid_get
();
public
final
static
native
int
HbComResp_Invalid_get
();
public
final
static
native
int
HbComReq_A0_len_get
();
public
final
static
native
String
HbComReq_A0_data_get
();
public
final
static
native
int
HbComResp_A0_len_get
();
public
final
static
native
String
HbComResp_A0_head_get
();
public
final
static
native
int
HbComReq_A1_len_get
();
public
final
static
native
String
HbComReq_A1_data_get
();
public
final
static
native
int
HbComResp_A2_len_min_get
();
public
final
static
native
int
HbComResp_A2_max_zone_get
();
public
final
static
native
int
HbComResp_A2_len_max_get
();
public
final
static
native
int
HbComResp_A2_p1_nomore_get
();
public
final
static
native
int
HbComResp_A2_p1_more_get
();
public
final
static
native
String
HbComResp_A2_head_get
();
public
final
static
native
int
HbComReq_A2_len_get
();
public
final
static
native
String
HbComReq_A2_data_get
();
public
final
static
native
int
HbComReq_A3_len_get
();
public
final
static
native
String
HbComReq_A3_head_get
();
public
final
static
native
int
HbComReq_A3_p3_del_get
();
public
final
static
native
int
HbComReq_A3_p3_learn_get
();
public
final
static
native
int
HbComReq_A3_p3_stop_get
();
public
final
static
native
int
HbComReq_A3_p3_modify_get
();
public
final
static
native
int
HbComResp_A3_len_get
();
public
final
static
native
String
HbComResp_A3_data_get
();
public
final
static
native
int
HbComResp_A4_len_get
();
public
final
static
native
String
HbComResp_A4_head_get
();
public
final
static
native
int
HbComResp_A4_p3_fail_get
();
public
final
static
native
int
HbComResp_A4_p3_ok_get
();
public
final
static
native
int
HbComResp_A4_p3_dup_get
();
public
final
static
native
int
HbComResp_A4_p3_ne_get
();
public
final
static
native
int
HbComReq_A5_len_get
();
public
final
static
native
String
HbComReq_A5_data_get
();
public
final
static
native
int
HbComResp_A6_len_get
();
public
final
static
native
String
HbComResp_A6_head_get
();
public
final
static
native
int
HbComReq_A7_len_get
();
public
final
static
native
String
HbComReq_A7_head_get
();
public
final
static
native
int
HbComResp_A7_len_get
();
public
final
static
native
String
HbComResp_A7_data_get
();
public
final
static
native
int
HbComResp_A8_len_get
();
public
final
static
native
String
HbComResp_A8_data_get
();
public
final
static
native
int
HbComReq_AA_len_get
();
public
final
static
native
String
HbComReq_AA_head_get
();
public
final
static
native
int
HbComResp_AB_len_get
();
public
final
static
native
String
HbComResp_AB_head_get
();
public
final
static
native
int
HbComResp_AB_p2_close_get
();
public
final
static
native
int
HbComResp_AB_p2_open_get
();
public
final
static
native
int
HbComResp_AB_p2_reject_get
();
public
final
static
native
int
HbComReq_AC_len_get
();
public
final
static
native
String
HbComReq_AC_data_get
();
public
final
static
native
int
HbComReq_AD_len_get
();
public
final
static
native
String
HbComReq_AD_data_get
();
public
final
static
native
int
HbComResp_AD_len_min_get
();
public
final
static
native
int
HbComResp_AD_max_zone_get
();
public
final
static
native
int
HbComResp_AD_len_max_get
();
public
final
static
native
int
HbComResp_AD_p1_single_get
();
public
final
static
native
int
HbComResp_AD_p1_double_get
();
public
final
static
native
int
HbComResp_AD_p2_nomore_get
();
public
final
static
native
int
HbComResp_AD_p2_more_get
();
public
final
static
native
String
HbComResp_AD_head_get
();
public
final
static
native
int
HbCom_3sec_arm_get
();
public
final
static
native
int
HbCom_3sec_disarm_get
();
public
final
static
native
int
HbComReq_AE_len_get
();
public
final
static
native
String
HbComReq_AE_head_get
();
public
final
static
native
int
HbComResp_AF_len_get
();
public
final
static
native
String
HbComResp_AF_head_get
();
public
final
static
native
int
HbComReq_B0_len_get
();
public
final
static
native
String
HbComReq_B0_data_get
();
public
final
static
native
int
HbComResp_B1_len_get
();
public
final
static
native
String
HbComResp_B1_head_get
();
public
final
static
native
int
HbComReq_RD_acct_len_get
();
public
final
static
native
String
HbComReq_RD_acct_data_get
();
public
final
static
native
int
HbComResp_RD_acct_len_get
();
public
final
static
native
String
HbComResp_RD_acct_head_get
();
public
final
static
native
int
HbComReq_WR_acct_len_get
();
public
final
static
native
String
HbComReq_WR_acct_head_get
();
public
final
static
native
int
HbComResp_WR_acct_len_get
();
public
final
static
native
String
HbComResp_WR_acct_head_get
();
public
final
static
native
long
hbZoneProperties_get
();
public
final
static
native
int
hbGetAvailableZoneProperties
(
int
jarg1
,
long
jarg2
);
public
final
static
native
int
hbZoneMax
(
int
jarg1
);
public
final
static
native
int
hbIsValidZone
(
int
jarg1
,
int
jarg2
);
public
final
static
native
int
hbIsValidZoneStrict
(
int
jarg1
,
int
jarg2
);
public
final
static
native
int
hbMachineIsSelling
(
int
jarg1
);
public
final
static
native
int
hbMachineCanArm
(
int
jarg1
);
public
final
static
native
int
hbMachineCanDisarm
(
int
jarg1
);
public
final
static
native
int
hbMachineCanEnterSettings
(
int
jarg1
);
public
final
static
native
int
hbMachineCanHalfArm
(
int
jarg1
);
public
final
static
native
int
hbMachineCanReportSignalStrength
(
int
jarg1
);
public
final
static
native
int
hbMachineCanReportBySMS
(
int
jarg1
);
public
final
static
native
int
hbMachineHasWiredZone
(
int
jarg1
);
public
final
static
native
long
hbWiredZoneMin
(
int
jarg1
);
public
final
static
native
long
hbWiredZoneMax
(
int
jarg1
);
public
final
static
native
int
hbMachineCanDirectlyWriteZone
(
int
jarg1
);
public
final
static
native
int
hbMachineCanLinkSubMachine
(
int
jarg1
);
public
final
static
native
int
hbZonePropCanReportLost
(
int
jarg1
);
public
final
static
native
void
hbInitMachineTimer
(
long
jarg1
,
HbMachineTimer
jarg1_
);
public
final
static
native
int
hbIsValidTimer
(
long
jarg1
,
HbTimer
jarg1_
);
public
final
static
native
int
hbMachineStatusToAdemcoEvent
(
int
jarg1
);
public
final
static
native
int
hbMachineStatusFromAdemcoEvent
(
int
jarg1
);
public
final
static
native
int
hbMachineTypeToAdemcoEvent
(
int
jarg1
);
public
final
static
native
int
hbMachineTypeFromAdemcoEvent
(
int
jarg1
);
public
final
static
native
int
hbZonePropertyToAdemcoEvent
(
int
jarg1
);
public
final
static
native
String
hbMachineStatusToString
(
int
jarg1
);
public
final
static
native
String
hbMachineStatusToStringChinese
(
int
jarg1
);
public
final
static
native
String
hbMachineTypeToString
(
int
jarg1
);
public
final
static
native
String
hbMachineTypeToStringChinese
(
int
jarg1
);
public
final
static
native
String
hbZonePropertyToString
(
int
jarg1
);
public
final
static
native
String
hbZonePropertyToStringChinese
(
int
jarg1
);
public
final
static
native
String
hbGetZoneFormatString
(
int
jarg1
);
public
final
static
native
void
hbSum
(
byte
[]
jarg1
,
int
jarg2
);
public
final
static
native
int
hbCheckSum
(
byte
[]
jarg1
,
int
jarg2
);
public
final
static
native
int
hbComParseRequest
(
byte
[]
jarg1
,
int
jarg2
);
public
final
static
native
int
hbComParseXDataRequest
(
long
jarg1
,
AdemcoXDataSegment
jarg1_
);
public
final
static
native
int
hbComParseResponse
(
byte
[]
jarg1
,
int
jarg2
);
public
final
static
native
void
hbComMakeReqA0_getMachineStatus
(
long
jarg1
,
HbComData
jarg1_
);
public
final
static
native
void
hbComMakeReqA1_getMachineZones
(
long
jarg1
,
HbComData
jarg1_
);
public
final
static
native
void
hbComMakeReqA2_getMoreMachineZones
(
long
jarg1
,
HbComData
jarg1_
);
public
final
static
native
void
hbComMakeReqA3_modifyMachineZone
(
long
jarg1
,
HbComData
jarg1_
,
short
jarg2
,
int
jarg3
,
int
jarg4
);
public
final
static
native
void
hbComMakeReqA5_getMachineTimer
(
long
jarg1
,
HbComData
jarg1_
);
public
final
static
native
void
hbComMakeReqA7_setMachineTimer
(
long
jarg1
,
HbComData
jarg1_
,
long
jarg2
,
HbMachineTimer
jarg2_
);
public
final
static
native
void
hbComMakeReqAA_modifyMachineZoneLostConfig
(
long
jarg1
,
HbComData
jarg1_
,
short
jarg2
,
int
jarg3
);
public
final
static
native
void
hbComMakeReqAC_getMachineZoneLostConfig
(
long
jarg1
,
HbComData
jarg1_
);
public
final
static
native
void
hbComMakeReqAD_getMoreMachineZoneLostConfig
(
long
jarg1
,
HbComData
jarg1_
);
public
final
static
native
void
hbComMakeReqAE_set3SectionMachineStatus
(
long
jarg1
,
HbComData
jarg1_
,
int
jarg2
,
int
jarg3
);
public
final
static
native
void
hbComMakeReqB0_get3SectionMachineStatus
(
long
jarg1
,
HbComData
jarg1_
);
public
final
static
native
void
hbComMakeReqRD_acct
(
long
jarg1
,
HbComData
jarg1_
);
public
final
static
native
void
hbComMakeReqWR_acct
(
long
jarg1
,
HbComData
jarg1_
,
String
jarg2
);
public
final
static
native
void
hbComMakeRespA0_getMachineStatus
(
long
jarg1
,
HbComData
jarg1_
,
int
jarg2
,
int
jarg3
);
public
final
static
native
void
hbComMakeRespA2_getMachineZones
(
long
jarg1
,
HbComData
jarg1_
,
int
jarg2
,
long
jarg3
,
long
jarg4
,
int
jarg5
);
public
final
static
native
void
hbComMakeRespA3_waitingSignal
(
long
jarg1
,
HbComData
jarg1_
);
public
final
static
native
void
hbComMakeRespA4_modifyMachineZone
(
long
jarg1
,
HbComData
jarg1_
,
long
jarg2
,
int
jarg3
,
int
jarg4
);
public
final
static
native
void
hbComMakeRespA6_getMachineTimer
(
long
jarg1
,
HbComData
jarg1_
,
long
jarg2
,
HbMachineTimer
jarg2_
);
public
final
static
native
void
hbComMakeRespA7_setMachineTimer
(
long
jarg1
,
HbComData
jarg1_
);
public
final
static
native
void
hbComMakeRespA8_reject
(
long
jarg1
,
HbComData
jarg1_
);
public
final
static
native
void
hbComMakeRespAB_modifyMachineZoneLostConfig
(
long
jarg1
,
HbComData
jarg1_
,
long
jarg2
,
int
jarg3
);
public
final
static
native
void
hbComMakeRespAD_getMachineZoneLostConfig
(
long
jarg1
,
HbComData
jarg1_
,
int
jarg2
,
int
jarg3
,
long
jarg4
,
int
jarg5
);
public
final
static
native
void
hbComMakeRespAF_set3SectionMachineStatus
(
long
jarg1
,
HbComData
jarg1_
,
int
jarg2
,
int
jarg3
);
public
final
static
native
void
hbComMakeRespB1_get3SectionMachineStatus
(
long
jarg1
,
HbComData
jarg1_
,
int
jarg2
,
int
jarg3
,
int
jarg4
,
int
jarg5
);
public
final
static
native
void
hbComDataToAdemcoXData
(
long
jarg1
,
HbComData
jarg1_
,
long
jarg2
,
AdemcoXDataSegment
jarg2_
,
int
jarg3
,
int
jarg4
);
public
final
static
native
int
hbHiLoArrayToDecStr
(
String
jarg1
,
byte
[]
jarg2
,
int
jarg3
);
public
final
static
native
int
hbDecStrToHiLoArray
(
byte
[]
jarg1
,
int
jarg2
,
String
jarg3
);
public
final
static
native
int
hbHexArrayToStr
(
String
jarg1
,
byte
[]
jarg2
,
int
jarg3
);
public
final
static
native
int
hbHexStrToArray
(
byte
[]
jarg1
,
String
jarg2
,
short
jarg3
);
public
final
static
native
int
hbHexStrToArrayN
(
byte
[]
jarg1
,
String
jarg2
,
int
jarg3
,
short
jarg4
);
public
final
static
native
int
hbHexStrToArrayN_allow_non_hex_str
(
byte
[]
jarg1
,
String
jarg2
,
int
jarg3
,
short
jarg4
);
}
c/swig/linux.sh
View file @
c85598d6
...
...
@@ -2,5 +2,7 @@
mkdir
-p
com/hb3344/ademco
swig
-java
-package
com.hb3344.ademco
-outdir
com/hb3344/ademco
-o
libademco_java_wrap.c libademco.swig
gcc
-fpic
-c
../ademco.c libademco_java_wrap.c
-I
"../"
-I
"%JAVA_HOME%include"
-I
"%JAVA_HOME%include/win32"
gcc
-shared
ademco.o libademco_java_wrap.o
-o
libademco.so
JAVA_INCLUDE
=
/usr/lib/jvm/java-8-openjdk-amd64/include
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.so
c/swig/win.bat
View file @
c85598d6
mkdir com\hb3344\ademco
"C:\Users\Jack\Downloads\swigwin-3.0.12\swig.exe" -java -package com.hb3344.ademco -outdir com/hb3344/ademco -o
lib
ademco_java_wrap.c libademco.swig
cl -c ../ademco.c
lib
ademco_java_wrap.c -I"../" -I"%JAVA_HOME%include" -I"%JAVA_HOME%include/win32"
cl -LD ademco.obj
libademco_java_wrap.obj -o lib
ademco.dll
"C:\Users\Jack\Downloads\swigwin-3.0.12\swig.exe" -java -package com.hb3344.ademco -outdir com/hb3344/ademco -o ademco_java_wrap.c libademco.swig
cl -c ../ademco.c ademco_java_wrap.c -I"../" -I"%JAVA_HOME%include" -I"%JAVA_HOME%include/win32"
cl -LD ademco.obj
ademco_java_wrap.obj -o
ademco.dll
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment