pwyld(783)13Dec1994 21:38 c826*
> 
> Next, more drastic steps being called for, I reset the modem jumpers 
> (internal USR Sportster) to COM3, IRQ5 (slaycock's suggestion, thanks 
> Steve!) and reset COM3 to use IRQ5, COM2 to use IRQ3, reset Ameol to
> use COM3 and RCOM.INI to physical COM2.  Result: Neither modem nor RCOM 
> worked.  Could there be an internal jumper (not on the modem) to set
> whether the modem can work on COM2 v. COM3?
> 

I use: A mouse on COM1, Internal Modem on COM3, anything else I want to 
connect (PSION, external modem, whatever) on COM2.

Serial board has COM1 and COM2.
Modem is set to use COM3, IRQ5, base addr x02E8

You might want/need to change the IRQ and base address for COM3 in 
Windows Control Panel|ports|com3|advanced.

good luck!

Pete.
____|____
_\__8__/_
   / \
   

salex(285)21Aug1995 15:10
TITLE: Psiwin
Someone asked in here earlier about the Psion seeing the PC disks
whilst using Psiwin. From the help....

Edit the PSIONPRC.INI file in your "Windows" directory, and remove the
"-x" from the end of the following line:

engine=prcenwin.exe -x

David (Using ReadCIX v4.6)


hzk(845)2Sep1995 14:51 c1446*
A useful way to check for the correct installation of the serial link 
is shown below.  I use it in my terminal program "PocPac", and also 
find it useful to check for the presence of any directory on my 3a.

There is a bug in some of the earlier 3a's, which prevented serial 
comms from working after you tried to open TTY:A without the RS232 
lead connected.  Luckily there is a patch for this, but it's 
worthwhile for programmers to incorporate some code like this to 
prevent a lot of grief to those unaware of it.
        
                
IF ckpth%:("LOC::C:\")
        ALERT("Serial Lead Not Plugged In !!","Abort")
        STOP
ENDIF

PROC ckpth%:(cpth$)
        LOCAL h%,p$(128)
        p$=cpth$+"*.*"
        IF IOOPEN(h%,p$,$30)
                RETURN -1
        ELSE
                IOCLOSE(h%) :RETURN 0
        ENDIF
ENDP

Roger

chennings(737)5Nov1996 07:19 c2171*
>a) Can I gain access to the name/number memories?
Acquire v2.01 of the SMS SDK which provides the appropriate functions
to do this.

>b) How do I send and receive SMS from an OPL program?
As above - although this has been available from v1.00 of the SDK

The SDK covers over 40 function requests and associated responses dealing 
with SMS, SCMs (addressbooks) and other aspects of phone control. Contact 
Psion for details of the SDK. You'll also want a working knowledge of 
asynchronous event handling on the Psion and of GSM standards 03.38 and 
03.40. It's certainly possible to use the kit from OPL, although your 
design will need to accommodate OPL specific behaviours such as going deaf 
in menus and dialogs.

Rgds
Chris Hennings

panflet(10725)28Mar97 14:32 c2459*
Correct as far as it goes. Do bear in mind though, in all this talk of 
Bauds and Bits, that the rules relating to the calculations of the 
maximum data rate that can be sustained through a transmission medium, 
and which are usually worked out by application of the formula derived by 
Shannon and Hartley, relate only to genuinely digital transmissions such 
as telex or ISDN or, if you want a radio example, GSM. 

Analogue modems - such as the one we are discussing here - don't actually 
work that way. Since the traditional plain ordinary telephone system 
(POTS) is optimised to work with audio signals, a modem (MODulator, 
dEModulator) actually converts digital signals from the DTE (Data 
Terminal Equipment) into a series of audio tones that can be impressed 
(or modulated) onto a continuous carrier signal that it generates. "Baud" 
therefore may be a totally inappropriate unit with which to measure its 
capabilities.

Strictly speaking, "Baud" - a unit of measurement named after Emil Baudot 
- relates to a change of state in a transmission medium, whether wire, 
free space or, say, optical fibre. There is a time element of course, so 
1 Baud is one change of state per second.

As you say, in a copper wire this could be a change in voltage or current 
and can be, say, a change in amplitude or polarity or phase or a 
combination of all these things. The important thing is whether this 
change can be transmitted along the line and arrive in a fit state to be 
detected and resolved at the receiving end. 

The factors that determine the maximum baud rate that can be sustained on 
any given transmission line are many and varied. Generally though they 
all boil down to electrical noise and losses in the medium which 
generally determine its maximum length. In its turn, the distance over 
which a signal of a given Baud rate can be transmitted is also dependent 
to some extent on the sensitivity of the equipment at the receiving end. 

The maximum baud rate for any practical medium is generally calculated by 
a formula developed by Shannon and Hartley a long time ago and which uses 
two main variables - signal to noise ratio and bandwidth of the medium.

On this basis the maximum baud rate achievable in a standard telephone 
wire up to 2 or 3 km long  - from the local telephone exchange to your 
house - will depend on things such the age of the wire, what sort of 
insulation it has and the physical condition of that insulation, how 
tightly it is bundled with other wires in the same cable sheath (and 
therefore how much of the signals in those lines is induced into your 
line and vice versa), how many screw terminal connections it has to 
negotiate (and how tight the screws are) in the various manholes and 
"flexibility point" cabinets and so on. At the same time, until recently 
at least, most telephone lines were deliberately slugged to provide only 
the bandwidth required for telephony quality speech - 300Hz to 3,700 Hz. 

As a result, taking the worst case as the norm, 2400 baud is generally 
accepted as the best rate that can be sustained with any degree of 
reliability on such lines. At the other extreme, fibre optic systems 
which currently use a modulation system which involves simply switching 
the light beam on and off very fast with no further encoding, and where, 
therefore, bits per second is the same as Baud, operate cheerfully at 10 
Gbits/s over distances of several 100 km since the bandwidth available is 
to all intents and purposes infinite.

1.5 metres of shielded cable from your RS 232 port to your modem 
similarly present very few problems that might limit its ability to 
change its state very rapidly, and the speed at which bits are actually 
shifted along it depends more on the rate at which they can be generated, 
moved through the port and converted by the modem into a form suitable 
for transmission through the telephone network. 

As you rightly point out, encoding techniques allow each change of state 
to represent several bits of information.  For example "ordinary" basic 
rate ISDN uses a scheme known as "2B1Q" - two binary, 1 quat - which is 
what you actually described, where the various permutations of two 
consecutive bits are encoded as one of four voltage levels - two positive 
levels and two negative levels - zero volts being a difficult state to 
determine with certainty and therefore not used (The Germans and French, 
incidentally, use a coding system called 4B3T where three groups of three 
voltage levels are used to represent all the permutations of 4 bits). 
This does require some clever semiconductor devices at either end to make 
it work.

Again, the resolving power and sensitivity of the receiver becomes more 
and more important as the encoding gets more complex. 

Even more extreme examples are systems such as ADSL (Asymmetrical Digital 
Subscriber Line) now being deployed for "Video on Demand" applications,  
that can handle data rates of 6 or 8 Mbits/s over standard telephone 
wires. This relies totally on very powerful digital signal processing 
circuits that would have been totally impractical a few years ago, as 
does the OFDM (Orthogonal Frequency Division Multiplex) scheme that is 
used for digital TV (and Audio) broadcasting and which allows 
simultaneous transmission of 10 broadcast quality TV channels in the 7MHz 
bandwidth currently totally occupied by a single analogue TV channel.

The next clever bit is the protocol used to impress the real information 
onto the simple stream of bits that are to be encoded. The simplest 
protocol is the one invented by another Victorian, Henry Krumm. His claim 
to fame is the invention of the start and stop bit to designate the 
beginning and end of the code sequences that Baudot had invented 
previously. Baudot's contribution to data communications was the idea of 
using a fixed length code to represent the different letters of the 
alphabet as opposed to other schemes like Morse which use variable length 
codes. 

Modern protocols go much further - ATM (Asynchronous Transfer Mode) for 
example which divides the bitstream (any bitstream - it may already have 
been formulated as ISDN or Ethernet or digitised voice or video) in cells 
each 53 bytes long, (48 bytes of information "payload" and 5 bytes of 
data that describe the cell in terms of the route it has to take to its 
destination and the bandwidth it requires to be delivered at just the 
right time.) Baudot's original required just five bits to represent the 
26 letters of the alphabet and a shift code to switch over to numbers, 
while ASCII - or International Standard Alphabet #6 - uses 8 bits per 
character, plus two or two and a half for start/stop, parity.

-------------
For my own amusement and self indulgence mainly, let's try a very simple 
analogy in an attempt to sort out the essential differences between DTE, 
DCE rates, bauds and bits per second and all that stuff. 

Imagine you want to send messages to someone at the end of your garden 
and you construct a very simple system of cards, each with a letter or 
number printed on it (don't forget you may need a blank one to show where 
one word stops and another starts). You send the message by holding up 
the cards in turn, so the receiver can read the letters, write them down 
and eventually reconstruct the message. 

In this system, the baud rate is the speed with which you change the 
cards. The maximum rate may ultimately be set by the speed at which the 
receiver can recognise each letter and write it down, although more 
important may be factors such as the perceived size of the letters, the 
colours chosen - is black on white better than yellow on black? - and 
whether the smoke from next door's bonfire is blowing your way. Whatever, 
this is the DCE to DCE speed.

If the receiver proves able to write faster than you can change the 
cards, you may be able to speed things up by getting a helper to 
pre-select each card from wherever they are stored and hand them to you 
rather than your having to return each card to its slot in the rack where 
they are kept and selecting the next one - that's the DTE to DCE speed. 
(as opposed to just slinging them all in a heap at your feet and 
searching for each one as you need it).

Using a sensible storage system and a helper (or two) might mean that the 
rate at which you can assemble the cards needed for a message is much 
higher than the rate at which they can actually be used. In this case you 
will need some means of telling your helper that you have run out of 
places to store the preselected cards before you use them, and that could 
he please hold on for a moment - that's DTE-DCE buffering and 
"handshaking".

You could speed things up considerably if instead of just having single 
letters on each card, you had whole words. Clearly you'd need too many 
cards to represent all the possible words in the dictionary. One way 
round this would be to devise a code scheme where various combinations of 
two or three letters represent specific words - maybe even complete 
sentences. (like the Royal Navy's flag signalling system). That's 
encoding. The codes would have to be agreed before-hand with the receiver 
of course.

An even better technique may be to be make a frame that could hold say, 
up to 8 of your letter or code-word cards. Now your helper could assemble 
a frame of letters to represent each phrase in your message. In any given 
message, some words and phrases would recur, so instead of disassembling 
each word frame, you could leave them in a temporary local store for a 
while in case they are needed again.  Maybe you could even combine two or 
three short words that are frequently used together onto one frame that 
could be kept almost permanently ready for use. That's compression.

The thing is though, that these encoding and compression techniques will 
only work if the receiver can decode them at the same rate that you can 
encode and compress them. And you need to know just how fast he can go 
and whether he is using the same code system before you start the 
transmission - so you need some method of signalling to and fro quickly 
that will allow you to negotiate a mutually acceptable protocol and speed.

Also you'll need some means whereby the receiver can confirm that what he 
has decoded from your signals and has written down is exactly the same as 
what you sent him - error detection - and then a means of letting you 
know that he missed a bit and could you repeat it please - error 
correction.

Sorry...... I'm supposed to be tyding up my office, but writing essays is 
much more interesting. Maybe I'd do a Zaiken Blitz Event on it this 
afternoon..

