Hi

Heres another serial device that needs the experts to create the lua script for!

http://www.caller-id-answers.info/meteordoc.doc

Basically the caller id info arrives in a slight different format than the usual callerid modem with some numbers before the month/day/time sone more numbers and then the actual phone number and the name if it exists.

Can someone please give me a pointer on how I can modify the existing caller id script to do this?

1200 baud rate with 1 stop bit.

Example message from the document :

MESSAGE EXAMPLE

Byte sent (decimal) Description

128 Message Type
34 Message Length
17 Call Type Parameter
1 Parameter length
1 Call type = 1 (Voice Call)
1 Date & Time Parameter
8 Parameter length = 8
49 1
48 0 (Month = 10)
49 1
48 0 (Day = 10)
48 0
51 3 (Hour = 3)
51 3
48 0 (Minutes = 30)
2 Calling Number Parameter
10 Parameter length = 10
49 1
50 2
51 3
52 4
53 5
54 6
55 7
56 8
57 9
48 0 (Number = 1234567890)
7 Calling Name Parameter
7 Parameter length = 7
80 P
69 E
84 T
69 E
82 R
32 (Space)
82 R
161 Checksum

Thanks for your help

Dom