Typedef anjay_smsdrv_error_t

Typedef Documentation

typedef avs_errno_t anjay_smsdrv_error_t(anjay_smsdrv_t *driver)

If the last other method invoked on the driver returned an error, returns an errno-compatible code with its actual cause.

NOTE: AVS_ENODEV is reserved for signalling a loss-of-carrier condition that shall NOT be treated as fatal. For this one special error code, errors while handling incoming requests will NOT trigger connection closure (and subsequent retry and/or rebootstrap attempts) as all other errors will.

Param driver:

SMS driver object to operate on.

Return:

errno-compatible error code.