View Full Version : Access to serial port in OPL


Nemopics
10-05-2002, 11:10 AM
Hi. Can anyone tell me how to read and write to the serial port using OPL? I've got a Psion 5 manual but I'm not sure that they work the same way as the 9210. Any help would be appreciated. I've an idea for a prog. If I can get it to work I will share it /phpBB/images/smiles/icon_smile.gif

Nemopics
11-05-2002, 07:00 PM
I guess from all the replies that either no-one is interested in OPL or the current alpha/beta version does not support the serial port

TANKERx
11-05-2002, 11:13 PM
Hang on! I'm interested in OPL at the moment but my time is being taken by something else (you'll find out soon /phpBB/images/smiles/icon_smile.gif ).

If I remember correctly (though I can't remember ever getting this to work), the serial port is opened in the same way as you'd open a file.

At the moment, that's all I can offer you but there should be no harm in looking up old Psion sites for advice in this area (try 3-Lib, that was to the Psion what AllAboutER6 is to Symbian today!).

I'll post the address if I can find it, but if you do a search on 3-Lib, you should find something.

Nemopics
12-05-2002, 03:36 AM
Thanx for the reply. Your right, the psion sites are the places to look and have already helped a lot. I now can write to the serial port, but not yet read. OPL v6 uses 16 bit strings and has left me a bit confused. I wont give up yet /phpBB/images/smiles/icon_smile.gif