Hi, Here is a ethereal hex dump of a vCard created by a comercial Gateway:
No. Time Source Destination Protocol Info 12311 369004.224536 10.0.1.5 10.0.1.204 SMPP WSP Unknown PDU type (0x45) (0x45) Frame 12311 (174 bytes on wire, 174 bytes captured) Arrival Time: Jan 11, 2005 17:38:20.619615000 Time delta from previous packet: 110.280007000 seconds Time since reference or first frame: 369004.224536000 seconds Frame Number: 12311 Packet Length: 174 bytes Capture Length: 174 bytes Ethernet II, Src: 00:0b:cd:31:a1:2b, Dst: 00:40:f4:61:36:52 Destination: 00:40:f4:61:36:52 (CameoCom_61:36:52) Source: 00:0b:cd:31:a1:2b (CompaqHp_31:a1:2b) Type: IP (0x0800) Internet Protocol, Src Addr: 10.0.1.5 (10.0.1.5), Dst Addr: 10.0.1.204 (10.0.1.204) Version: 4 Header length: 20 bytes Differentiated Services Field: 0x00 (DSCP 0x00: Default; ECN: 0x00) 0000 00.. = Differentiated Services Codepoint: Default (0x00) .... ..0. = ECN-Capable Transport (ECT): 0 .... ...0 = ECN-CE: 0 Total Length: 160 Identification: 0x1008 (4104) Flags: 0x04 (Don't Fragment) 0... = Reserved bit: Not set .1.. = Don't fragment: Set ..0. = More fragments: Not set Fragment offset: 0 Time to live: 128 Protocol: TCP (0x06) Header checksum: 0xd37f (correct) Source: 10.0.1.5 (10.0.1.5) Destination: 10.0.1.204 (10.0.1.204) Transmission Control Protocol, Src Port: 1069 (1069), Dst Port: 10001 (10001), Seq: 3778, Ack: 1142, Len: 120 Source port: 1069 (1069) Destination port: 10001 (10001) Sequence number: 3778 (relative sequence number) Next sequence number: 3898 (relative sequence number) Acknowledgement number: 1142 (relative ack number) Header length: 20 bytes Flags: 0x0018 (PSH, ACK) 0... .... = Congestion Window Reduced (CWR): Not set .0.. .... = ECN-Echo: Not set ..0. .... = Urgent: Not set ...1 .... = Acknowledgment: Set .... 1... = Push: Set .... .0.. = Reset: Not set .... ..0. = Syn: Not set .... ...0 = Fin: Not set Window size: 63019 Checksum: 0xe44b (correct) Short Message Peer to Peer, Command: Submit_sm, Seq: 112, Len: 120 Length : 120 Operation : Submit_sm (0x00000004) Sequence #: 112 Service type: (Default) Type of number (originator): Unknown (0x00) Numbering plan indicator (originator): ISDN (E163/E164) (0x01) Type of number (recipient): National (0x02) Numbering plan indicator (recipient): ISDN (E163/E164) (0x01) Recipient address: 1234567890 .... ..00 = Messaging mode: Default SMSC mode (0x00) ..00 00.. = Message type : Default message type (0x00) 01.. .... = GSM features : UDHI indicator (0x01) Protocol id.: 0x00 Priority level: GSM: None ANSI-136: Bulk IS-95: Normal (0x00) Scheduled delivery time: Immediate delivery Validity period: SMSC default validity period .... ..00 = Delivery receipt : No SMSC delivery receipt requested (0x00) .... 00.. = Message type : No recipient SME acknowledgement requested (0x00) ...0 .... = Intermediate notif: No intermediate notification requested (0x00) .... ...0 = Replace : Don't replace (0x00) Data coding: 0xf5 SMPP Data Coding Scheme: Unknown (0xf5) GSM SMS Data Coding 1111 .... = DCS Coding Group for SMS: SMS DCS: Data coding / message class (0x0f) .... 01.. = DCS Character set: 8-bit data (0x01) .... ..01 = DCS Message class: Class 1 - ME specific (0x01) GSM CBS Data Coding 1111 .... = DCS Coding Group for CBS: SMS DCS: Data coding / message class (0x0f) .... 01.. = DCS Character set: 8-bit data (0x01) .... ..01 = DCS CBS Message class: Class 1 - User defined (0x01) Predefined message: 0 Message length: 77 Message GSM Short Message Service User Data UDH Length: 6 IE Id: SMS - Application port addressing scheme, 16 bit address (0x05): source port 9204, destination port 9204 Destination port: 9204 Source port: 9204 Wireless Session Protocol, Method: Unknown (0x45) (0x45) Transaction ID: 0x42 PDU Type: Unknown (0x45) 0000 00 40 f4 61 36 52 00 0b cd 31 a1 2b 08 00 45 00 [EMAIL PROTECTED] 0010 00 a0 10 08 40 00 80 06 d3 7f 0a 00 01 05 0a 00 [EMAIL PROTECTED] 0020 01 cc 04 2d 27 11 4b 04 25 1e 8a 78 a5 88 50 18 ...-'.K.%..x..P. 0030 f6 2b e4 4b 00 00 00 00 00 78 00 00 00 04 00 00 .+.K.....x...... 0040 00 00 00 00 00 70 00 00 01 00 02 01 31 32 33 34 .....p......1234 0050 35 36 37 38 39 30 00 40 00 00 00 00 00 00 f5 00 [EMAIL PROTECTED] 0060 4d 06 05 04 23 f4 23 f4 42 45 47 49 4e 3a 56 43 M...#.#.BEGIN:VC 0070 41 52 44 0d 0a 56 45 52 53 49 4f 4e 3a 32 2e 31 ARD..VERSION:2.1 0080 0d 0a 4e 3a 45 6c 20 4f 73 63 61 72 0d 0a 54 45 ..N:El Oscar..TE 0090 4c 3b 50 52 45 46 3a xx xx xx xx xx xx xx xx xx L;PREF:xxxxxxxxx 00a0 36 0d 0a 45 4e 44 3a 56 43 41 52 44 0d 0a 6..END:VCARD.. Hope this is usefull Cheers !! == Oscar Tashi Delek On Tue, 2005-01-11 at 13:15, Baden de Bari wrote: > I'd like to start playing around with EMS, but need the proper UDH > header info for sending things like vCards and vCals. Is there a list > of headers for different manufacturers? > > Once the header text is set, is the hex-encoded message the same for > all manufacturers, or does this require different formatting? > > > > > -- > Wise men talk because they have something to say; fools, because they have to > say something. > web: http://www.geocities.com/badenx > email: [EMAIL PROTECTED]