user1269379
user1269379

Reputation: 11

Java ME RS232 Communication. Power Supply PIN setting

I have 2 emdedded devices (let's say A and B) that will have to communicate via RS232 cable.

A is a Java ME (IMP-NG) programmable device and B is a "closed device" that speak this way:

DB9F Pin utilized:
2 RX
3 TX
4 DTR -> it must be set to +Vcc
5 GND
7 RTS -> it must be set to -Vcc
Vcc=3 - 12V

How to configure programmatically the java environment to provide power suppy on the pin DTR / RTS ?

Neither JavaME CommConnection Interface or hardware specific interface seems to do the job.

That's the A device hardware specification (page 27)

Suggestions?

Upvotes: 1

Views: 417

Answers (1)

Shane Wealti
Shane Wealti

Reputation: 2342

When I have had to interface with a specialized device like this in the past I have had our electrical engineer make a custom cable which provides power on the pins specified by the spec of the specialized device.

Upvotes: 2

Related Questions