LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I get PDU format and reverse them ?

I use TCi35 module to develop my alarm system. I can easily to use text mode to send message to others, but you know PDU mode seems too much complicated to write in LabVIEW.
The PDU mode:
08 91 683108701305F0 11 00 0D 91 3176378290F9 00 00 00 02 C8 34
I know the rule of PDU format, but I can't find a easy way to make this format clearly. So I appreciate that someone here may share you code for us.
Thanks in advance.
http://www.vitst.com
Virry Test & Control
LabVIEW Certified Developer
0 Kudos
Message 1 of 11
(6,447 Views)
any hint? thanks in advance
http://www.vitst.com
Virry Test & Control
LabVIEW Certified Developer
0 Kudos
Message 2 of 11
(6,437 Views)
I think we will need a bit more information.  I am somewhat familiar with PDUs in the context of CAN messaging with J1939 protocol.  Is this what you are doing?  What is a TCi35? 

As far as J1939 goes, the PDU is the Protocol Data Unit and it is composed of several elements:

3 Bits  - Priority
1 Bit    - Extended Data Page
1 Bit    - Data Page
1 Byte - PDU Format
1 Byte - PDU Specific (Destination Address or Group Extention)
1 Byte - Source Address
8 Bytes-Data Field

If your message is similar let me know and I will help you parse it.

Hope that this helps,
Message 3 of 11
(6,414 Views)
Very thanks for your reply, Bob.
TCi35 is a siemens GSM moduel.
 
my PDU message is like this "08 91 683108701305F0 11 00 0D 91 3176378290F9 00 00 00 02 C8 34"
I don't know if there is a manual or some standard of converting this PDU format.
or maybe you could give me your code or something. then I can parse it by myself.
 
thanks in advance.
 
Qia
http://www.vitst.com
Virry Test & Control
LabVIEW Certified Developer
0 Kudos
Message 4 of 11
(6,406 Views)

A Google search has lead me to think that the unit is really a TC35i.  A search of that lead to a hardware manual.  I then searched for   SMS PDU mode  and found a site that lists a bit about the protocol. 

http://www.dreamfabric.com/sms/  

I think that this will help you to decode the message that you have.

 

Hope that this helps,

Bob Young.

Message 5 of 11
(6,397 Views)
Thank you Bob,
I think it is very helpful.
 
Qia
http://www.vitst.com
Virry Test & Control
LabVIEW Certified Developer
0 Kudos
Message 6 of 11
(6,395 Views)
hello,
i working on decoding pdu for private use also, can you help me?
would be very nice....

i convert the text to byte array but i have problems to work with this array because i have to rotate this byte code...

take a look here: http://66.102.9.104/search?q=cache:_4B1hwedVz8J:www.norcoland.com/Avatar235/Doc/mobile/SMS%2520coding.txt+SMS-Codierung+-+Wir+codieren+eine+Nachricht+&hl=de&client=firefox-a

i hope you can help me a little bit...(or a lot *g*)

regards hutz
0 Kudos
Message 7 of 11
(6,342 Views)
Message 8 of 11
(6,329 Views)
thank you for this link, but i allready found this example.
But i dont have nokia data suit, and i dont find a free download, and i dont have nokia but siemens.

In the Zip File of this example are some vi missing, because when i want to open the example he doesnt find some sup vi´s.

Any further help?

Would be very nice....

regards hutz
0 Kudos
Message 9 of 11
(6,315 Views)
There is also SMS support in labview 8.0. Not sure if pdu is buried underneath it.
0 Kudos
Message 10 of 11
(6,312 Views)