summaryrefslogtreecommitdiff
path: root/software/octdeviceapi/oct6100api/oct6100_api/oct6100_tone_detection.c
diff options
context:
space:
mode:
Diffstat (limited to 'software/octdeviceapi/oct6100api/oct6100_api/oct6100_tone_detection.c')
-rw-r--r--software/octdeviceapi/oct6100api/oct6100_api/oct6100_tone_detection.c26
1 files changed, 26 insertions, 0 deletions
diff --git a/software/octdeviceapi/oct6100api/oct6100_api/oct6100_tone_detection.c b/software/octdeviceapi/oct6100api/oct6100_api/oct6100_tone_detection.c
index 266061a..e19152e 100644
--- a/software/octdeviceapi/oct6100api/oct6100_api/oct6100_tone_detection.c
+++ b/software/octdeviceapi/oct6100api/oct6100_api/oct6100_tone_detection.c
@@ -83,6 +83,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep the
f_pToneDetectEnable Pointer to tone detection enable structure.
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
+#if !SKIP_Oct6100ToneDetectionEnableDef
UINT32 Oct6100ToneDetectionEnableDef(
tPOCT6100_TONE_DETECTION_ENABLE f_pToneDetectEnable )
{
@@ -91,7 +92,9 @@ UINT32 Oct6100ToneDetectionEnableDef(
return cOCT6100_ERR_OK;
}
+#endif
+#if !SKIP_Oct6100ToneDetectionEnable
UINT32 Oct6100ToneDetectionEnable(
tPOCT6100_INSTANCE_API f_pApiInstance,
tPOCT6100_TONE_DETECTION_ENABLE f_pToneDetectEnable )
@@ -131,6 +134,7 @@ UINT32 Oct6100ToneDetectionEnable(
return cOCT6100_ERR_OK;
}
+#endif
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
@@ -149,6 +153,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep the
f_pToneDetectDisable Pointer to tone detection disable structure.
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
+#if !SKIP_Oct6100ToneDetectionDisableDef
UINT32 Oct6100ToneDetectionDisableDef(
tPOCT6100_TONE_DETECTION_DISABLE f_pToneDetectDisable )
{
@@ -158,8 +163,10 @@ UINT32 Oct6100ToneDetectionDisableDef(
return cOCT6100_ERR_OK;
}
+#endif
+#if !SKIP_Oct6100ToneDetectionDisable
UINT32 Oct6100ToneDetectionDisable(
tPOCT6100_INSTANCE_API f_pApiInstance,
tPOCT6100_TONE_DETECTION_DISABLE f_pToneDetectDisable )
@@ -199,6 +206,7 @@ UINT32 Oct6100ToneDetectionDisable(
return cOCT6100_ERR_OK;
}
+#endif
/**************************** PRIVATE FUNCTIONS ****************************/
@@ -221,6 +229,7 @@ f_pToneDetectEnable Pointer to tone detect enable structure. This structure
enabled.
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
+#if !SKIP_Oct6100ToneDetectionEnableSer
UINT32 Oct6100ToneDetectionEnableSer(
IN OUT tPOCT6100_INSTANCE_API f_pApiInstance,
IN tPOCT6100_TONE_DETECTION_ENABLE f_pToneDetectEnable )
@@ -263,6 +272,7 @@ UINT32 Oct6100ToneDetectionEnableSer(
return cOCT6100_ERR_OK;
}
+#endif
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
@@ -283,6 +293,7 @@ f_pulToneEventNumber Pointer to the Index of the tone associated to the requeste
f_pulExtToneChanIndex Pointer to the index of the extended channel index.
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
+#if !SKIP_Oct6100ApiCheckToneEnableParams
UINT32 Oct6100ApiCheckToneEnableParams(
IN OUT tPOCT6100_INSTANCE_API f_pApiInstance,
IN tPOCT6100_TONE_DETECTION_ENABLE f_pToneDetectEnable,
@@ -346,6 +357,7 @@ UINT32 Oct6100ApiCheckToneEnableParams(
return cOCT6100_ERR_OK;
}
+#endif
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
@@ -365,6 +377,7 @@ f_ulToneEventNumber Event number of the tone to be activated.
f_ulExtToneChanIndex Index of the extended tone detection channel.
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
+#if !SKIP_Oct6100ApiWriteToneDetectEvent
UINT32 Oct6100ApiWriteToneDetectEvent(
IN OUT tPOCT6100_INSTANCE_API f_pApiInstance,
IN UINT32 f_ulChannelIndex,
@@ -442,6 +455,7 @@ UINT32 Oct6100ApiWriteToneDetectEvent(
return cOCT6100_ERR_OK;
}
+#endif
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
@@ -462,6 +476,7 @@ f_ulToneEventNumber Enabled tone event number.
f_ulExtToneChanIndex Index of the extended tone detection channel.
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
+#if !SKIP_Oct6100ApiUpdateChanToneDetectEntry
UINT32 Oct6100ApiUpdateChanToneDetectEntry (
IN OUT tPOCT6100_INSTANCE_API f_pApiInstance,
IN UINT32 f_ulChannelIndex,
@@ -558,6 +573,7 @@ UINT32 Oct6100ApiUpdateChanToneDetectEntry (
return cOCT6100_ERR_OK;
}
+#endif
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
@@ -576,6 +592,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep the
f_pToneDetectDisable Pointer to tOCT6100_TONE_DETECTION_DISABLE structure.
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
+#if !SKIP_Oct6100ToneDetectionDisableSer
UINT32 Oct6100ToneDetectionDisableSer(
IN OUT tPOCT6100_INSTANCE_API f_pApiInstance,
IN tPOCT6100_TONE_DETECTION_DISABLE f_pToneDetectDisable )
@@ -622,6 +639,7 @@ UINT32 Oct6100ToneDetectionDisableSer(
return cOCT6100_ERR_OK;
}
+#endif
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
@@ -644,6 +662,7 @@ f_pfDisableAll Pointer to the flag specifying whether all tones
should be disabled.
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
+#if !SKIP_Oct6100ApiAssertToneDetectionParams
UINT32 Oct6100ApiAssertToneDetectionParams(
IN OUT tPOCT6100_INSTANCE_API f_pApiInstance,
IN tPOCT6100_TONE_DETECTION_DISABLE f_pToneDetectDisable,
@@ -719,6 +738,7 @@ UINT32 Oct6100ApiAssertToneDetectionParams(
return cOCT6100_ERR_OK;
}
+#endif
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
@@ -739,6 +759,7 @@ f_ulExtToneChanIndex Index of the extended tone detection channel.
f_fDisableAll Clear all activated tones.
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
+#if !SKIP_Oct6100ApiClearToneDetectionEvent
UINT32 Oct6100ApiClearToneDetectionEvent(
IN OUT tPOCT6100_INSTANCE_API f_pApiInstance,
IN UINT32 f_ulChannelIndex,
@@ -851,6 +872,7 @@ UINT32 Oct6100ApiClearToneDetectionEvent(
return cOCT6100_ERR_OK;
}
+#endif
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
@@ -872,6 +894,7 @@ f_ulExtToneChanIndex Index of the extended tone detection channel.
f_fDisableAll Release all activated tones.
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
+#if !SKIP_Oct6100ApiReleaseToneDetectionEvent
UINT32 Oct6100ApiReleaseToneDetectionEvent (
IN OUT tPOCT6100_INSTANCE_API f_pApiInstance,
IN UINT32 f_ulChannelIndex,
@@ -962,6 +985,7 @@ UINT32 Oct6100ApiReleaseToneDetectionEvent (
return cOCT6100_ERR_OK;
}
+#endif
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
@@ -980,6 +1004,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep the
f_ulToneEventNumber Tone event number to be checked against.
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
+#if !SKIP_Oct6100ApiIsSSTone
UINT32 Oct6100ApiIsSSTone(
IN OUT tPOCT6100_INSTANCE_API f_pApiInstance,
IN UINT32 f_ulToneEventNumber,
@@ -999,4 +1024,5 @@ UINT32 Oct6100ApiIsSSTone(
return cOCT6100_ERR_OK;
}
+#endif