Wio LTE Cat M1/NB-IoT Tracker Example NB-IOT Connection Problems

Hello,



I have tried to use the Following script



#include <ublox_sara_r4.h>

#include <UART_Interface.h>



Ublox_sara_r4 ublox = Ublox_sara_r4();



void setup() {



SerialDebug.println(“Begin…”);

ublox.powerOn();

SerialDebug.print(“Waitting for module to alvie…”);

while(false == ublox.isAlive()){

SerialDebug.print(".");

delay(100);

}



while(!ublox.network_Init(30000)) {

Log_error(“Network initialize timeout.”);

}

Log_info("APN: " + String(ublox._apn));

Log_info("Local IP: " + String(ublox._str_ip));

Log_info("Operator: " + String(ublox._operator));

Log_info(“Network attached.”);

}



void loop() {

int signal;

if(ublox.getSignalStrength(&signal)) {

SerialDebug.print("RSSI: ");

SerialDebug.println(signal, DEC);

} else {

SerialDebug.print(“Error”);

}



delay(1000);



}



============================



Now my Question Ho to I set the Pin for my SIM Card?



Many Thanks



Roman

Hi Roman~



The sim card is connected with sara-r410. You can refer to <LINK_TEXT text=“https://github.com/SeeedDocument/Wio_LT … master.zip”>https://github.com/SeeedDocument/Wio_LTE_Cat_M1_NB-IoT_Tracker/raw/master/res/WioLTE_Cat_NB1_Eagle-master.zip</LINK_TEXT>. You can use the AT command to control it directly.



Sorry, we do not capture the point, please help clarify “How to I set the Pin for my SIM Card?” thanks.