API Reference | developer.brewmp.com API Reference | developer.brewmp.com

Developer

API Reference

PFNSMSSTATUS

Brew Release
Brew MP 1.0.2
See Also
ITAPI ITAPI_SendSMS
Description

This is the prototype of the notification function whose address must be passed to ITAPI_SendSMS() if the application wants to know about the status of the MO-SMS just sent. When the SMS msg is sent using ITAPI_SendSMS(), this notifier function is invoked by Brew to inform the application about the status of the message delivery.
Members
  • pUser : User-specific data that will be passed back to the notification function when invoked by Brew MP.
    
  • status : Status of the msg delivery. This will be set to AEEMOSMS_ERR_*, as follows...
    
  • AEEMOSMS_ERR_NO_ERR            : Successfully sent. Indicates the message has been sent to network.
  • AEEMOSMS_ERR_OUTOF_RESOURCES   : Device is temporarily out of resources.
  • AEEMOSMS_ERR_NETWORK_NOT_READY : Network is not reachable or ready for device to communicate.
  • AEEMOSMS_ERR_TRANSPORT_TEMP    : Network temporarily refused message. Application may retry.
  • AEEMOSMS_ERR_TRANSPORT_PERM    : Network rejected the message.
  • AEEMOSMS_ERR_INTERNAL          : An internal error occured.
    
Definition
  • typedef void (*PFNSMSSTATUS)(void * pUser, int status);
    
Comments
None