Functions have been added to search for a number by index in the simcard phonebook, and to check for the existence of a number in the book.
bool gsm_getPhonebookNumber(uint16_t index, char* getnumber);
Takes the index of the number in the phonebook, and the buffer into which the number located by the index will be written.
bool gsm_isNumberExistInPhonebook(char* number, uint8_t from, uint8_t to);
Takes a number string, and a range to search the book.
Returns true if the number is found in the book. False if not found.
Functions can be useful if the sim800 module must respond only to the numbers that are in the address book. In my case it is used for gps tracker.
Functions have been added to search for a number by index in the simcard phonebook, and to check for the existence of a number in the book.
bool gsm_getPhonebookNumber(uint16_t index, char* getnumber);
Takes the index of the number in the phonebook, and the buffer into which the number located by the index will be written.bool gsm_isNumberExistInPhonebook(char* number, uint8_t from, uint8_t to);
Takes a number string, and a range to search the book. Returns true if the number is found in the book. False if not found.Functions can be useful if the sim800 module must respond only to the numbers that are in the address book. In my case it is used for gps tracker.