###############################################################################
#                                                                             #
# IAR 8051 C/C++ Compiler V7.30B/W32                    21/Jun/2010  17:12:10 #
# Copyright 2004-2007 IAR Systems. All rights reserved.                       #
#                                                                             #
#    Core               =  plain                                              #
#    Code model         =  banked                                             #
#    Data model         =  large                                              #
#    Calling convention =  xdata reentrant                                    #
#    Constant location  =  data                                               #
#    Dptr setup         =  1,16                                               #
#    Source file        =  C:\Texas Instruments\ZStack-1.4.3-1.2.1\Projects\z #
#                          stack\Project\Location\Source\LocationProfile.c    #
#    Command line       =  -f "C:\Texas Instruments\ZStack-1.4.3-1.2.1\Projec #
#                          ts\zstack\Project\Location\CC2430DB\..\..\..\Tools #
#                          \CC2430DB\f8wCoord.cfg" (-DCPU32MHZ                #
#                          -DFORCE_MAC_NEAR -DROOT=__near_func                #
#                          -DMAC_CFG_APP_PENDING_QUEUE=TRUE                   #
#                          -DZDO_COORDINATOR -DRTR_NWK -DBLINK_LEDS           #
#                          "-DCONST=const __code" -DGENERIC=__generic) -f     #
#                          "C:\Texas Instruments\ZStack-1.4.3-1.2.1\Projects\ #
#                          zstack\Project\Location\CC2430DB\..\..\..\Tools\CC #
#                          2430DB\f8wConfig.cfg" (-DSECURE=1                  #
#                          -DDEFAULT_CHANLIST=0x04000000                      #
#                          -DZDAPP_CONFIG_PAN_ID=0x00FF                       #
#                          -DNWK_START_DELAY=100 -DEXTENDED_JOINING_RANDOM_MA #
#                          SK=0x007F -DBEACON_REQUEST_DELAY=100               #
#                          -DBEACON_REQ_DELAY_MASK=0x00FF                     #
#                          -DROUTE_EXPIRY_TIME=30 -DAPSC_ACK_WAIT_DURATION_PO #
#                          LLED=3000 -DNWK_INDIRECT_MSG_TIMEOUT=7             #
#                          -DMAX_RREQ_ENTRIES=10 -DAPSC_MAX_FRAME_RETRIES=3   #
#                          -DNWK_MAX_DATA_RETRIES=2                           #
#                          -DMAX_POLL_FAILURE_RETRIES=2 -DMAX_BCAST=9         #
#                          -DAPS_MAX_GROUPS=16 -DMAX_RTG_ENTRIES=20           #
#                          -DNWK_MAX_BINDING_ENTRIES=10                       #
#                          -DMAX_BINDING_CLUSTER_IDS=5 "-DDEFAULT_KEY={0x02,  #
#                          0x03, 0x05, 0x07, 0x09, 0x0B, 0x0D, 0x0F, 0x00,    #
#                          0x02, 0x04, 0x06, 0x08, 0x0A, 0x0C, 0x0D}"         #
#                          -DRFD_RCVC_ALWAYS_ON=FALSE -DPOLL_RATE=1000        #
#                          -DQUEUED_POLL_RATE=100 -DRESPONSE_POLL_RATE=100)   #
#                          -DREJOIN_POLL_RATE=440 "C:\Texas                   #
#                          Instruments\ZStack-1.4.3-1.2.1\Projects\zstack\Pro #
#                          ject\Location\Source\LocationProfile.c" -D         #
#                          CC2430EB -D ZTOOL_P1 -D LOCATION_DONGLE -D         #
#                          MT_TASK -D xNV_RESTORE -D INT_HEAP_LEN=4608 -D     #
#                          HAL_UART_BIG_TX_BUF=1 -D                           #
#                          SPI_MGR_DEFAULT_MAX_TX_BUFF=1024 -D                #
#                          SPI_MGR_DEFAULT_OVERFLOW=1 -lC "C:\Texas           #
#                          Instruments\ZStack-1.4.3-1.2.1\Projects\zstack\Pro #
#                          ject\Location\CC2430DB\LocDongle\List\" -lA        #
#                          "C:\Texas Instruments\ZStack-1.4.3-1.2.1\Projects\ #
#                          zstack\Project\Location\CC2430DB\LocDongle\List\"  #
#                          --diag_suppress Pe001,Pa010 --diag_remark pe550    #
#                          -o "C:\Texas Instruments\ZStack-1.4.3-1.2.1\Projec #
#                          ts\zstack\Project\Location\CC2430DB\LocDongle\Obj\ #
#                          " -e --require_prototypes -z9 --no_code_motion     #
#                          --debug --core=plain --dptr=16,1                   #
#                          --data_model=large --code_model=banked             #
#                          --calling_convention=xdata_reentrant               #
#                          --place_constants=data --nr_virtual_regs 8 -I      #
#                          "C:\Texas Instruments\ZStack-1.4.3-1.2.1\Projects\ #
#                          zstack\Project\Location\CC2430DB\" -I "C:\Texas    #
#                          Instruments\ZStack-1.4.3-1.2.1\Projects\zstack\Pro #
#                          ject\Location\CC2430DB\..\SOURCE\" -I "C:\Texas    #
#                          Instruments\ZStack-1.4.3-1.2.1\Projects\zstack\Pro #
#                          ject\Location\CC2430DB\..\..\..\ZMAIN\TI2430DB\"   #
#                          -I "C:\Texas Instruments\ZStack-1.4.3-1.2.1\Projec #
#                          ts\zstack\Project\Location\CC2430DB\..\..\..\..\WX #
#                          L\INCLUDE\" -I "C:\Texas                           #
#                          Instruments\ZStack-1.4.3-1.2.1\Projects\zstack\Pro #
#                          ject\Location\CC2430DB\..\..\..\..\..\COMPONENTS\M #
#                          T\" -I "C:\Texas Instruments\ZStack-1.4.3-1.2.1\Pr #
#                          ojects\zstack\Project\Location\CC2430DB\..\..\..\. #
#                          .\..\COMPONENTS\HAL\INCLUDE\" -I "C:\Texas         #
#                          Instruments\ZStack-1.4.3-1.2.1\Projects\zstack\Pro #
#                          ject\Location\CC2430DB\..\..\..\..\..\COMPONENTS\H #
#                          AL\TARGET\CC2430EB\" -I "C:\Texas                  #
#                          Instruments\ZStack-1.4.3-1.2.1\Projects\zstack\Pro #
#                          ject\Location\CC2430DB\..\..\..\..\..\COMPONENTS\O #
#                          SAL\MCU\CCSOC\" -I "C:\Texas                       #
#                          Instruments\ZStack-1.4.3-1.2.1\Projects\zstack\Pro #
#                          ject\Location\CC2430DB\..\..\..\..\..\COMPONENTS\O #
#                          SAL\INCLUDE\" -I "C:\Texas                         #
#                          Instruments\ZStack-1.4.3-1.2.1\Projects\zstack\Pro #
#                          ject\Location\CC2430DB\..\..\..\..\..\COMPONENTS\S #
#                          TACK\AF\" -I "C:\Texas Instruments\ZStack-1.4.3-1. #
#                          2.1\Projects\zstack\Project\Location\CC2430DB\..\. #
#                          .\..\..\..\COMPONENTS\STACK\NWK\" -I "C:\Texas     #
#                          Instruments\ZStack-1.4.3-1.2.1\Projects\zstack\Pro #
#                          ject\Location\CC2430DB\..\..\..\..\..\COMPONENTS\S #
#                          TACK\SEC\" -I "C:\Texas Instruments\ZStack-1.4.3-1 #
#                          .2.1\Projects\zstack\Project\Location\CC2430DB\..\ #
#                          ..\..\..\..\COMPONENTS\STACK\SYS\" -I "C:\Texas    #
#                          Instruments\ZStack-1.4.3-1.2.1\Projects\zstack\Pro #
#                          ject\Location\CC2430DB\..\..\..\..\..\COMPONENTS\S #
#                          TACK\ZDO\" -I "C:\Texas Instruments\ZStack-1.4.3-1 #
#                          .2.1\Projects\zstack\Project\Location\CC2430DB\..\ #
#                          ..\..\..\..\COMPONENTS\ZMAC\F8W\" -I "C:\Texas     #
#                          Instruments\ZStack-1.4.3-1.2.1\Projects\zstack\Pro #
#                          ject\Location\CC2430DB\..\..\..\..\..\COMPONENTS\Z #
#                          MAC\" -I "C:\Texas Instruments\ZStack-1.4.3-1.2.1\ #
#                          Projects\zstack\Project\Location\CC2430DB\..\..\.. #
#                          \..\..\COMPONENTS\SERVICES\SADDR\" -I "C:\Texas    #
#                          Instruments\ZStack-1.4.3-1.2.1\Projects\zstack\Pro #
#                          ject\Location\CC2430DB\..\..\..\..\..\COMPONENTS\S #
#                          ERVICES\SDATA\" -I "C:\Texas                       #
#                          Instruments\ZStack-1.4.3-1.2.1\Projects\zstack\Pro #
#                          ject\Location\CC2430DB\..\..\..\..\..\COMPONENTS\M #
#                          AC\INCLUDE\" -I "C:\Texas                          #
#                          Instruments\ZStack-1.4.3-1.2.1\Projects\zstack\Pro #
#                          ject\Location\CC2430DB\..\..\..\..\..\COMPONENTS\M #
#                          AC\HIGH_LEVEL\" -I "C:\Texas                       #
#                          Instruments\ZStack-1.4.3-1.2.1\Projects\zstack\Pro #
#                          ject\Location\CC2430DB\..\..\..\..\..\COMPONENTS\M #
#                          AC\LOW_LEVEL\SRF03\" -I "C:\Texas                  #
#                          Instruments\ZStack-1.4.3-1.2.1\Projects\zstack\Pro #
#                          ject\Location\CC2430DB\..\..\..\..\..\COMPONENTS\M #
#                          AC\LOW_LEVEL\SRF03\SINGLE_CHIP\" -I "C:\Program    #
#                          Files\IAR Systems\Embedded Workbench 4.0           #
#                          Evaluation version\8051\INC\" -I "C:\Program       #
#                          Files\IAR Systems\Embedded Workbench 4.0           #
#                          Evaluation version\8051\INC\CLIB\"                 #
#    List file          =  C:\Texas Instruments\ZStack-1.4.3-1.2.1\Projects\z #
#                          stack\Project\Location\CC2430DB\LocDongle\List\Loc #
#                          ationProfile.lst                                   #
#    Object file        =  C:\Texas Instruments\ZStack-1.4.3-1.2.1\Projects\z #
#                          stack\Project\Location\CC2430DB\LocDongle\Obj\Loca #
#                          tionProfile.r51                                    #
#                                                                             #
#                                                                             #
###############################################################################

C:\Texas Instruments\ZStack-1.4.3-1.2.1\Projects\zstack\Project\Location\Source\LocationProfile.c
      1          /**************************************************************************************************
      2            Filename:       LocationProfile.c
      3            Revised:        $Date: 2007-10-27 17:16:54 -0700 (Sat, 27 Oct 2007) $
      4            Revision:       $Revision: 15793 $
      5          
      6            Description:    Z-Stack Location Profile Application.
      7          
      8          
      9            Copyright 2006-2007 Texas Instruments Incorporated. All rights reserved.
     10          
     11            IMPORTANT: Your use of this Software is limited to those specific rights
     12            granted under the terms of a software license agreement between the user
     13            who downloaded the software, his/her employer (which must be your employer)
     14            and Texas Instruments Incorporated (the "License").  You may not use this
     15            Software unless you agree to abide by the terms of the License. The License
     16            limits your use, and you acknowledge, that the Software may not be modified,
     17            copied or distributed unless embedded on a Texas Instruments microcontroller
     18            or used solely and exclusively in conjunction with a Texas Instruments radio
     19            frequency transceiver, which is integrated into your product.  Other than for
     20            the foregoing purpose, you may not use, reproduce, copy, prepare derivative
     21            works of, modify, distribute, perform, display or sell this Software and/or
     22            its documentation for any purpose.
     23          
     24            YOU FURTHER ACKNOWLEDGE AND AGREE THAT THE SOFTWARE AND DOCUMENTATION ARE
     25            PROVIDED “AS IS?WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED,
     26            INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY, TITLE,
     27            NON-INFRINGEMENT AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL
     28            TEXAS INSTRUMENTS OR ITS LICENSORS BE LIABLE OR OBLIGATED UNDER CONTRACT,
     29            NEGLIGENCE, STRICT LIABILITY, CONTRIBUTION, BREACH OF WARRANTY, OR OTHER
     30            LEGAL EQUITABLE THEORY ANY DIRECT OR INDIRECT DAMAGES OR EXPENSES
     31            INCLUDING BUT NOT LIMITED TO ANY INCIDENTAL, SPECIAL, INDIRECT, PUNITIVE
     32            OR CONSEQUENTIAL DAMAGES, LOST PROFITS OR LOST DATA, COST OF PROCUREMENT
     33            OF SUBSTITUTE GOODS, TECHNOLOGY, SERVICES, OR ANY CLAIMS BY THIRD PARTIES
     34            (INCLUDING BUT NOT LIMITED TO ANY DEFENSE THEREOF), OR OTHER SIMILAR COSTS.
     35          
     36            Should you have any questions regarding your right to use this Software,
     37            contact Texas Instruments Incorporated at www.TI.com.
     38          **************************************************************************************************/
     39          
     40          /*********************************************************************
     41           * INCLUDES
     42           */
     43          
     44          #include "LocationProfile.h"
     45          
     46          /*********************************************************************
     47           * CONSTANTS
     48           */
     49          
     50          /*********************************************************************
     51           * TYPEDEFS
     52           */
     53          
     54          /*********************************************************************
     55           * GLOBAL VARIABLES
     56           */
     57          
     58          /*********************************************************************
     59           * LOCAL VARIABLES
     60           */
     61          
     62          /*********************************************************************
     63           * LOCAL FUNCTIONS
     64           */
     65          #if defined ( LCD_SUPPORTED )
     66            #include "lcd128_64.h"
     67          #endif
     68          #if defined ( LOCATION_REFNODE )
     69            #include "RefNode.c"
     70          #endif
     71          
     72          #if defined ( LOCATION_BLINDNODE )
     73            #include "BlindNode.c"
     74            #include "LocationEngine.c"
     75          #endif
     76          
     77          #if defined ( LOCATION_DONGLE )
     78            #include "LocDongle.c"

   \                                 In  segment XDATA_Z, align 1, keep-with-next
   \   uint8 __xdata UART_state
   \                     UART_state:
   \   000000                DS 1
   \   000001                REQUIRE __INIT_XDATA_Z

   \                                 In  segment XDATA_Z, align 1, keep-with-next
   \   uint8 __xdata UART_Revcnt
   \                     UART_Revcnt:
   \   000000                DS 1
   \   000001                REQUIRE __INIT_XDATA_Z

   \                                 In  segment XDATA_Z, align 1, keep-with-next
   \   uint8 __xdata Check_Token
   \                     Check_Token:
   \   000000                DS 1
   \   000001                REQUIRE __INIT_XDATA_Z

   \                                 In  segment XDATA_Z, align 1, keep-with-next
   \   uint8 __xdata UART_DataLen
   \                     UART_DataLen:
   \   000000                DS 1
   \   000001                REQUIRE __INIT_XDATA_Z

   \                                 In  segment XDATA_Z, align 1, keep-with-next
   \   UARTBuffer_t *__xdata UART_Msg
   \                     UART_Msg:
   \   000000                DS 2
   \   000002                REQUIRE __INIT_XDATA_Z

   \                                 In  segment XDATA_Z, align 1, keep-with-next
   \   UARTSendBuffer_t __xdata UART_SendMsg
   \                     UART_SendMsg:
   \   000000                DS 13
   \   00000D                REQUIRE __INIT_XDATA_Z

   \                                 In  segment XDATA_Z, align 1, keep-with-next
   \   struct <unnamed> __xdata Addr_LookupTable[20]
   \                     Addr_LookupTable:
   \   000000                DS 200
   \   0000C8                REQUIRE __INIT_XDATA_Z

   \                                 In  segment XDATA_I, align 1, keep-with-next
   \   static unsigned short const __xdata LocDongle_InputClusterList[10]
   \                     LocDongle_InputClusterList:
   \   000000                DS 20
   \   000014                REQUIRE `?<Initializer for LocDongle_InputClusterList>`
   \   000014                REQUIRE __INIT_XDATA_I

   \                                 In  segment XDATA_I, align 1, keep-with-next
   \   static unsigned short const __xdata LocDongle_OutputClusterList[10]
   \                     LocDongle_OutputClusterList:
   \   000000                DS 20
   \   000014                REQUIRE `?<Initializer for LocDongle_OutputClusterList>`
   \   000014                REQUIRE __INIT_XDATA_I

   \                                 In  segment XDATA_I, align 1, keep-with-next
   \   static struct <unnamed> const __xdata LocDongle_SimpleDesc
   \                     LocDongle_SimpleDesc:
   \   000000                DS 12
   \   00000C                REQUIRE `?<Initializer for LocDongle_SimpleDesc>`
   \   00000C                REQUIRE __INIT_XDATA_I

   \                                 In  segment XDATA_I, align 1, keep-with-next
   \   static endPointDesc_t const __xdata epDesc
   \                     epDesc:
   \   000000                DS 6
   \   000006                REQUIRE `?<Initializer for epDesc>`
   \   000006                REQUIRE __INIT_XDATA_I

   \                                 In  segment XDATA_Z, align 1, keep-with-next
   \   uint8 __xdata LocDongle_TaskID
   \                     LocDongle_TaskID:
   \   000000                DS 1
   \   000001                REQUIRE __INIT_XDATA_Z

   \                                 In  segment XDATA_Z, align 1, keep-with-next
   \   uint8 __xdata LocDongle_TransID
   \                     LocDongle_TransID:
   \   000000                DS 1
   \   000001                REQUIRE __INIT_XDATA_Z

   \                                 In  segment BANKED_CODE, align 1, keep-with-next
   \   __banked_func __xdata_reentrant void LocDongle_Init(uint8)
   \                     LocDongle_Init:
   \   000000   C082         PUSH    DPL
   \   000002   C083         PUSH    DPH
   \   000004                ; Saved register size: 2
   \   000004                ; Auto size: 0
   \   000004   E9           MOV     A,R1
   \   000005   90....       MOV     DPTR,#LocDongle_TaskID
   \   000008   F0           MOVX    @DPTR,A
   \   000009   E4           CLR     A
   \   00000A   90....       MOV     DPTR,#LocDongle_TransID
   \   00000D   F0           MOVX    @DPTR,A
   \   00000E                ; Setup parameters for call to function afRegister
   \   00000E   7A..         MOV     R2,#(epDesc & 0xff)
   \   000010   7B..         MOV     R3,#((epDesc >> 8) & 0xff)
   \   000012   12....       LCALL   ??afRegister?relay
   \   000015   D083         POP     DPH
   \   000017   D082         POP     DPL
   \   000019   02....       LJMP    ?BRET

   \                                 In  segment BANKED_CODE, align 1, keep-with-next
   \   __banked_func __xdata_reentrant UINT16 LocDongle_ProcessEvent(uint8, UINT16)
   \                     LocDongle_ProcessEvent:
   \   000000   74F2         MOV     A,#-0xe
   \   000002   12....       LCALL   ?BANKED_ENTER_XDATA
   \   000005                ; Saved register size: 14
   \   000005                ; Auto size: 8
   \   000005   74F8         MOV     A,#-0x8
   \   000007   12....       LCALL   ?ALLOC_XSTACK8
   \   00000A   8A..         MOV     ?V0 + 4,R2
   \   00000C   8B..         MOV     ?V0 + 5,R3
   \   00000E   7480         MOV     A,#-0x80
   \   000010   55..         ANL     A,?V0 + 5
   \   000012   F9           MOV     R1,A
   \   000013   E4           CLR     A
   \   000014   7001         JNZ     ??LocDongle_ProcessEvent_0
   \   000016   E9           MOV     A,R1
   \                     ??LocDongle_ProcessEvent_0:
   \   000017   7003         JNZ     $+5
   \   000019   02....       LJMP    ??LocDongle_ProcessEvent_1 & 0xFFFF
   \   00001C                ; Setup parameters for call to function osal_msg_receive
   \   00001C   806B         SJMP    ??LocDongle_ProcessEvent_2
   \                     ??LocDongle_ProcessEvent_3:
   \   00001E   74FF         MOV     A,#-0x1
   \   000020   90....       MOV     DPTR,#UART_SendMsg
   \   000023   F0           MOVX    @DPTR,A
   \   000024   8E82         MOV     DPL,R6
   \   000026   8F83         MOV     DPH,R7
   \   000028   A3           INC     DPTR
   \   000029   A3           INC     DPTR
   \   00002A   A3           INC     DPTR
   \   00002B   A3           INC     DPTR
   \   00002C   E0           MOVX    A,@DPTR
   \   00002D   90....       MOV     DPTR,#(UART_SendMsg + 1)
   \   000030   F0           MOVX    @DPTR,A
   \   000031                ; Setup parameters for call to function osal_memcpy
   \   000031   EE           MOV     A,R6
   \   000032   2415         ADD     A,#0x15
   \   000034   F582         MOV     DPL,A
   \   000036   EF           MOV     A,R7
   \   000037   3400         ADDC    A,#0x0
   \   000039   F583         MOV     DPH,A
   \   00003B   E0           MOVX    A,@DPTR
   \   00003C   F5..         MOV     ?V0 + 0,A
   \   00003E   A3           INC     DPTR
   \   00003F   E0           MOVX    A,@DPTR
   \   000040   F5..         MOV     ?V0 + 1,A
   \   000042   75..00       MOV     ?V0 + 2,#0x0
   \   000045   78..         MOV     R0,#?V0 + 0
   \   000047   12....       LCALL   ?PUSH_XSTACK_I_THREE
   \   00004A   7C0A         MOV     R4,#0xa
   \   00004C   7D00         MOV     R5,#0x0
   \   00004E   7A..         MOV     R2,#((UART_SendMsg + 2) & 0xff)
   \   000050   7B..         MOV     R3,#(((UART_SendMsg + 2) >> 8) & 0xff)
   \   000052   12....       LCALL   ??osal_memcpy?relay
   \   000055   7403         MOV     A,#0x3
   \   000057   12....       LCALL   ?DEALLOC_XSTACK8
   \   00005A                ; Setup parameters for call to function SPIMgr_CalcFCS
   \   00005A   790B         MOV     R1,#0xb
   \   00005C   7A..         MOV     R2,#((UART_SendMsg + 1) & 0xff)
   \   00005E   7B..         MOV     R3,#(((UART_SendMsg + 1) >> 8) & 0xff)
   \   000060   12....       LCALL   ??SPIMgr_CalcFCS?relay
   \   000063   E9           MOV     A,R1
   \   000064   90....       MOV     DPTR,#(UART_SendMsg + 12)
   \   000067   F0           MOVX    @DPTR,A
   \   000068                ; Setup parameters for call to function HalUARTWrite
   \   000068   7C0D         MOV     R4,#0xd
   \   00006A   7D00         MOV     R5,#0x0
   \   00006C   7A..         MOV     R2,#(UART_SendMsg & 0xff)
   \   00006E   7B..         MOV     R3,#((UART_SendMsg >> 8) & 0xff)
   \   000070   7900         MOV     R1,#0x0
   \   000072   12....       LCALL   ??HalUARTWrite?relay
   \   000075                ; Setup parameters for call to function Debug_HalUARTWrite
   \   000075   7C16         MOV     R4,#0x16
   \   000077   7D00         MOV     R5,#0x0
   \   000079   7A..         MOV     R2,#(`?<Constant "node message received!">` & 0xff)
   \   00007B   7B..         MOV     R3,#((`?<Constant "node message received!">` >> 8) & 0xff)
   \                     ??LocDongle_ProcessEvent_4:
   \   00007D   7900         MOV     R1,#0x0
   \   00007F   12....       LCALL   ??Debug_HalUARTWrite?relay
   \                     ??LocDongle_ProcessEvent_5:
   \   000082                ; Setup parameters for call to function osal_msg_deallocate
   \   000082   EE           MOV     A,R6
   \   000083   FA           MOV     R2,A
   \   000084   EF           MOV     A,R7
   \   000085   FB           MOV     R3,A
   \   000086   12....       LCALL   ??osal_msg_deallocate?relay
   \   000089                ; Setup parameters for call to function osal_msg_receive
   \                     ??LocDongle_ProcessEvent_2:
   \   000089   90....       MOV     DPTR,#LocDongle_TaskID
   \   00008C   E0           MOVX    A,@DPTR
   \   00008D   F9           MOV     R1,A
   \   00008E   12....       LCALL   ??osal_msg_receive?relay
   \   000091   8A..         MOV     ?V0 + 0,R2
   \   000093   8B..         MOV     ?V0 + 1,R3
   \   000095   AE..         MOV     R6,?V0 + 0
   \   000097   AF..         MOV     R7,?V0 + 1
   \   000099   EE           MOV     A,R6
   \   00009A   7001         JNZ     ??LocDongle_ProcessEvent_6
   \   00009C   EF           MOV     A,R7
   \                     ??LocDongle_ProcessEvent_6:
   \   00009D   7003         JNZ     $+5
   \   00009F   02....       LJMP    ??LocDongle_ProcessEvent_7 & 0xFFFF
   \   0000A2   8E82         MOV     DPL,R6
   \   0000A4   8F83         MOV     DPH,R7
   \   0000A6   E0           MOVX    A,@DPTR
   \   0000A7   12....       LCALL   ?UC_SWITCH_SPARSE
   \                     `?<Jumptable for LocDongle_ProcessEvent>_0`:
   \   0000AA   00           DB        0
   \   0000AB   02           DB        2
   \   0000AC   1A           DB        26
   \   0000AD   ....         DW        ??LocDongle_ProcessEvent_3
   \   0000AF   E3           DB        227
   \   0000B0   ....         DW        ??LocDongle_ProcessEvent_8
   \   0000B2   ....         DW        ??LocDongle_ProcessEvent_5
   \                     ??LocDongle_ProcessEvent_8:
   \   0000B4   7402         MOV     A,#0x2
   \   0000B6   12....       LCALL   ?XSTACK_DISP0_8
   \   0000B9   E4           CLR     A
   \   0000BA   F0           MOVX    @DPTR,A
   \   0000BB   A3           INC     DPTR
   \   0000BC   F0           MOVX    @DPTR,A
   \   0000BD                ; Setup parameters for call to function APSME_LookupNwkAddr
   \   0000BD   7402         MOV     A,#0x2
   \   0000BF   12....       LCALL   ?XSTACK_DISP0_8
   \   0000C2   AC82         MOV     R4,DPL
   \   0000C4   AD83         MOV     R5,DPH
   \   0000C6   90....       MOV     DPTR,#UART_Msg
   \   0000C9   E0           MOVX    A,@DPTR
   \   0000CA   2405         ADD     A,#0x5
   \   0000CC   FA           MOV     R2,A
   \   0000CD   A3           INC     DPTR
   \   0000CE   E0           MOVX    A,@DPTR
   \   0000CF   3400         ADDC    A,#0x0
   \   0000D1   FB           MOV     R3,A
   \   0000D2   12....       LCALL   ??APSME_LookupNwkAddr?relay
   \   0000D5   7402         MOV     A,#0x2
   \   0000D7   12....       LCALL   ?XSTACK_DISP0_8
   \   0000DA   E0           MOVX    A,@DPTR
   \   0000DB   7002         JNZ     ??LocDongle_ProcessEvent_9
   \   0000DD   A3           INC     DPTR
   \   0000DE   E0           MOVX    A,@DPTR
   \                     ??LocDongle_ProcessEvent_9:
   \   0000DF   700D         JNZ     ??LocDongle_ProcessEvent_10
   \   0000E1                ; Setup parameters for call to function Debug_HalUARTWrite
   \   0000E1   7C0D         MOV     R4,#0xd
   \   0000E3   7D00         MOV     R5,#0x0
   \   0000E5   7A..         MOV     R2,#(`?<Constant "ID not found!">` & 0xff)
   \   0000E7   7B..         MOV     R3,#((`?<Constant "ID not found!">` >> 8) & 0xff)
   \   0000E9   7900         MOV     R1,#0x0
   \   0000EB   12....       LCALL   ??Debug_HalUARTWrite?relay
   \                     ??LocDongle_ProcessEvent_10:
   \   0000EE   7406         MOV     A,#0x6
   \   0000F0   12....       LCALL   ?XSTACK_DISP0_8
   \   0000F3   7402         MOV     A,#0x2
   \   0000F5   F0           MOVX    @DPTR,A
   \   0000F6   12....       LCALL   ?XSTACK_DISP0_8
   \   0000F9   E0           MOVX    A,@DPTR
   \   0000FA   F8           MOV     R0,A
   \   0000FB   A3           INC     DPTR
   \   0000FC   E0           MOVX    A,@DPTR
   \   0000FD   F9           MOV     R1,A
   \   0000FE   7404         MOV     A,#0x4
   \   000100   12....       LCALL   ?XSTACK_DISP0_8
   \   000103   E8           MOV     A,R0
   \   000104   F0           MOVX    @DPTR,A
   \   000105   A3           INC     DPTR
   \   000106   E9           MOV     A,R1
   \   000107   F0           MOVX    @DPTR,A
   \   000108   7407         MOV     A,#0x7
   \   00010A   12....       LCALL   ?XSTACK_DISP0_8
   \   00010D   74D2         MOV     A,#-0x2e
   \   00010F   12....       LCALL   ?Subroutine1 & 0xFFFF
   \                     ??CrossCallReturnLabel_2:
   \   000112   E0           MOVX    A,@DPTR
   \   000113   F5..         MOV     ?V0 + 2,A
   \   000115   75..00       MOV     ?V0 + 3,#0x0
   \   000118   90....       MOV     DPTR,#(UART_Msg + 1)
   \   00011B   E0           MOVX    A,@DPTR
   \   00011C   F583         MOV     DPH,A
   \   00011E   8882         MOV     DPL,R0
   \   000120   A3           INC     DPTR
   \   000121   A3           INC     DPTR
   \   000122   A3           INC     DPTR
   \   000123   E0           MOVX    A,@DPTR
   \   000124   85..82       MOV     DPL,?XSP + 0
   \   000127   85..83       MOV     DPH,?XSP + 1
   \   00012A   12....       LCALL   ?Subroutine1 & 0xFFFF
   \                     ??CrossCallReturnLabel_3:
   \   00012D   A3           INC     DPTR
   \   00012E   A3           INC     DPTR
   \   00012F   E0           MOVX    A,@DPTR
   \   000130   C0E0         PUSH    A
   \   000132   7401         MOV     A,#0x1
   \   000134   12....       LCALL   ?XSTACK_DISP0_8
   \   000137   D0E0         POP     A
   \   000139   F0           MOVX    @DPTR,A
   \   00013A                ; Setup parameters for call to function AF_DataRequest
   \   00013A   75..0A       MOV     ?V0 + 0,#0xa
   \   00013D   78..         MOV     R0,#?V0 + 0
   \   00013F   12....       LCALL   ?PUSH_XSTACK_I_ONE
   \   000142   75....       MOV     ?V0 + 0,#(LocDongle_TransID & 0xff)
   \   000145   75....       MOV     ?V0 + 1,#((LocDongle_TransID >> 8) & 0xff)
   \   000148   78..         MOV     R0,#?V0 + 0
   \   00014A   12....       LCALL   ?PUSH_XSTACK_I_TWO
   \   00014D   7403         MOV     A,#0x3
   \   00014F   12....       LCALL   ?XSTACK_DISP0_8
   \   000152   8582..       MOV     ?V0 + 0,DPL
   \   000155   8583..       MOV     ?V0 + 1,DPH
   \   000158   78..         MOV     R0,#?V0 + 0
   \   00015A   12....       LCALL   ?PUSH_XSTACK_I_TWO
   \   00015D   75..02       MOV     ?V0 + 0,#0x2
   \   000160   75..00       MOV     ?V0 + 1,#0x0
   \   000163   78..         MOV     R0,#?V0 + 0
   \   000165   12....       LCALL   ?PUSH_XSTACK_I_TWO
   \   000168   78..         MOV     R0,#?V0 + 2
   \   00016A   12....       LCALL   ?PUSH_XSTACK_I_TWO
   \   00016D   7900         MOV     R1,#0x0
   \   00016F   7C..         MOV     R4,#(epDesc & 0xff)
   \   000171   7D..         MOV     R5,#((epDesc >> 8) & 0xff)
   \   000173   740D         MOV     A,#0xd
   \   000175   12....       LCALL   ?XSTACK_DISP0_8
   \   000178   AA82         MOV     R2,DPL
   \   00017A   AB83         MOV     R3,DPH
   \   00017C   12....       LCALL   ??AF_DataRequest?relay
   \   00017F   7409         MOV     A,#0x9
   \   000181   12....       LCALL   ?DEALLOC_XSTACK8
   \   000184                ; Setup parameters for call to function Debug_HalUARTWrite
   \   000184   7C08         MOV     R4,#0x8
   \   000186   7D00         MOV     R5,#0x0
   \   000188   7A..         MOV     R2,#(`?<Constant "uart ok!">` & 0xff)
   \   00018A   7B..         MOV     R3,#((`?<Constant "uart ok!">` >> 8) & 0xff)
   \   00018C   02....       LJMP    ??LocDongle_ProcessEvent_4 & 0xFFFF
   \                     ??LocDongle_ProcessEvent_7:
   \   00018F   AA..         MOV     R2,?V0 + 4
   \   000191   7480         MOV     A,#-0x80
   \   000193   65..         XRL     A,?V0 + 5
   \   000195   FB           MOV     R3,A
   \   000196   8004         SJMP    ??LocDongle_ProcessEvent_11
   \                     ??LocDongle_ProcessEvent_1:
   \   000198   7A00         MOV     R2,#0x0
   \   00019A   7B00         MOV     R3,#0x0
   \                     ??LocDongle_ProcessEvent_11:
   \   00019C   7408         MOV     A,#0x8
   \   00019E   12....       LCALL   ?DEALLOC_XSTACK8
   \   0001A1   7F06         MOV     R7,#0x6
   \   0001A3   02....       LJMP    ?BANKED_LEAVE_XDATA

   \                                 In  segment BANKED_CODE, align 1, keep-with-next
   \                     ?Subroutine1:
   \   000000   F0           MOVX    @DPTR,A
   \                     ??Subroutine1_0:
   \   000001   12....       LCALL   ?Subroutine2 & 0xFFFF
   \                     ??CrossCallReturnLabel_6:
   \   000004   A3           INC     DPTR
   \   000005   A3           INC     DPTR
   \   000006   22           RET

   \                                 In  segment BANKED_CODE, align 1, keep-with-next
   \   __banked_func __xdata_reentrant void UART_MsgRevCB(uint8, uint8)
   \                     UART_MsgRevCB:
   \   000000   74F6         MOV     A,#-0xa
   \   000002   12....       LCALL   ?BANKED_ENTER_XDATA
   \   000005                ; Saved register size: 10
   \   000005                ; Auto size: 1
   \   000005   74FF         MOV     A,#-0x1
   \   000007   12....       LCALL   ?ALLOC_XSTACK8
   \   00000A   7408         MOV     A,#0x8
   \   00000C   6A           XRL     A,R2
   \   00000D   6005         JZ      ??UART_MsgRevCB_0
   \   00000F   7407         MOV     A,#0x7
   \   000011   5A           ANL     A,R2
   \   000012   701B         JNZ     ??UART_MsgRevCB_1
   \                     ??UART_MsgRevCB_0:
   \   000014   7401         MOV     A,#0x1
   \   000016   12....       LCALL   ?DEALLOC_XSTACK8
   \   000019   7F02         MOV     R7,#0x2
   \   00001B   02....       LJMP    ?BANKED_LEAVE_XDATA
   \                     ??UART_MsgRevCB_2:
   \   00001E   85..82       MOV     DPL,?XSP + 0
   \   000021   85..83       MOV     DPH,?XSP + 1
   \   000024   E0           MOVX    A,@DPTR
   \   000025   64FF         XRL     A,#0xff
   \   000027   7006         JNZ     ??UART_MsgRevCB_1
   \   000029   7401         MOV     A,#0x1
   \                     ??UART_MsgRevCB_3:
   \   00002B   90....       MOV     DPTR,#UART_state
   \                     ??UART_MsgRevCB_4:
   \   00002E   F0           MOVX    @DPTR,A
   \                     ??UART_MsgRevCB_1:
   \   00002F                ; Setup parameters for call to function Hal_UART_RxBufLen
   \   00002F   7900         MOV     R1,#0x0
   \   000031   12....       LCALL   ??Hal_UART_RxBufLen?relay
   \   000034   EA           MOV     A,R2
   \   000035   7001         JNZ     ??UART_MsgRevCB_5
   \   000037   EB           MOV     A,R3
   \                     ??UART_MsgRevCB_5:
   \   000038   60DA         JZ      ??UART_MsgRevCB_0
   \   00003A                ; Setup parameters for call to function HalUARTRead
   \   00003A   7C01         MOV     R4,#0x1
   \   00003C   7D00         MOV     R5,#0x0
   \   00003E   85..82       MOV     DPL,?XSP + 0
   \   000041   85..83       MOV     DPH,?XSP + 1
   \   000044   AA82         MOV     R2,DPL
   \   000046   AB83         MOV     R3,DPH
   \   000048   7900         MOV     R1,#0x0
   \   00004A   12....       LCALL   ??HalUARTRead?relay
   \   00004D   90....       MOV     DPTR,#UART_state
   \   000050   E0           MOVX    A,@DPTR
   \   000051   12....       LCALL   ?UC_SWITCH_DENSE
   \                     `?<Jumptable for UART_MsgRevCB>_0`:
   \   000054   00           DB        0
   \   000055   04           DB        4
   \   000056   ....         DW        ??UART_MsgRevCB_1
   \   000058   ....         DW        ??UART_MsgRevCB_2
   \   00005A   ....         DW        ??UART_MsgRevCB_6
   \   00005C   ....         DW        ??UART_MsgRevCB_7
   \   00005E   ....         DW        ??UART_MsgRevCB_8
   \   000060   ....         DW        ??UART_MsgRevCB_9
   \                     ??UART_MsgRevCB_6:
   \   000062                ; Setup parameters for call to function osal_msg_allocate
   \   000062   7A0D         MOV     R2,#0xd
   \   000064   7B00         MOV     R3,#0x0
   \   000066   12....       LCALL   ??osal_msg_allocate?relay
   \   000069   90....       MOV     DPTR,#UART_Msg
   \   00006C   EA           MOV     A,R2
   \   00006D   F0           MOVX    @DPTR,A
   \   00006E   A3           INC     DPTR
   \   00006F   EB           MOV     A,R3
   \   000070   F0           MOVX    @DPTR,A
   \   000071   90....       MOV     DPTR,#UART_Msg
   \   000074   E0           MOVX    A,@DPTR
   \   000075   7002         JNZ     ??UART_MsgRevCB_10
   \   000077   A3           INC     DPTR
   \   000078   E0           MOVX    A,@DPTR
   \                     ??UART_MsgRevCB_10:
   \   000079   607C         JZ      ??UART_MsgRevCB_11
   \   00007B   12....       LCALL   ?Subroutine2 & 0xFFFF
   \                     ??CrossCallReturnLabel_5:
   \   00007E   74E3         MOV     A,#-0x1d
   \   000080   F0           MOVX    @DPTR,A
   \   000081   85..82       MOV     DPL,?XSP + 0
   \   000084   85..83       MOV     DPH,?XSP + 1
   \   000087   E0           MOVX    A,@DPTR
   \   000088   C0E0         PUSH    A
   \   00008A   12....       LCALL   ??Subroutine1_0 & 0xFFFF
   \                     ??CrossCallReturnLabel_4:
   \   00008D   D0E0         POP     A
   \   00008F   F0           MOVX    @DPTR,A
   \   000090   7402         MOV     A,#0x2
   \   000092   8097         SJMP    ??UART_MsgRevCB_3
   \                     ??UART_MsgRevCB_7:
   \   000094   85..82       MOV     DPL,?XSP + 0
   \   000097   85..83       MOV     DPH,?XSP + 1
   \   00009A   E0           MOVX    A,@DPTR
   \   00009B   C0E0         PUSH    A
   \   00009D   12....       LCALL   ?Subroutine0 & 0xFFFF
   \                     ??CrossCallReturnLabel_0:
   \   0000A0   D0E0         POP     A
   \   0000A2   F0           MOVX    @DPTR,A
   \   0000A3   90....       MOV     DPTR,#UART_Revcnt
   \   0000A6   E0           MOVX    A,@DPTR
   \   0000A7   04           INC     A
   \   0000A8   F0           MOVX    @DPTR,A
   \   0000A9   6402         XRL     A,#0x2
   \   0000AB   7082         JNZ     ??UART_MsgRevCB_1
   \   0000AD   7403         MOV     A,#0x3
   \                     ??UART_MsgRevCB_12:
   \   0000AF   90....       MOV     DPTR,#UART_state
   \   0000B2   F0           MOVX    @DPTR,A
   \   0000B3   E4           CLR     A
   \   0000B4   90....       MOV     DPTR,#UART_Revcnt
   \   0000B7   02....       LJMP    ??UART_MsgRevCB_4 & 0xFFFF
   \                     ??UART_MsgRevCB_8:
   \   0000BA   85..82       MOV     DPL,?XSP + 0
   \   0000BD   85..83       MOV     DPH,?XSP + 1
   \   0000C0   E0           MOVX    A,@DPTR
   \   0000C1   C0E0         PUSH    A
   \   0000C3   12....       LCALL   ?Subroutine0 & 0xFFFF
   \                     ??CrossCallReturnLabel_1:
   \   0000C6   A3           INC     DPTR
   \   0000C7   A3           INC     DPTR
   \   0000C8   D0E0         POP     A
   \   0000CA   F0           MOVX    @DPTR,A
   \   0000CB   90....       MOV     DPTR,#UART_Revcnt
   \   0000CE   E0           MOVX    A,@DPTR
   \   0000CF   04           INC     A
   \   0000D0   F0           MOVX    @DPTR,A
   \   0000D1   6408         XRL     A,#0x8
   \   0000D3   6003         JZ      $+5
   \   0000D5   02....       LJMP    ??UART_MsgRevCB_1 & 0xFFFF
   \   0000D8   7404         MOV     A,#0x4
   \   0000DA   80D3         SJMP    ??UART_MsgRevCB_12
   \                     ??UART_MsgRevCB_9:
   \   0000DC   85..82       MOV     DPL,?XSP + 0
   \   0000DF   85..83       MOV     DPH,?XSP + 1
   \   0000E2   E0           MOVX    A,@DPTR
   \   0000E3   90....       MOV     DPTR,#Check_Token
   \   0000E6   F0           MOVX    @DPTR,A
   \   0000E7                ; Setup parameters for call to function osal_msg_send
   \   0000E7   90....       MOV     DPTR,#UART_Msg
   \   0000EA   E0           MOVX    A,@DPTR
   \   0000EB   FA           MOV     R2,A
   \   0000EC   A3           INC     DPTR
   \   0000ED   E0           MOVX    A,@DPTR
   \   0000EE   FB           MOV     R3,A
   \   0000EF   90....       MOV     DPTR,#LocDongle_TaskID
   \   0000F2   E0           MOVX    A,@DPTR
   \   0000F3   F9           MOV     R1,A
   \   0000F4   12....       LCALL   ??osal_msg_send?relay
   \                     ??UART_MsgRevCB_11:
   \   0000F7   E4           CLR     A
   \   0000F8   02....       LJMP    ??UART_MsgRevCB_3 & 0xFFFF

   \                                 In  segment BANKED_CODE, align 1, keep-with-next
   \                     ?Subroutine2:
   \   000000   90....       MOV     DPTR,#UART_Msg
   \   000003   E0           MOVX    A,@DPTR
   \   000004   F8           MOV     R0,A
   \   000005   A3           INC     DPTR
   \   000006   E0           MOVX    A,@DPTR
   \   000007   F583         MOV     DPH,A
   \   000009   8882         MOV     DPL,R0
   \   00000B   22           RET

   \                                 In  segment BANKED_CODE, align 1, keep-with-next
   \                     ?Subroutine0:
   \   000000   90....       MOV     DPTR,#UART_Revcnt
   \   000003   E0           MOVX    A,@DPTR
   \   000004   F8           MOV     R0,A
   \   000005   90....       MOV     DPTR,#UART_Msg
   \   000008   E0           MOVX    A,@DPTR
   \   000009   28           ADD     A,R0
   \   00000A   FA           MOV     R2,A
   \   00000B   A3           INC     DPTR
   \   00000C   E0           MOVX    A,@DPTR
   \   00000D   3400         ADDC    A,#0x0
   \   00000F   8A82         MOV     DPL,R2
   \   000011   F583         MOV     DPH,A
   \   000013   A3           INC     DPTR
   \   000014   A3           INC     DPTR
   \   000015   A3           INC     DPTR
   \   000016   22           RET

   \                                 In  segment XDATA_ID, align 1, keep-with-next
   \                     `?<Initializer for <Constant "uart ok!">>`:
   \   000000   75617274     DB "uart ok!"
   \            206F6B21
   \            00      

   \                                 In  segment XDATA_ID, align 1, keep-with-next
   \                     `?<Initializer for <Constant "node message rece`:
   \   000000   6E6F6465     DB "node message received!"
   \            206D6573
   \            73616765
   \            20726563
   \            65697665
   \            642100  

   \                                 In  segment XDATA_ID, align 1, keep-with-next
   \                     `?<Initializer for <Constant "ID not found!">>`:
   \   000000   4944206E     DB "ID not found!"
   \            6F742066
   \            6F756E64
   \            2100    

   \                                 In  segment XDATA_ID, align 1, keep-with-next
   \                     `?<Initializer for LocDongle_InputClusterList>`:
   \   000000   20001000     DW 32, 16, 17, 128, 129, 130, 131, 132, 133, 134
   \            11008000
   \            81008200
   \            83008400
   \            85008600

   \                                 In  segment XDATA_ID, align 1, keep-with-next
   \                     `?<Initializer for LocDongle_OutputClusterList>`:
   \   000000   20001000     DW 32, 16, 17, 128, 129, 130, 131, 132, 133, 134
   \            11008000
   \            81008200
   \            83008400
   \            85008600

   \                                 In  segment XDATA_ID, align 1, keep-with-next
   \                     `?<Initializer for LocDongle_SimpleDesc>`:
   \   000000   CB           DB 203
   \   000001   03C01200     DW 49155, 18
   \   000005   0014         DB 0, 20
   \   000007   ....         DW LocDongle_InputClusterList
   \   000009   14           DB 20
   \   00000A   ....         DW LocDongle_OutputClusterList

   \                                 In  segment XDATA_ID, align 1, keep-with-next
   \                     `?<Initializer for epDesc>`:
   \   000000   CB           DB 203
   \   000001   ........     DW LocDongle_TaskID, LocDongle_SimpleDesc
   \   000005   00           DB 0

   \                                 In  segment BANK_RELAYS, align 1
   \                     ??LocDongle_Init?relay:
   \   000000   12....       LCALL   ?BDISPATCH
   \   000003   ......       DC24    LocDongle_Init

   \                                 In  segment BANK_RELAYS, align 1
   \                     ??LocDongle_ProcessEvent?relay:
   \   000000   12....       LCALL   ?BDISPATCH
   \   000003   ......       DC24    LocDongle_ProcessEvent

   \                                 In  segment BANK_RELAYS, align 1
   \                     ??UART_MsgRevCB?relay:
   \   000000   12....       LCALL   ?BDISPATCH
   \   000003   ......       DC24    UART_MsgRevCB

   \                                 In  segment XDATA_I, align 1, keep-with-next
   \                     `?<Constant "uart ok!">`:
   \   000000                DS 9
   \   000009                REQUIRE `?<Initializer for <Constant "uart ok!">>`
   \   000009                REQUIRE __INIT_XDATA_I

   \                                 In  segment XDATA_I, align 1, keep-with-next
   \                     `?<Constant "node message received!">`:
   \   000000                DS 23
   \   000017                REQUIRE `?<Initializer for <Constant "node message rece`
   \   000017                REQUIRE __INIT_XDATA_I

   \                                 In  segment XDATA_I, align 1, keep-with-next
   \                     `?<Constant "ID not found!">`:
   \   000000                DS 14
   \   00000E                REQUIRE `?<Initializer for <Constant "ID not found!">>`
   \   00000E                REQUIRE __INIT_XDATA_I
     79          #endif
     80          
     81          /*********************************************************************
     82          *********************************************************************/

   Maximum stack usage in bytes:

     Function                 ISTACK PSTACK XSTACK
     --------                 ------ ------ ------
     LocDongle_Init               2      0      0
       -> afRegister              4      0      0
     LocDongle_ProcessEvent       1      0     31
       -> osal_msg_receive        0      0     44
       -> osal_memcpy             0      0     50
       -> SPIMgr_CalcFCS          0      0     44
       -> HalUARTWrite            0      0     44
       -> Debug_HalUARTWrite      0      0     44
       -> osal_msg_deallocate     0      0     44
       -> osal_msg_receive        0      0     44
       -> APSME_LookupNwkAddr     0      0     44
       -> Debug_HalUARTWrite      0      0     44
       -> AF_DataRequest          0      0     62
       -> Debug_HalUARTWrite      0      0     44
     UART_MsgRevCB                1      0     11
       -> Hal_UART_RxBufLen       0      0     22
       -> HalUARTRead             0      0     22
       -> osal_msg_allocate       0      0     22
       -> osal_msg_send           0      0     22


   Segment part sizes:

     Function/Label                 Bytes
     --------------                 -----
     UART_state                        1
     UART_Revcnt                       1
     Check_Token                       1
     UART_DataLen                      1
     UART_Msg                          2
     UART_SendMsg                     13
     Addr_LookupTable                200
     LocDongle_InputClusterList       20
     LocDongle_OutputClusterList      20
     LocDongle_SimpleDesc             12
     epDesc                            6
     LocDongle_TaskID                  1
     LocDongle_TransID                 1
     LocDongle_Init                   28
     LocDongle_ProcessEvent          422
     ?Subroutine1                      7
     UART_MsgRevCB                   251
     ?Subroutine2                     12
     ?Subroutine0                     23
     ?<Initializer for <Constant "uart ok!">>
                                       9
     ?<Initializer for <Constant "node message rece
                                      23
     ?<Initializer for <Constant "ID not found!">>
                                      14
     ?<Initializer for LocDongle_InputClusterList>
                                      20
     ?<Initializer for LocDongle_OutputClusterList>
                                      20
     ?<Initializer for LocDongle_SimpleDesc>
                                      12
     ?<Initializer for epDesc>         6
     ??LocDongle_Init?relay            6
     ??LocDongle_ProcessEvent?relay    6
     ??UART_MsgRevCB?relay             6
     ?<Constant "uart ok!">            9
     ?<Constant "node message received!">
                                      23
     ?<Constant "ID not found!">      14

 
 743 bytes in segment BANKED_CODE
  18 bytes in segment BANK_RELAYS
 104 bytes in segment XDATA_I
 104 bytes in segment XDATA_ID
 221 bytes in segment XDATA_Z
 
 865 bytes of CODE  memory
 325 bytes of XDATA memory

Errors: none
Warnings: none
