main
	__CC2DW
	setup
		Timer1Init
	startup
		UART2_Init
			Get_Fosc_kHz
			UART_Calc_BRG
		gsmInit
		gsm_MS_Init
		gsm_Msg_Init
		HID_Enable
			GetMaxStrignDscIndex
				GetMaxIndexInDevDsc
				GetMaxIndexInConfigDsc
			USB_Device_Init
				USB_Init_Desc
				USB_Disable_Non_Zero_Endpoints
				USB_Configure
			USB_Attach_Device
				USB_Configure
	gsmDateTimeRead
	gsmPoll
		gsmUartRxBuffClear
			gsmUartRxSync
		gsmUartTx
			UART_Tx_Idle
				I2C1_Is_Idle
				I2C1_Start
					I2C1_Wait_For_Idle
						I2C1_Is_Idle
				I2C1_Restart
					I2C1_Wait_For_Idle
				I2C2_Is_Idle
				I2C2_Start
					I2C2_Wait_For_Idle
						I2C2_Is_Idle
				I2C2_Restart
					I2C2_Wait_For_Idle
				I2C3_Is_Idle
				I2C3_Start
					I2C3_Wait_For_Idle
						I2C3_Is_Idle
				I2C3_Restart
					I2C3_Wait_For_Idle
				I2C4_Is_Idle
				I2C4_Start
					I2C4_Wait_For_Idle
						I2C4_Is_Idle
				I2C4_Restart
					I2C4_Wait_For_Idle
				I2C5_Is_Idle
				I2C5_Start
					I2C5_Wait_For_Idle
						I2C5_Is_Idle
				I2C5_Restart
					I2C5_Wait_For_Idle
				UART1_Read
				UART1_Data_Ready
				UART1_Tx_Idle
				UART2_Read
				UART2_Data_Ready
				UART2_Tx_Idle
				UART3_Read
				UART3_Data_Ready
				UART3_Tx_Idle
				UART4_Read
				UART4_Data_Ready
				UART4_Tx_Idle
				UART5_Read
				UART5_Data_Ready
				UART5_Tx_Idle
				UART6_Read
				UART6_Data_Ready
				UART6_Tx_Idle
			UART_Write
				UART1_Write
				UART2_Write
				UART3_Write
				UART4_Write
				UART5_Write
				UART6_Write
		gsmSetStateNext
			gsmCheckStateDivert
		gsmUartRxLineClear
		gsmUART_Write_Text
		gsmUART_Write
		gsmSetStateTimeout
		gsmCancelStateTimeout
		memcmp
		gsmExtractDateTime
			strchr
			StrToByte
				StrToNum
		gsmEvent
			strcpy
			HID_Write
				Gen_Write
					USB_Handle_Busy
					USB_Transfer_Packet
					USB_Polling_Proc
						USB_Device_Service
							USB_Configure
							USB_Wake_From_Suspend
								USB_CB_Handler
									USB_CB_Init_EP
										USB_Enable_Endpoint
											USB_Configure_Endpoint
										USB_Transfer_Packet
									USB_CB_Check_Other_Req
										USB_Check_HID_Request
											USB_EP0_Send_ROM
											USB_EP0_Transmit_Options
											USB_EP0_Send_RAM
							USB_Clear_Interrupt
							USB_Device_Init
							USB_Suspend
								USB_CB_Handler
							USB_CB_Handler
							USB_Stall_Handler
							USB_Ctrl_EPService
								USB_CtrlTrf_Setup_Handler
									USB_Check_Std_Request
										USB_Get_Dsc_Handler
										USB_Set_Cfg_Handler
											USB_Disable_Non_Zero_Endpoints
											USB_memset
											USB_CB_Handler
										USB_Get_Status_Handler
										USB_Std_Feature_Req_Handler
											USB_CB_Handler
										USB_CB_Handler
									USB_CB_Handler
									USB_CtrlEP_Service_Complete
										USBCtrlEPAllowDataStage
											USB_CtrlTrf_Tx_Service
										USBCtrlEPAllowStatusStage
								USB_CtrlTrf_Out_Handler
									USB_CtrlTrf_Rx_Service
										USBCtrlEPAllowStatusStage
										Ethernet_PHYInit
											Ethernet_MIIMInit
												Get_Fosc_kHz
											Ethernet_MIIMWriteReg
											Ethernet_MIIMReadReg
										I2C1_Stop
											I2C1_Wait_For_Idle
										I2C2_Stop
											I2C2_Wait_For_Idle
										I2C3_Stop
											I2C3_Wait_For_Idle
										I2C4_Stop
											I2C4_Wait_For_Idle
										I2C5_Stop
											I2C5_Wait_For_Idle
								USB_CtrlTrf_In_Handler
									USB_CtrlTrf_Tx_Service
									Ethernet_PHYInit
									I2C1_Stop
									I2C2_Stop
									I2C3_Stop
									I2C4_Stop
									I2C5_Stop
			gsmMissedCall
				strcpy
			gsmMsgRcvd
				strcpy
				gsmMsgJustArrived
				memcpy
				gsmDateTimeWrite
				lcase
				memcmp
				generateStatusReport
					strcpy
					UIntToBin
				msgSend
					strcpy
					strcat
					HID_Write
					strncpyExNewLine
					gsmMsgSendPending
					gsmMsgSendCancel
					gsmMsgSend
			RTCC_GenerateString
				RTCC_GenerateDateStringDMY
					RTCC_GenerateDigits
				RTCC_GenerateTimeString
					RTCC_GenerateDigits
			strcat
			memcpy
		gsmSetStateWaitOK
			gsmSetStateNext
			gsmSetStateTimeout
			gsmUartRxLineClear
		gsmUartRxLineProcessed
			gsmUartRxSync
		gsmRTCC_GenerateDigits
		strcpy
		gsmSetStateDelay
			gsmSetStateNext
		isnumeric
		gsmSetStateCmdOK
			gsmSetStateNext
		strcmp
		gsmMsgPending
		gsmCheckStateDivert
		gsmExtractCallerId
			strcpyTillChar
		gsm_MS_ProcessState
			gsmSetStateNext
			gsmSetStateCmdOK
	strcpy
	msgSend
USB1Interrupt
	USB_Interrupt_Proc
		USB_Device_Service
Timer1Interrupt
	gsm1msPing
		UART_Data_Ready
			I2C1_Is_Idle
			I2C1_Start
			I2C1_Restart
			I2C2_Is_Idle
			I2C2_Start
			I2C2_Restart
			I2C3_Is_Idle
			I2C3_Start
			I2C3_Restart
			I2C4_Is_Idle
			I2C4_Start
			I2C4_Restart
			I2C5_Is_Idle
			I2C5_Start
			I2C5_Restart
			UART1_Read
			UART1_Data_Ready
			UART1_Tx_Idle
			UART2_Read
			UART2_Data_Ready
			UART2_Tx_Idle
			UART3_Read
			UART3_Data_Ready
			UART3_Tx_Idle
			UART4_Read
			UART4_Data_Ready
			UART4_Tx_Idle
			UART5_Read
			UART5_Data_Ready
			UART5_Tx_Idle
			UART6_Read
			UART6_Data_Ready
			UART6_Tx_Idle
		gsmUartRx
			UART_Read
				I2C1_Is_Idle
				I2C1_Start
				I2C1_Restart
				I2C2_Is_Idle
				I2C2_Start
				I2C2_Restart
				I2C3_Is_Idle
				I2C3_Start
				I2C3_Restart
				I2C4_Is_Idle
				I2C4_Start
				I2C4_Restart
				I2C5_Is_Idle
				I2C5_Start
				I2C5_Restart
				UART1_Read
				UART1_Data_Ready
				UART1_Tx_Idle
				UART2_Read
				UART2_Data_Ready
				UART2_Tx_Idle
				UART3_Read
				UART3_Data_Ready
				UART3_Tx_Idle
				UART4_Read
				UART4_Data_Ready
				UART4_Tx_Idle
				UART5_Read
				UART5_Data_Ready
				UART5_Tx_Idle
				UART6_Read
				UART6_Data_Ready
				UART6_Tx_Idle
			gsmUartRxLineReceived
