Re: 1249e9a and memoryoffset

Daniele Forsi <[email protected]> Thu, 9 May 2013 23:53:01 +0200
Newsgroups gmane.linux.drivers.gnokii
Message-ID <CAN_we7OyqoJunp-njmQ=ea=SjQHSS6Pgc5h6mR+OmvSsRz=x7g@mail.gmail.com>
2013/5/9 Raphaƫl Droz:

> in 1249e9ae, the location used by AT+CPBW=%d (in AT_WritePhonebook())
> changed from:
>> data->phonebook_entry->location+drvinst->memoryoffset
> to
>> data->phonebook_entry->location

that was a bad mistake on my part!

> Here is the common part:
>> > AT+CPBS="ME"
>> > AT+CPBR=?
>> < +CPBR: (750-999),20,16
>
>> > AT+CPBR=750
>> < +CME ERROR: 22      # indeed this is strange, anyway...

I think that "22" means "empty" in this case (and if you don't use
--overwrite then --writephonebook will check if the location is empty)

> What could I do against that ?

does this commit fix it?
http://git.savannah.gnu.org/cgit/gnokii.git/commit/?id=49c4d11a1dc9ae896ca9acc97e6674372f4e8ba1

--
Daniele Forsi