@@ -48,14 +48,14 @@ mbed::CellularDevice *mbed::CellularDevice::get_default_instance()
48
48
int arduino::GSMClass::begin (const char * pin, const char * apn, const char * username, const char * password, RadioAccessTechnologyType rat, uint32_t band, bool restart) {
49
49
50
50
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);
53
53
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);
57
57
delay (1 );
58
- digitalWrite (PJ_7 , HIGH);
58
+ digitalWrite (MBED_CONF_GEMALTO_CINTERION_ON , HIGH);
59
59
delay (1 );
60
60
// this timer is to make sure that at boottime and when the CMUX is used,
61
61
// ^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
69
69
printf (" Invalid context\n " );
70
70
return 0 ;
71
71
}
72
- pinMode (PJ_7 , INPUT_PULLDOWN);
72
+ pinMode (MBED_CONF_GEMALTO_CINTERION_ON , INPUT_PULLDOWN);
73
73
74
74
static mbed::DigitalOut rts (MBED_CONF_GEMALTO_CINTERION_RTS, 0 );
75
75
0 commit comments