Bind Qrcode&IMEI
Log in to the test page on your computer and use a handheld barcode scanner to identify the cabinet QR code (SN) and 4G module QR code (IMEI) for binding.
Qrcode Formats
Machine(User-definable formats)
Scan code content -> https://s.dudubox.com/sw/app/r/scan.html?id=11843004
4G Meige module (single chip solution)
Scan code content -> M322M16EHD091207300 864601068540525
4G Quectel module (single chip solution)
Scan code content -> 867869060318599;MPY23F23F000398
4G Quectel module (Android onboard solution)
Scan code content -> 865860049546212;MPA19H901029303;A10000671D98A3
4G Quectel module (Android integrated solution)
Scan code content -> 867329046761123;MPY23IF1S000918;B00C9D8B0098;A1000074BE075A
Scan And Bind Qrcode
- Production staff use a barcode scanner to scan the cabinet QR code SN and the 4G module QR code IMEI for binding.
IMEI Regular Extraction
Module | Qrcode Content |
---|---|
4G Meige module (single chip solution) | M322M16EHD091207300 864601068540525 |
4G Quectel module (single chip solution) | 867869060318599;MPY23F23F000398 |
4G Quectel module (Android onboard solution) | 865860049546212;MPA19H901029303;A10000671D98A3 |
4G Quectel module (Android integrated solution) | 867329046761123;MPY23IF1S000918;B00C9D8B0098;A1000074BE075A |
Demo Code:
js
const regx = /\d{15}/;
const imei = "M322M16EHD091207300 864601068540525".match(regx);
if(!imei){
console.log("not found imei");
}
else{
console.log(imei[0]); // log print: 864601068540525
}