#include "interfaces.h"
(
const char* destinationPtr,
const char* textPtr
)
{
if (!myMsg)
{
LE_ERROR(
"SMS message creation has failed!");
}
if (res != LE_OK)
{
LE_ERROR(
"le_sms_SetDestination has failed (res.%d)!", res);
}
if (res != LE_OK)
{
LE_ERROR(
"le_sms_SetText has failed (res.%d)!", res);
}
if (res != LE_OK)
{
LE_ERROR(
"le_sms_Send has failed (res.%d)!", res);
}
else
{
LE_INFO(
"\"%s\" has been successfully sent to %s.", textPtr, destinationPtr);
}
}