FreeCalypso > hg > freecalypso-sw
comparison gsm-fw/g23m-aci/aci/ati_sat.c @ 787:0b85dd2dec6a
aci: ati_sat.c and ati_sim.c done
author | Space Falcon <falcon@ivan.Harhan.ORG> |
---|---|
date | Thu, 12 Mar 2015 07:40:46 +0000 |
parents | eedbf248bac0 |
children |
comparison
equal
deleted
inserted
replaced
786:e7250023ca12 | 787:0b85dd2dec6a |
---|---|
16 +----------------------------------------------------------------------------- | 16 +----------------------------------------------------------------------------- |
17 | Purpose : AT Command Interpreter for SAT related commands | 17 | Purpose : AT Command Interpreter for SAT related commands |
18 +----------------------------------------------------------------------------- | 18 +----------------------------------------------------------------------------- |
19 */ | 19 */ |
20 | 20 |
21 #include "config.h" | |
22 #include "fixedconf.h" | |
23 #include "condat-features.h" | |
24 #include "aci_conf.h" | |
25 | |
21 #ifdef SIM_TOOLKIT | 26 #ifdef SIM_TOOLKIT |
22 | 27 |
23 #ifndef ATI_SAT_C | 28 #ifndef ATI_SAT_C |
24 #define ATI_SAT_C | 29 #define ATI_SAT_C |
25 | 30 |
508 | 513 |
509 #else | 514 #else |
510 ret=sAT_PercentSIMEF((T_ACI_CMD_SRC)srcId,mode); | 515 ret=sAT_PercentSIMEF((T_ACI_CMD_SRC)srcId,mode); |
511 | 516 |
512 return(map_aci_2_ati_rslt(ret)); | 517 return(map_aci_2_ati_rslt(ret)); |
513 #endif /*FF_ATI_BAT*/ | 518 #endif /*FF_ATI_BAT*/ |
514 } | 519 } |
515 | 520 |
516 | 521 |
517 /* | 522 /* |
518 +--------------------------------------------------------------------+ | 523 +--------------------------------------------------------------------+ |
550 sprintf(g_sa,"%s: %d","%SIMEF",mode); | 555 sprintf(g_sa,"%s: %d","%SIMEF",mode); |
551 io_sendMessage(srcId,g_sa,ATI_NORMAL_OUTPUT); | 556 io_sendMessage(srcId,g_sa,ATI_NORMAL_OUTPUT); |
552 } | 557 } |
553 | 558 |
554 return(map_aci_2_ati_rslt(ret)); | 559 return(map_aci_2_ati_rslt(ret)); |
555 #endif /* no FF_ATI_BAT */ | 560 #endif /* no FF_ATI_BAT */ |
556 } | 561 } |
557 | 562 |
558 | 563 |
559 /* | 564 /* |
560 +--------------------------------------------------------------------+ | 565 +--------------------------------------------------------------------+ |