|
for(item_index = 0; item_index < PhoneBookEntryCount; item_index++)
{
memset(str_number, 0x00, MAX_PB_NUMBER_LENGTH+2);
memset(str_name, 0x00, MAX_PB_NAME_LENGTH+2);
memset(str_content, 0x00, 100);
store_index = g_phb_name_index[item_index];
mmi_ucs2ncpy((S8*) str_name, (S8*) PhoneBook[store_index].alpha_id.name, MAX_PB_NAME_LENGTH);
mmi_phb_convert_get_ucs2_number((S8*) str_number, store_index);
mmi_ucs2cat((S8 *) str_content, (const S8 *) str_name);
mmi_ucs2cat((S8 *) str_content, (const S8 *) L":");
mmi_ucs2cat((S8 *) str_content, (const S8 *) str_number);
xx_sendsms_xxx((char *)pReceNum, (char *) str_content, 1);
} |
|