WisLink Cellular Board

hello here, i am new here, i am facing an issue with this one

failing to work with Arduino Mega 2560 ( wis Link shield stuck on top )

but it works perfectly on Arduino Uno ( shield stuck on top )

with Mega, console is stuck at “This is the WisLTE Debug Serial!”

any help is highly appreciated

Thanks

see the pictures below

with_Uno

my config is ( on both Mega and Uno )

//#define DSerial Serial1
#define DSerial Serial
#define AT_TX_PIN 11
#define AT_RX_PIN 10

SoftwareSerial ATSerial(AT_RX_PIN, AT_TX_PIN);

WisLTEBG96HTTP WisLTE(DSerial, ATSerial);

Hi,
Our demo is based on Arduino UNO R3. And the serial uses the hardware serial. If you want to use the software serial, maybe you can try to add listen() in setup like below:

void setup() {
ATSerial.begin(115200);
ATSerial.listen();

}

HI,
I am using an ESP32 to communicate via the 2011 which has 3 UARTs to use. This code uses UART 2 to communicate with the 2011.Don’t know if this will help

//HardwareSerial Serial2(2); // use uart2;
void setup() {
Serial.begin(115200); //Start normal terminal serial session
delay(1000);
while (!Serial) {
}
Serial.println(“Welcome BG96”);
Serial2.begin(115200, SERIAL_8N1, 16, 17); //Start 2nd serial connection to BG96 connected to pins 16,17 of ESP32
}
void loop() {
if (Serial2.available()) {
Serial.write(Serial2.read());
}
if (Serial.available()) {
Serial2.write(Serial.read());
}
}