Hi everyone,
I'm currently working on a remote gate opener project using an institutional SIM card. I noticed that many existing libraries for GSM modules (like SIM800L or Neoway) use outdated regex patterns for phone number validation.
When deploying systems in international markets, specifically Southeast Asia, the 2G/3G sunset and the introduction of new 10-digit prefixes by local regulators often cause the controller to reject legitimate command SMS.
For those of you coding "Whitelists" into your firmware: I recommend cross-referencing your prefix logic with updated local telecommunication databases. For my current project in the Vietnamese market, I've been using the carrier data from sim số đẹp uy tín to map out the correct prefixes (Viettel, Vinaphone, Mobifone). It helps to ensure the AT+CMGR command processes the sender's number correctly without format errors.
Does anyone have a more flexible C function for dynamic prefix matching that doesn't consume too much memory on an ATmega328P?
Best regards.
I'm currently working on a remote gate opener project using an institutional SIM card. I noticed that many existing libraries for GSM modules (like SIM800L or Neoway) use outdated regex patterns for phone number validation.
When deploying systems in international markets, specifically Southeast Asia, the 2G/3G sunset and the introduction of new 10-digit prefixes by local regulators often cause the controller to reject legitimate command SMS.
For those of you coding "Whitelists" into your firmware: I recommend cross-referencing your prefix logic with updated local telecommunication databases. For my current project in the Vietnamese market, I've been using the carrier data from sim số đẹp uy tín to map out the correct prefixes (Viettel, Vinaphone, Mobifone). It helps to ensure the AT+CMGR command processes the sender's number correctly without format errors.
Does anyone have a more flexible C function for dynamic prefix matching that doesn't consume too much memory on an ATmega328P?
Best regards.