#include "../stdafx.h" #include "phidget_jni.h" #include "com_phidgets_AdvancedServoPhidget.h" #include "../cphidgetadvancedservo.h" EVENT_VARS(servoPositionChange, ServoPositionChange) EVENT_VARS(servoVelocityChange, ServoVelocityChange) EVENT_VARS(currentChange, CurrentChange) JNI_LOAD(advservo, AdvancedServo) EVENT_VAR_SETUP(advservo, servoPositionChange, ServoPositionChange, ID, V) EVENT_VAR_SETUP(advservo, servoVelocityChange, ServoVelocityChange, ID, V) EVENT_VAR_SETUP(advservo, currentChange, CurrentChange, ID, V) } EVENT_HANDLER_INDEXED(AdvancedServo, servoPositionChange, ServoPositionChange, CPhidgetAdvancedServo_set_OnPositionChange_Handler, double) EVENT_HANDLER_INDEXED(AdvancedServo, servoVelocityChange, ServoVelocityChange, CPhidgetAdvancedServo_set_OnVelocityChange_Handler, double) EVENT_HANDLER_INDEXED(AdvancedServo, currentChange, CurrentChange, CPhidgetAdvancedServo_set_OnCurrentChange_Handler, double) JNI_CREATE(AdvancedServo) JNI_INDEXED_GETFUNC(AdvancedServo, Acceleration, Acceleration, jdouble) JNI_INDEXED_SETFUNC(AdvancedServo, Acceleration, Acceleration, jdouble) JNI_INDEXED_GETFUNC(AdvancedServo, AccelerationMin, AccelerationMin, jdouble) JNI_INDEXED_GETFUNC(AdvancedServo, AccelerationMax, AccelerationMax, jdouble) JNI_INDEXED_GETFUNC(AdvancedServo, VelocityLimit, VelocityLimit, jdouble) JNI_INDEXED_SETFUNC(AdvancedServo, VelocityLimit, VelocityLimit, jdouble) JNI_INDEXED_GETFUNC(AdvancedServo, Velocity, Velocity, jdouble) JNI_INDEXED_GETFUNC(AdvancedServo, VelocityMin, VelocityMin, jdouble) JNI_INDEXED_GETFUNC(AdvancedServo, VelocityMax, VelocityMax, jdouble) JNI_INDEXED_GETFUNC(AdvancedServo, Position, Position, jdouble) JNI_INDEXED_SETFUNC(AdvancedServo, Position, Position, jdouble) JNI_INDEXED_GETFUNC(AdvancedServo, PositionMin, PositionMin, jdouble) JNI_INDEXED_GETFUNC(AdvancedServo, PositionMax, PositionMax, jdouble) JNI_INDEXED_SETFUNC(AdvancedServo, PositionMin, PositionMin, jdouble) JNI_INDEXED_SETFUNC(AdvancedServo, PositionMax, PositionMax, jdouble) JNI_INDEXED_GETFUNCBOOL(AdvancedServo, Engaged, Engaged) JNI_INDEXED_SETFUNC(AdvancedServo, Engaged, Engaged, jboolean) JNI_INDEXED_GETFUNCBOOL(AdvancedServo, Stopped, Stopped) JNI_INDEXED_GETFUNCBOOL(AdvancedServo, SpeedRampingOn, SpeedRampingOn) JNI_INDEXED_SETFUNC(AdvancedServo, SpeedRampingOn, SpeedRampingOn, jboolean) JNI_INDEXED_GETFUNC(AdvancedServo, Current, Current, jdouble) JNIEXPORT jint JNICALL Java_com_phidgets_AdvancedServoPhidget_getServoType(JNIEnv *env, jobject obj, jint index) { CPhidgetAdvancedServoHandle h = (CPhidgetAdvancedServoHandle)(uintptr_t) (*env)->GetLongField(env, obj, handle_fid); int error; CPhidget_ServoType v; if ((error = CPhidgetAdvancedServo_getServoType(h, index, &v))) PH_THROW(error); return (jint)v; } JNI_INDEXED_SETFUNC(AdvancedServo, ServoType, ServoType, jint) JNIEXPORT void JNICALL Java_com_phidgets_AdvancedServoPhidget_setServoParameters(JNIEnv *env, jobject obj, jint index, jdouble minUs, jdouble maxUs, jdouble degrees, jdouble velocityMax) { CPhidgetAdvancedServoHandle h = (CPhidgetAdvancedServoHandle)(uintptr_t) (*env)->GetLongField(env, obj, handle_fid); int error; if ((error = CPhidgetAdvancedServo_setServoParameters(h, index, minUs, maxUs, degrees, velocityMax))) PH_THROW(error); } JNI_GETFUNC(AdvancedServo, MotorCount, MotorCount, jint) dtv-scan-tables.git/plain/isdb-t/br-sp-Itarare?h=debian/0%2bgit20170425.fb5fe05-1&id=e2c0d31c1a3ba08a43c5787b78e29e50e3903160'>plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
# Channel table for Itararé - SP - Brazil
# Source: http://www.portalbsd.com.br/terrestres_channels.php?channels=460

# Physical channel 20
[Rede Vida]
	DELIVERY_SYSTEM = ISDBT
	BANDWIDTH_HZ = 6000000
	FREQUENCY = 509142857
	INVERSION = AUTO
	GUARD_INTERVAL = AUTO
	TRANSMISSION_MODE = AUTO
	INVERSION = AUTO
	GUARD_INTERVAL = AUTO
	TRANSMISSION_MODE = AUTO
	ISDBT_LAYER_ENABLED = 7
	ISDBT_SOUND_BROADCASTING = 0
	ISDBT_SB_SUBCHANNEL_ID = 0
	ISDBT_SB_SEGMENT_IDX = 0
	ISDBT_SB_SEGMENT_COUNT = 0
	ISDBT_LAYERA_FEC = AUTO
	ISDBT_LAYERA_MODULATION = QAM/AUTO
	ISDBT_LAYERA_SEGMENT_COUNT = 0
	ISDBT_LAYERA_TIME_INTERLEAVING = 0
	ISDBT_LAYERB_FEC = AUTO
	ISDBT_LAYERB_MODULATION = QAM/AUTO
	ISDBT_LAYERB_SEGMENT_COUNT = 0
	ISDBT_LAYERB_TIME_INTERLEAVING = 0
	ISDBT_LAYERC_FEC = AUTO
	ISDBT_LAYERC_MODULATION = QAM/AUTO
	ISDBT_LAYERC_SEGMENT_COUNT = 0
	ISDBT_LAYERC_TIME_INTERLEAVING = 0

# Physical channel 24
[SBT Vale]
	DELIVERY_SYSTEM = ISDBT
	BANDWIDTH_HZ = 6000000
	FREQUENCY = 533142857
	INVERSION = AUTO
	GUARD_INTERVAL = AUTO
	TRANSMISSION_MODE = AUTO
	INVERSION = AUTO
	GUARD_INTERVAL = AUTO
	TRANSMISSION_MODE = AUTO
	ISDBT_LAYER_ENABLED = 7
	ISDBT_SOUND_BROADCASTING = 0
	ISDBT_SB_SUBCHANNEL_ID = 0
	ISDBT_SB_SEGMENT_IDX = 0
	ISDBT_SB_SEGMENT_COUNT = 0
	ISDBT_LAYERA_FEC = AUTO
	ISDBT_LAYERA_MODULATION = QAM/AUTO
	ISDBT_LAYERA_SEGMENT_COUNT = 0
	ISDBT_LAYERA_TIME_INTERLEAVING = 0
	ISDBT_LAYERB_FEC = AUTO
	ISDBT_LAYERB_MODULATION = QAM/AUTO
	ISDBT_LAYERB_SEGMENT_COUNT = 0
	ISDBT_LAYERB_TIME_INTERLEAVING = 0
	ISDBT_LAYERC_FEC = AUTO
	ISDBT_LAYERC_MODULATION = QAM/AUTO
	ISDBT_LAYERC_SEGMENT_COUNT = 0
	ISDBT_LAYERC_TIME_INTERLEAVING = 0

# Physical channel 26
[TV Tem Itapetininga]
	DELIVERY_SYSTEM = ISDBT
	BANDWIDTH_HZ = 6000000
	FREQUENCY = 545142857
	INVERSION = AUTO
	GUARD_INTERVAL = AUTO
	TRANSMISSION_MODE = AUTO
	INVERSION = AUTO
	GUARD_INTERVAL = AUTO
	TRANSMISSION_MODE = AUTO
	ISDBT_LAYER_ENABLED = 7
	ISDBT_SOUND_BROADCASTING = 0
	ISDBT_SB_SUBCHANNEL_ID = 0
	ISDBT_SB_SEGMENT_IDX = 0
	ISDBT_SB_SEGMENT_COUNT = 0
	ISDBT_LAYERA_FEC = AUTO
	ISDBT_LAYERA_MODULATION = QAM/AUTO
	ISDBT_LAYERA_SEGMENT_COUNT = 0
	ISDBT_LAYERA_TIME_INTERLEAVING = 0
	ISDBT_LAYERB_FEC = AUTO
	ISDBT_LAYERB_MODULATION = QAM/AUTO
	ISDBT_LAYERB_SEGMENT_COUNT = 0
	ISDBT_LAYERB_TIME_INTERLEAVING = 0
	ISDBT_LAYERC_FEC = AUTO
	ISDBT_LAYERC_MODULATION = QAM/AUTO
	ISDBT_LAYERC_SEGMENT_COUNT = 0
	ISDBT_LAYERC_TIME_INTERLEAVING = 0

# Physical channel 28
[Record Paulista]
	DELIVERY_SYSTEM = ISDBT
	BANDWIDTH_HZ = 6000000
	FREQUENCY = 557142857
	INVERSION = AUTO
	GUARD_INTERVAL = AUTO
	TRANSMISSION_MODE = AUTO
	INVERSION = AUTO
	GUARD_INTERVAL = AUTO
	TRANSMISSION_MODE = AUTO
	ISDBT_LAYER_ENABLED = 7
	ISDBT_SOUND_BROADCASTING = 0
	ISDBT_SB_SUBCHANNEL_ID = 0
	ISDBT_SB_SEGMENT_IDX = 0
	ISDBT_SB_SEGMENT_COUNT = 0
	ISDBT_LAYERA_FEC = AUTO
	ISDBT_LAYERA_MODULATION = QAM/AUTO
	ISDBT_LAYERA_SEGMENT_COUNT = 0
	ISDBT_LAYERA_TIME_INTERLEAVING = 0
	ISDBT_LAYERB_FEC = AUTO
	ISDBT_LAYERB_MODULATION = QAM/AUTO
	ISDBT_LAYERB_SEGMENT_COUNT = 0
	ISDBT_LAYERB_TIME_INTERLEAVING = 0
	ISDBT_LAYERC_FEC = AUTO
	ISDBT_LAYERC_MODULATION = QAM/AUTO
	ISDBT_LAYERC_SEGMENT_COUNT = 0
	ISDBT_LAYERC_TIME_INTERLEAVING = 0