view src/g23m-gsm/alr2/alr_test/alr_test.dsp @ 303:f76436d19a7a default tip

!GPRS config: fix long-standing AT+COPS chance hanging bug There has been a long-standing bug in FreeCalypso going back years: sometimes in the AT command bring-up sequence of an ACI-only MS, the AT+COPS command would produce only a power scan followed by cessation of protocol stack activity (only L1 ADC traces), instead of the expected network search sequence. This behaviour was seen in different FC firmware versions going back to Citrine, and seemed to follow some law of chance, not reliably repeatable. This bug has been tracked down and found to be specific to !GPRS configuration, stemming from our TCS2/TCS3 hybrid and reconstruction of !GPRS support that was bitrotten in TCS3.2/LoCosto version. ACI module psa_mms.c, needed only for !GPRS, was missing in the TCS3 version and had to be pulled from TCS2 - but as it turns out, there is a new field in the MMR_REG_REQ primitive that needs to be set correctly, and that psa_mms.c module is the place where this initialization needed to be added.
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 08 Jun 2023 08:23:37 +0000
parents 3a14ee9a9843
children
line wrap: on
line source

# Microsoft Developer Studio Project File - Name="alr_test" - Package Owner=<4>
# Microsoft Developer Studio Generated Build File, Format Version 6.00
# ** DO NOT EDIT **

# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102

CFG=alr_test - Win32 Debug GSM
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
!MESSAGE use the Export Makefile command and run
!MESSAGE 
!MESSAGE NMAKE /f "alr_test.mak".
!MESSAGE 
!MESSAGE You can specify a configuration when running NMAKE
!MESSAGE by defining the macro CFG on the command line. For example:
!MESSAGE 
!MESSAGE NMAKE /f "alr_test.mak" CFG="alr_test - Win32 Debug GSM"
!MESSAGE 
!MESSAGE Possible choices for configuration are:
!MESSAGE 
!MESSAGE "alr_test - Win32 Debug GPRS" (based on "Win32 (x86) Dynamic-Link Library")
!MESSAGE "alr_test - Win32 Debug GSM" (based on "Win32 (x86) Dynamic-Link Library")
!MESSAGE 

# Begin Project
# PROP AllowPerConfigDependencies 1
# PROP Scc_ProjName "alr_test"
# PROP Scc_LocalPath "."
CPP=cl.exe
MTL=midl.exe
RSC=rc.exe

!IF  "$(CFG)" == "alr_test - Win32 Debug GPRS"

# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "GPRS"
# PROP BASE Intermediate_Dir "GPRS"
# PROP BASE Ignore_Export_Lib 0
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "GPRS"
# PROP Intermediate_Dir "GPRS"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /Zp1 /MDd /W3 /Zi /Od /I "\gpf\inc" /I "\gpf\tap" /I "\g23m\condat\ms\tdcinc" /D "USE_DLL" /D "_WINDOWS" /D "WIN32" /D "USE_TCD_STUB" /D "GPRS" /Fr /FD /GZ /GZ /Zm1000 /c
# SUBTRACT BASE CPP /YX
# ADD CPP /nologo /Zp1 /MDd /W3 /Zi /Od /I "\gpf\inc" /I "\gpf\tap" /I "\g23m\condat\ms\tdcinc" /D "USE_DLL" /D "_WINDOWS" /D "WIN32" /D "USE_TCD_STUB" /D "GPRS" /Fr /FD /GZ /GZ /Zm1000 /c
# SUBTRACT CPP /YX
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32
# ADD BASE RSC /l 0x409 /d "_DEBUG"
# ADD RSC /l 0x409 /d "_DEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib shell32.lib wsock32.lib /nologo /subsystem:windows /dll /pdb:none /map /debug /machine:IX86 /nodefaultlib:"LIBCD" /nodefaultlib:"LIBC" /out:"\g23m\condat\ms\test\alr_gprs_test\alr_gprs.dll" /FORCE:MULTIPLE
# ADD LINK32 kernel32.lib user32.lib gdi32.lib shell32.lib wsock32.lib /nologo /subsystem:windows /dll /pdb:none /map /debug /machine:IX86 /nodefaultlib:"LIBCD" /nodefaultlib:"LIBC" /out:"\g23m\condat\ms\test\alr_gprs_test\alr_gprs.dll" /FORCE:MULTIPLE

!ELSEIF  "$(CFG)" == "alr_test - Win32 Debug GSM"

# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "GSM"
# PROP BASE Intermediate_Dir "GSM"
# PROP BASE Ignore_Export_Lib 0
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "GSM"
# PROP Intermediate_Dir "GSM"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /Zp1 /MDd /W3 /Zi /Od /I "\gpf\inc" /I "\gpf\tap" /I "\g23m\condat\ms\tdcinc" /D "USE_DLL" /D "_WINDOWS" /D "WIN32" /D "USE_TCD_STUB" /Fr /FD /GZ /GZ /Zm1000 /c
# SUBTRACT BASE CPP /YX
# ADD CPP /nologo /Zp1 /MDd /W3 /Zi /Od /I "\gpf\inc" /I "\gpf\tap" /I "\g23m\condat\ms\tdcinc" /D "USE_DLL" /D "_WINDOWS" /D "WIN32" /D "USE_TCD_STUB" /Fr /FD /GZ /GZ /Zm1000 /c
# SUBTRACT CPP /YX
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32
# ADD BASE RSC /l 0x409 /d "_DEBUG"
# ADD RSC /l 0x409 /d "_DEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib shell32.lib wsock32.lib /nologo /subsystem:windows /dll /pdb:none /map /debug /machine:IX86 /nodefaultlib:"LIBCD" /nodefaultlib:"LIBC" /out:"\g23m\condat\ms\test\alr_gsm_test\alr_gsm.dll" /FORCE:MULTIPLE
# ADD LINK32 kernel32.lib user32.lib gdi32.lib shell32.lib wsock32.lib /nologo /subsystem:windows /dll /pdb:none /map /debug /machine:IX86 /nodefaultlib:"LIBCD" /nodefaultlib:"LIBC" /out:"\g23m\condat\ms\test\alr_gsm_test\alr_gsm.dll" /FORCE:MULTIPLE

!ENDIF 

# Begin Target

# Name "alr_test - Win32 Debug GPRS"
# Name "alr_test - Win32 Debug GSM"
# Begin Group "main src"

# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
# Begin Source File

SOURCE=.\alr_cases.cpp
# End Source File
# Begin Source File

SOURCE=.\alr_constraints.cpp
# End Source File
# Begin Source File

SOURCE=.\alr_steps.cpp
# End Source File
# End Group
# Begin Group "main h"

# PROP Default_Filter "h;hpp;hxx;hm;inl"
# Begin Source File

SOURCE=.\alr_constraints.h
# End Source File
# Begin Source File

SOURCE=.\alr_steps.h
# End Source File
# End Group
# Begin Group "dedicated"

# PROP Default_Filter ""
# Begin Source File

SOURCE=.\alr_dedicated_constraints.cpp
# End Source File
# Begin Source File

SOURCE=.\alr_dedicated_constraints.h
# End Source File
# Begin Source File

SOURCE=.\alr_dedicated_steps.cpp
# End Source File
# Begin Source File

SOURCE=.\alr_dedicated_steps.h
# End Source File
# End Group
# Begin Group "ncell"

# PROP Default_Filter ""
# Begin Source File

SOURCE=.\alr_ncell_constraints.cpp
# End Source File
# Begin Source File

SOURCE=.\alr_ncell_constraints.h
# End Source File
# Begin Source File

SOURCE=.\alr_ncell_steps.cpp
# End Source File
# Begin Source File

SOURCE=.\alr_ncell_steps.h
# End Source File
# End Group
# Begin Group "cbch"

# PROP Default_Filter ""
# Begin Source File

SOURCE=.\alr_cbch_constraints.cpp
# End Source File
# Begin Source File

SOURCE=.\alr_cbch_constraints.h
# End Source File
# Begin Source File

SOURCE=.\alr_cbch_steps.cpp
# End Source File
# Begin Source File

SOURCE=.\alr_cbch_steps.h
# End Source File
# End Group
# Begin Group "idle"

# PROP Default_Filter ""
# Begin Source File

SOURCE=.\alr_idle_constraints.cpp
# End Source File
# Begin Source File

SOURCE=.\alr_idle_constraints.h
# End Source File
# Begin Source File

SOURCE=.\alr_idle_steps.cpp
# End Source File
# Begin Source File

SOURCE=.\alr_idle_steps.h
# End Source File
# End Group
# Begin Source File

SOURCE=\g23m\condat\ms\tdclib\tdcinc.lib
# End Source File
# Begin Source File

SOURCE=\GPF\LIB\win32\tdc.lib
# End Source File
# End Target
# End Project