Re: [BLACKBOX] PC Ports

From: [at]} <Bob>
Date: Tue, 28 Aug 2012 21:12:01 +0100

----boundary-LibPST-iamunique-1440931204_-_-
Content-type: text/plain

> From: BlackBox [mailto:BLACKBOX{([at]})nowhere.xy
>
> This is more of a Windows question rather than BlackBox, I think, but
> does anyone know how to write a simple (ASCII) string to the RS232 port
> and to the Bluetooth port?
>
> I am using XP.
>

You should be able to use the V24 module for the RS232.

I used to do quite a lot of RS232 programming about 20 years ago, but I've
forgotten it all and no longer have the books, but it was quite
straightforward under DOS using INT 14h or something like that. Modula-2
systems also had good facilities using coroutines if you wanted to do
asynchronous comms.

I don't know anything about Bluetooth, but if I wanted to write a Blackbox
module to deal with it, I'd model it on CommStreams and / or V24 to keep it
simple.

B


----
To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy----boundary-LibPST-iamunique-1440931204_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGZiaWRpcyBcZGVmZjB7XGZvbnR0YmwN
CntcZjBcZnN3aXNzIEFyaWFsO30NCntcZjFcZm1vZGVybiBDb3VyaWVyIE5ldzt9DQp7XGYyXGZu
aWxcZmNoYXJzZXQyIFN5bWJvbDt9DQp7XGYzXGZtb2Rlcm5cZmNoYXJzZXQwIENvdXJpZXIgTmV3
O319DQp7XGNvbG9ydGJsXHJlZDBcZ3JlZW4wXGJsdWUwO1xyZWQwXGdyZWVuMFxibHVlMjU1O30N
Clx1YzFccGFyZFxwbGFpblxkZWZ0YWIzNjAgXGYwXGZzMjAgPiBGcm9tOiBCbGFja0JveCBbbWFp
bHRvOkJMQUNLQk9YQExJU1RTLk9CRVJPTi5DSF0gT24gQmVoYWxmIE9mIFJvYmVydFxwYXINCj4g
XHBhcg0KPiBUaGlzIGlzIG1vcmUgb2YgYSBXaW5kb3dzIHF1ZXN0aW9uIHJhdGhlci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hcg0KLS0tLVxwYXINClRvIHVu
c3Vic2NyaWJlLCBzZW5kIGEgbWVzc2FnZSB3aXRoIGJvZHkgIlNJR05PRkYgQkxBQ0tCT1giIHRv
IExJU1RTRVJWQExJU1RTLk9CRVJPTi5DSH19AG52YWw=
----boundary-LibPST-iamunique-1440931204_-_---
Received on Tue Aug 28 2012 - 22:12:01 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:29:58 UTC