/// <summary> Constructor </summary>
        /// <param name="defaultEncoding"></param>
        /// <param name="commandSet"></param>
        /// <param name="commandStatus"></param>
        /// <param name="sequence"></param>
        /// <param name="systemId"></param>
        private BindSmResp(DataCodings defaultEncoding,
                           CommandSet commandSet,
                           CommandStatus commandStatus,
                           uint sequence,
                           string systemId) : base(defaultEncoding,
                                                   commandSet,
                                                   commandStatus,
                                                   sequence)
        {
            SystemId = systemId;
            Optional = new TLVCollection();

            /*
             * // Optional Parameter for the Version
             * int version = 0x34;
             * byte[] b = System.BitConverter.GetBytes(version);
             *
             * if (System.BitConverter.IsLittleEndian)
             * {
             *  byte tmp = b[0];
             *  b[0] = b[3];
             *  b[3] = tmp;
             *
             *  tmp = b[1];
             *  b[1] = b[2];
             *  b[2] = tmp;
             * }
             *
             * Optional.Add(TLV.Create(OptionalTags.SCInterfaceVersion, Convert.ToUInt16(b.Length), b));
             */
        }
Exemple #2
0
 /// <summary> Constructor </summary>
 /// <param name="defaultEncoding"></param>
 /// <param name="commandStatus"></param>
 /// <param name="sequence"></param>
 private SubmitSmResp(DataCodings defaultEncoding,
                      CommandStatus commandStatus,
                      uint sequence) : base(defaultEncoding,
                                            CommandSet.SubmitSmResp,
                                            commandStatus,
                                            sequence)
 {
     Optional = new TLVCollection();
 }
 /// <summary> Constructor </summary>
 /// <param name="defaultEncoding"></param>
 /// <param name="commandStatus"></param>
 /// <param name="sequence"></param>
 private SubmitMultiSmResp(DataCodings defaultEncoding,
                           CommandStatus commandStatus,
                           uint sequence) : base(defaultEncoding,
                                                 CommandSet.SubmitMultiSmResp,
                                                 commandStatus,
                                                 sequence)
 {
     UnsuccessDestinationAddresses = new List <UnsuccessDestinationAddress>();
     Optional = new TLVCollection();
 }
Exemple #4
0
 /// <summary> Constructor </summary>
 /// <param name="defaultEncoding"></param>
 /// <param name="commandStatus"></param>
 /// <param name="sequence"></param>
 /// <param name="messageId"></param>
 private SubmitSmResp(DataCodings defaultEncoding,
                      CommandStatus commandStatus,
                      uint sequence,
                      string messageId) : base(defaultEncoding,
                                               CommandSet.SubmitSmResp,
                                               commandStatus,
                                               sequence)
 {
     MessageId = messageId;
     Optional  = new TLVCollection();
 }
Exemple #5
0
 /// <summary> Constructor </summary>
 /// <param name="defaultEncoding"></param>
 private SubmitSmResp(DataCodings defaultEncoding) : base(defaultEncoding,
                                                          CommandSet.SubmitSmResp)
 {
     Optional = new TLVCollection();
 }
 /// <summary> Constructor </summary>
 /// <param name="defaultEncoding"></param>
 /// <param name="header"></param>
 private BindSmResp(DataCodings defaultEncoding,
                    Header header) : base(defaultEncoding,
                                          header)
 {
     Optional = new TLVCollection();
 }
 /// <summary> Constructor </summary>
 /// <param name="defaultEncoding"></param>
 private SubmitMultiSmResp(DataCodings defaultEncoding) : base(defaultEncoding,
                                                               CommandSet.SubmitMultiSmResp)
 {
     UnsuccessDestinationAddresses = new List <UnsuccessDestinationAddress>();
     Optional = new TLVCollection();
 }
Exemple #8
0
 /// <summary> Constructor </summary>
 /// <param name="defaultEncoding"></param>
 private DataSm(DataCodings defaultEncoding) : base(defaultEncoding,
                                                    CommandSet.DataSm)
 {
     Optional = new TLVCollection();
 }
Exemple #9
0
 /// <summary> Constructor </summary>
 /// <param name="defaultEncoding"></param>
 private DeliverSmResp(DataCodings defaultEncoding) : base(defaultEncoding,
                                                           CommandSet.DeliverSmResp)
 {
     Optional = new TLVCollection();
 }
 /// <summary> Constructor </summary>
 /// <param name="defaultEncoding"></param>
 private AlertNotification(DataCodings defaultEncoding) : base(defaultEncoding,
                                                               CommandSet.AlertNotification)
 {
     Optional = new TLVCollection();
 }