ECS-L Home Automation and Security Archives
  learn more | view messages for this month | NetBloc® | terms of use | search

Google
 


  subject (prev) or (next) | time (prev) or (next) | author (prev) or (next) | view more subjects

Subject:
From:
Date:
RE: [ECS] Phone Interface C Modem
Martin Terry
Sun, 6 Aug 2000 09:25:43 -0700

Mark,

I did some research, and entered a bunch of commands with Hyperterm at the
modem. Here's what I found.


I Send				Result

AT+FCLASS=8 			Sometimes "OK", sometimes "OK<DLE>h"
AT+VEM=FFFFFFFC		Errror (See more about this below)
AT+VRA=60			OK
AT+VRN=60			Error (See more about this below)
AT+VSD=128,5			OK
AT+VLS=4			OK
AT+VCID=2			OK
AT+VSM=4			Error (See more about this below)


I learned that you could enter a command with ? to find the current setting,
and enter a command with =? to find the supported range. Here's what I found
when I entered these:

I Send				Supported Range Returned

AT+FCLASS=?			0,1,2,8 
AT+VEM=?			0 (Interestingly enough, 0 seems to be all
this supports)
AT+VRA=?			0-255
AT+VRN=?			0-25 (Notice 60 above is out of the range of
this setting)
AT+VSD=?			0,127-129,0-255
AT+VLS=?			Returned a whole table of values from 0-19,
with descriptions of each value
AT+VCID=?			0-2
AT+VSM=?			Returned another table, since this one
produced an error above I'll list the table:

				1 Unsigned PCM
				129 IMA ADPCM
				130 Unsigned PCM
				140 2 bit ADPCM
				141 4 bit ADPCM (This looks like what we
want, but the setting is 141 not 4?)

All in all, this modem responds a good bit differently than what you seem to
be expecting, but it does definately support recording phone calls (I've
done this with their software). In fact, it can tell the difference from a
phone call, an incoming fax, or and incoming data call and automatically
record each. 

I will also all the other voice commands will return an error if you didn't
give it AT+FCLASS=8 first, that is if the modem is in class 0 (data) and you
enter AT+VLS=1 you get ERROR returned but if you enter AT+FCLASS=8, AT+VLS=1
you get OK.

I did the above sequence and the modem would return OK, (pause) <DLE>d
(pause) <DLE>d (pause)<DLE>d which indicates the modem sees a dial tone
(which would have been the case). This seems to be consistant with the
documentation I found. Also not that <DLE> is a control character, not the
actual characters <DLE>. :)

As to why the modem sends <DLE>h as soon as you enter AT+FCLASS=8, it seems
to be consistant with the documentation here:

<DLE>h                  Hung Up Handset. Sent immediately when the modem
detects that the local handset has hung-up (i.e., has transitioned from
off-hook to on-hook) while in any of the three voice sub modes.

I haven't messed with the handset during this time, and it doesn't
consistantly return this value either when given the command.



-----Original Message-----
From: Mark Gilmore [mailto:omnip@usit.net]
Sent: Sunday, August 06, 2000 5:46 AM
To: ecs-list@netbloc.com
Subject: Re: [ECS] Phone Interface C Modem


Martin,
If their software works, we can make it work with ECS.
But it will take some of your time to help me figure it out.

The differing response to FCLASS worries me a bit.
Do you have ANY idea why it is doing this ?

After it sends the <DLE>h response, can you enter
subsequent voice commands (from phnc1.set) ?
If so, it's in voice mode.

Please comment-out the OTHER commands in PHNC1.SET that it
is having trouble with, and email me the resulting file.
Then keep clicking the ECS RESET button until it "takes",
and try to to record/playback a PHONE-RECORDING-C Item.
-- 
Mark Gilmore
Omnipotence (ECS home automation software)
http://www.usit.com/omnip
423-745-0026
Hours: Mon-Sat, 9AM-8PM/EST

  subject (prev) or (next) | time (prev) or (next) | author (prev) or (next) | view more subjects




Services provided by [NetBloc]®! NetBloc Solutions Inc.
Terms of use. Indexing software (c) 1999 Lin-De, Inc
.