Dear Admin,
Is there a way to send a custom UserDataHeader as full data without passing by the DLL parsing part or changing the DLL source code?
The main problem that I have concatenated messages with different UDH length, for example part 1: length 5, part 2: length:3.
Thank you
Custom UserDataHeader
Re: Custom UserDataHeader
Hi lorenzo,
Could you provide the examples of the different UDHs?
Could you provide the examples of the different UDHs?
Re: Custom UserDataHeader
Hello,
Hope you are doing well,
format for example to concatenate the message UDH:
first part: 0700035502016000 -- 07 UDH length
second part: 050003550202 -- 05 UDH length
6000 is the added one.
Thank you
Hope you are doing well,
format for example to concatenate the message UDH:
first part: 0700035502016000 -- 07 UDH length
second part: 050003550202 -- 05 UDH length
6000 is the added one.
Thank you
Re: Custom UserDataHeader
You can do it this way:
If you use SMS builder:
Could you tell me what means 0x60 identifier in the second UDH element?
Code: Select all
UserDataHeaderCollection headers = new UserDataHeaderCollection();
headers.Add(new ConcatenatedShortMessages8bit(0x55,2,1));
headers.Add(new UserDataHeader(0x60, new byte[0]));
submitSm.UserData.Headers = headers;
Code: Select all
var pduList = SMS.ForSubmit().From(...).To(..).Text(...).Create(_client);
pduList[0].UserData.Headers.Add(new UserDataHeader(0x60, new byte[0]));