Typedef anjay_smsdrv_send_t
Defined in File sms.h
Typedef Documentation
-
typedef int anjay_smsdrv_send_t(anjay_smsdrv_t *driver, const char *destination, const void *data, size_t data_size, const anjay_smsdrv_multipart_info_t *multipart_info, avs_time_duration_t timeout)
Sends an SMS message in 8-bit mode.
- Param driver:
SMS driver object to operate on.
- Param destination:
Phone number of the destination in plain ASCII format (either international using “+”, or national).
- Param data:
Pointer to SMS payload data to send.
- Param data_size:
Length of SMS payload data to send.
- Param multipart_info:
Reference information for a Concatenated SMS part, or NULL if the SMS being sent is not part of a Concatenated SMS message.
- Param timeout:
Duration of time after which to give up waiting for a response from the modem.
- Return:
Zero for success, or a negative value in case of error.