@@ -48,14 +48,14 @@ mbed::CellularDevice *mbed::CellularDevice::get_default_instance()
4848int arduino::GSMClass::begin (const char * pin, const char * apn, const char * username, const char * password, RadioAccessTechnologyType rat, uint32_t band, bool restart) {
4949
5050 if (restart || isCmuxEnable ()) {
51- pinMode (PJ_10 , OUTPUT);
52- digitalWrite (PJ_10 , HIGH);
51+ pinMode (MBED_CONF_GEMALTO_CINTERION_RST , OUTPUT);
52+ digitalWrite (MBED_CONF_GEMALTO_CINTERION_RST , HIGH);
5353 delay (800 );
54- digitalWrite (PJ_10 , LOW);
55- pinMode (PJ_7 , OUTPUT);
56- digitalWrite (PJ_7 , LOW);
54+ digitalWrite (MBED_CONF_GEMALTO_CINTERION_RST , LOW);
55+ pinMode (MBED_CONF_GEMALTO_CINTERION_ON , OUTPUT);
56+ digitalWrite (MBED_CONF_GEMALTO_CINTERION_ON , LOW);
5757 delay (1 );
58- digitalWrite (PJ_7 , HIGH);
58+ digitalWrite (MBED_CONF_GEMALTO_CINTERION_ON , HIGH);
5959 delay (1 );
6060 // this timer is to make sure that at boottime and when the CMUX is used,
6161 // ^SYSTART is received in time to avoid stranger behaviour
@@ -69,7 +69,7 @@ int arduino::GSMClass::begin(const char* pin, const char* apn, const char* usern
6969 printf (" Invalid context\n " );
7070 return 0 ;
7171 }
72- pinMode (PJ_7 , INPUT_PULLDOWN);
72+ pinMode (MBED_CONF_GEMALTO_CINTERION_ON , INPUT_PULLDOWN);
7373
7474 static mbed::DigitalOut rts (MBED_CONF_GEMALTO_CINTERION_RTS, 0 );
7575
0 commit comments