sim800
Version:
A modern and opiniated module for SIM800 GSM modems ( SIM800 / SIM800L ).
36 lines (35 loc) • 1.8 kB
TypeScript
import { Sim800OutgoingSmsStatus } from './sim800-outgoing-sms.interface';
export declare enum Sim800DeliveryStatusDetail {
Delivered = "Short message received by the SME.",
Unknown = "Short message forwarded by the SC to the SME but the SC is unable to confirm delivery",
Replaced = "Short message replaced by the SC",
Congestion = "Congestion",
SmeBusy = "SME busy",
NoResponse = "No response from the SME",
ServiceRejected = "Service rejected",
QualityOfServiceNotAvailable = "Quality of service not available",
ErrorInSme = "Error in SME",
RemoteProcedureError = "Remote procedure error",
IncompatibleDestination = "Incompatible destination",
ConnectionRejectedBySme = "Connection rejected by SME",
NotObtainable = "Not obtainable",
NoInterworkingAvailable = "No interworking available",
SMValidityPeriodExpired = "SM validity period expired",
SMDeletedByOriginatingSME = "SM deleted by originating SME",
SMDeletedBySCAdministration = "SM deleted by SC administration",
SMDoesNotExist = "SM does not exist",
PermanentCongestion = "Permanent congestion",
PernanentBusy = "Permanent Busy",
PermanentNoResponse = "Permanent No response from the SME",
PermanentServiceRejected = "Permanent Service rejected",
PermanentQualityOfServiceNotAvailable = "Permanent Quality of service not available",
PermanentErrorInSme = "Permanent Error in SME"
}
export declare const Sim800DeliveryRawStatusMap: Record<number, Sim800DeliveryStatusDetail>;
export declare const Sim800DeliveryStatusMap: Record<Sim800DeliveryStatusDetail, Sim800OutgoingSmsStatus>;
export interface Sim800DeliveryEvent {
messageReference: number;
status: Sim800OutgoingSmsStatus;
detail: Sim800DeliveryStatusDetail;
date: Date;
}