I developed a method to get the current mobile operating band when using SIM800.
I'd like to share the code here. @vshymanskyy could you include it in the official version?
String getBand() {
sendAT(GF("+CBAND?"));
if (waitResponse(GF(GSM_NL "+CBAND:")) != 1) {
return "";
}
//streamSkipUntil(':'); // Skip mode and format
String res = stream.readStringUntil('\n');
waitResponse();
return res;
}
Hi,
I developed a method to get the current mobile operating band when using SIM800. I'd like to share the code here. @vshymanskyy could you include it in the official version?
Regards,
Vinicius