모두.C# jamaa : smpp esm_class 바이트 값
저는 C# jamaa smpp libraries v1.4를 사용하고 있습니다. 그리고 SMSC에서 delivery_sm을 가져올 때 - 들어오는 메시지를 구문 분석하려고 시도합니다. 여기에 문제가 있습니다. 당신이 스크린 샷에서 볼 수 있듯이 esm_class의 수신 바이트 값은 4 : 그러나 당신이 볼 수 있듯이 Jamaa의 EsmClass 다음 값
public enum EsmClass : byte
{
/// <summary>
/// Default SMSC mode, default message type, or no specific features selected
/// </summary>
Default = 0x00,
/// <summary>
/// Datagram mode
/// </summary>
DatagramMode = 0x01,
/// <summary>
/// Forward (i.e. Transaction) mode
/// </summary>
Transaction = 0x02, //Forward mode
/// <summary>
/// Store and forward mode
/// </summary>
StoreAndForward = 0x03,
/// <summary>
/// Short message contains SMSC delivery receipt
/// </summary>
DeliveryReceipt = 0x08,
/// <summary>
/// SME contains ESME delivery acknoledgement
/// </summary>
DeliveryAcknoledgement = 0x08,
/// <summary>
/// SME contains ESME manual/user acknoledgement
/// </summary>
ManualUserAcknoledgement = 0x10,
/// <summary>
/// Short message contains conversion abort (Korean CDMA)
/// </summary>
ConversionAbort = 0x18,
/// <summary>
/// Short message contains intermedicate delivery notification
/// </summary>
IntermediateDeliveryNotification = 0x20,
/// <summary>
/// UDHI Indicator (only relevant for MT network)
/// </summary>
UdhiIndicator = 0x40,
/// <summary>
/// Set Reply path (only relevant for GSM network)
/// </summary>
ReplyPath = 0x80
}
있다 -는 8 값을 기다리고, DeliveryReceipt를 반환 . 무엇이 잘못 되었나요? EsmClass 코드를 수정하는 것만으로 충분합니다 - 4 값이 오면 DeliveryReceipt를 반환하는 것입니까?
감사합니다. 에 관해서는, Yuriy.
안녕하세요. 다시 고맙습니다 :-) 관련하여, Yuriy. –