Rainbow Electronics MG260 User Manual
Page 64
FLYFOT-MG260-MODULE
Page: 64 / 246
This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged without
prior written agreement.
This command is not allowed for “EN”, “LD”, “MC”, “RC”, “MT”, “SN” phonebooks, which can not be
written.
Syntax :
Command syntax : AT+CPBW=
Command
Possible responses
AT+CPBW=?
Note: Test command
+CPBW: (1-100),20,(129,145),12
OK
Note :+CPBS=”SM” 100 locations, phone
number = 20 digits max, TON/NPI of 129 or
145, text length = 12
AT+CPBW=?
Note: Test command
+CPBW: (1-100),19,(129,145),30
OK
Note : +CPBS=”SM” 100 locations, phone
number = 19 digits max, TON/NPI of 129 or
145, text length = 30
AT+CPBW?
AT+CPBW
+CME ERROR: 3
Note: The product can not support this
command
AT+CPBW=1
Note: Erase location 1
OK
Note: Location 1 erased
AT+CPBW=1,"01089898989",129,"TOM"
Note: Write at location 1
OK
Note: Location 1 written
AT+CPBW=1,"0101234567",129,"JACK"
Note : Overwrite location 1
OK
Note: Location 1 overwritten
AT+CPBW=,"04012345678",129,"CHINA"
Note: Write at the first location available
OK
Note: First location available is written
AT+CPBW=22,"123456789123456789123456789
12345678912345678912345678912345678912345
6789123456789",129,"HELLO"
Note: Write at location 22 a phone number exceeding
the limit (20 digits)
+CME ERROR: 26
Note: Phone number too long
AT+CPBW=22,"2021234567",129,"LONGLONG
AGOTHERELIVEAKING"
Note : Write at location 22 along text (11 characters)
+CME ERROR: 24
Note: Text too long
AT+CPBW=22,"02012345678",129,"80ABC"
Note: write location
OK
Note: Location 22 is written. The string has a
wrong UCS2 format, it is therefore considered