TWD/Ctrl/CmdBldItr.c
changeset 0 10c42ec6c05f
equal deleted inserted replaced
-1:000000000000 0:10c42ec6c05f
       
     1 /*
       
     2  * CmdBldItr.c
       
     3  *
       
     4  * Copyright(c) 1998 - 2010 Texas Instruments. All rights reserved.      
       
     5  * All rights reserved.      
       
     6  * 
       
     7  * This program and the accompanying materials are made available under the 
       
     8  * terms of the Eclipse Public License v1.0 or BSD License which accompanies
       
     9  * this distribution. The Eclipse Public License is available at
       
    10  * http://www.eclipse.org/legal/epl-v10.html and the BSD License is as below.                                   
       
    11  *                                                                       
       
    12  * Redistribution and use in source and binary forms, with or without    
       
    13  * modification, are permitted provided that the following conditions    
       
    14  * are met:                                                              
       
    15  *                                                                       
       
    16  *  * Redistributions of source code must retain the above copyright     
       
    17  *    notice, this list of conditions and the following disclaimer.      
       
    18  *  * Redistributions in binary form must reproduce the above copyright  
       
    19  *    notice, this list of conditions and the following disclaimer in    
       
    20  *    the documentation and/or other materials provided with the         
       
    21  *    distribution.                                                      
       
    22  *  * Neither the name Texas Instruments nor the names of its            
       
    23  *    contributors may be used to endorse or promote products derived    
       
    24  *    from this software without specific prior written permission.      
       
    25  *                                                                       
       
    26  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS   
       
    27  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT     
       
    28  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 
       
    29  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT  
       
    30  * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 
       
    31  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT      
       
    32  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
       
    33  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 
       
    34  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT   
       
    35  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 
       
    36  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
       
    37  */
       
    38 
       
    39 
       
    40 /** \file  CmdBldItr.c 
       
    41  *  \brief Command builder. Interrogate commands
       
    42  *
       
    43  *  \see   CmdBld.h 
       
    44  */
       
    45 
       
    46 #define __FILE_ID__  FILE_ID_95
       
    47 #include "tidef.h"
       
    48 #include "CmdBld.h"
       
    49 #include "CmdBldItrIE.h"
       
    50 
       
    51 
       
    52 TI_STATUS cmdBld_ItrMemoryMap (TI_HANDLE hCmdBld, MemoryMap_t *apMap, void *fCb, TI_HANDLE hCb)
       
    53 {
       
    54     return cmdBld_ItrIeMemoryMap (hCmdBld, apMap, fCb, hCb);
       
    55 }
       
    56 
       
    57 
       
    58 TI_STATUS cmdBld_ItrRoamimgStatisitics (TI_HANDLE hCmdBld, void *fCb, TI_HANDLE hCb, void *pCb)
       
    59 {
       
    60     return cmdBld_ItrIeRoamimgStatisitics (hCmdBld, fCb, hCb, pCb);
       
    61 }
       
    62 
       
    63 
       
    64 TI_STATUS cmdBld_ItrErrorCnt (TI_HANDLE hCmdBld, void * fCb, TI_HANDLE hCb, void * pCb)
       
    65 {
       
    66     return cmdBld_ItrIeErrorCnt (hCmdBld, fCb, hCb, pCb);
       
    67 }
       
    68 
       
    69 
       
    70 /*
       
    71  * ----------------------------------------------------------------------------
       
    72  * Function : TWD_GetAverageRSSI
       
    73  *
       
    74  * Input    :   averageRSSI - pointer for return verage RSSI result
       
    75  *
       
    76  * Output   :   averageRSSI
       
    77  * Process  :
       
    78  * -----------------------------------------------------------------------------
       
    79  */
       
    80 TI_STATUS cmdBld_ItrRSSI (TI_HANDLE hCmdBld, void *fCb, TI_HANDLE hCb, void *pCb)
       
    81 {
       
    82     return cmdBld_ItrIeRSSI (hCmdBld, fCb, hCb, pCb);
       
    83 }
       
    84 
       
    85 
       
    86 /****************************************************************************
       
    87  *                      cmdBld_GetSoftGeminiParams()
       
    88  ****************************************************************************
       
    89  * DESCRIPTION: Get Soft Gemini config parameter
       
    90  *
       
    91  * INPUTS:
       
    92  *
       
    93  * OUTPUT:
       
    94  *
       
    95  * RETURNS: TI_OK or TI_NOK
       
    96  ****************************************************************************/
       
    97 TI_STATUS cmdBld_ItrSg (TI_HANDLE hCmdBld, void *fCb, TI_HANDLE hCb, void* pCb)
       
    98 {                  
       
    99     return cmdBld_ItrIeSg (hCmdBld, fCb, hCb, pCb);
       
   100 }
       
   101 
       
   102 TI_STATUS cmdBld_ItrRateParams(TI_HANDLE hCmdBld, void *fCb, TI_HANDLE hCb, void* pCb)
       
   103 {
       
   104     TTwd *pTWD = (TTwd *)hCmdBld;
       
   105 
       
   106     return cmdBld_ItrIeRateParams (pTWD->hCmdBld, fCb, hCb, pCb);
       
   107 
       
   108 }
       
   109 
       
   110 
       
   111 TI_STATUS cmdBld_ItrStatistics (TI_HANDLE hCmdBld, void *fCb, TI_HANDLE hCb, void *pCb)
       
   112 {
       
   113     return cmdBld_ItrIeStatistics (hCmdBld, fCb, hCb, pCb);
       
   114 }
       
   115 
       
   116 /****************************************************************************
       
   117  *                      cmdBld_ItrDataFilterStatistics()
       
   118  ****************************************************************************
       
   119  * DESCRIPTION: Get the ACX GWSI counters 
       
   120  *
       
   121  * INPUTS:
       
   122  *
       
   123  * OUTPUT:  None
       
   124  *
       
   125  * RETURNS: TI_OK or TI_NOK
       
   126  ****************************************************************************/
       
   127 TI_STATUS cmdBld_ItrDataFilterStatistics (TI_HANDLE hCmdBld, void *fCb, TI_HANDLE hCb, void *pCb)
       
   128 {
       
   129     return cmdBld_ItrIeDataFilterStatistics (hCmdBld, fCb, hCb, pCb);
       
   130 }
       
   131