Questions tagged [java-communication-api]

The java communication API is a Java library with extensions for developing communications applications.

The Java Communications 3.0 API is a Java extension that facilitates developing platform-independent communications applications for technologies such as Smart Cards, embedded systems, and point-of-sale devices, financial services devices, fax, modems, display terminals, and robotic equipment.

source: http://www.oracle.com/technetwork/java/index-jsp-141752.html

13 questions
11
votes
2 answers

How to Answer Call using Java Communication Api with GSM Modem Java

I have successfully Implemented Java Api and Started to Send SMS and Dial Calls.But I am finding it impossible to answer the incoming call .I have tried the RI event ( serialPort.notifyOnRingIndicator(true);).But it is not firing only…
codefreaK
  • 3,584
  • 5
  • 34
  • 65
2
votes
1 answer

Where to download Java Communications API

I want to build a Java application like callerID application. But I can't find the link to download three files: comm.jar win32com.dll javax.comm.properties Some forums said: can be found at http://java.sun.com/products/javacomm. But this link does…
wind
  • 63
  • 1
  • 3
  • 9
2
votes
1 answer

How to get the output of AT command into a string in java?

I am trying to read the result of an AT command (command executed to do various operation to a GSM modem from console). I have seen and successfully tested using the Java OuputStream class to get the result of an AT command as output stream but what…
NavinRaj Pandey
  • 1,674
  • 2
  • 26
  • 40
2
votes
2 answers

Run a java program through java code

I am working in Linux/Ubuntu. I want to run a process in through my java code, which looks like below ProcessBuilder pb = new ProcessBuilder("/usr/lib/flume-ng/bin/flume-ng", "agent", …
1
vote
1 answer

Serial Port Two Way Communication Java Comm API

Hello Guys i have got following Problem. I have got a scanner which I am adressing with commands and receive some lines. At The moment i tried so far with hyperterminal which works perfectly. But now i need those lines in my Programme so I set up…
1
vote
2 answers

What exactly is serial communication?

I recently stumbled across the Java Communication API, which is a javax package meant for "serial communication" in pure Java. I have heard of serial communication many times before, but I guess I don't understand what "serial communication" exactly…
IAmYourFaja
  • 55,468
  • 181
  • 466
  • 756
0
votes
1 answer

How to send data from SIM800 series to a REST API in Java

I am working on a project where I have to create an API which would receive data sent from sim cards over http. For this purpose I am trying to implement a program which can emulate the process so that I can execute AT commands from my java program…
user1184527
  • 113
  • 1
  • 12
0
votes
1 answer

Unable to parse actuall data from com port

I have a 3G Modem which is installed on my computer on COM9 port. I want to read incoming sms from that port. i am using below code. import java.io.InputStream; import java.util.Enumeration; import javax.comm.CommPortIdentifier; import…
Usman Riaz
  • 2,920
  • 10
  • 43
  • 66
0
votes
0 answers

Get device names connected on RS232 port

We are developing a java web application and it must read barcodes. We are using a barcode reader called Gryphon and it works properly. We are able to read barcodes from Java. We are using RXTX API (similar to JAVACOMM). But what we would like to…
Eduardo
  • 1,169
  • 5
  • 21
  • 56
0
votes
2 answers

Reading from a port in Java

Here is the scenario: 1. I have a GSM modem which is connected to my computer, It's working I can read and send SMS via the built-in program. 2. The port assign to my gsm modem is COM11 . I saw it from DeviceManager -> modems -> myModem-> Advance ->…
Usman Riaz
  • 2,920
  • 10
  • 43
  • 66
0
votes
1 answer

Input Stream only returning 1 byte

I am using java comm library to try accomplish a simple read/write to a serial port. I am able to successfully write to the port, and catch the return input from the input stream, but when I read from the input stream I am only able to read 1 byte…
gecko25
  • 71
  • 2
  • 11
0
votes
1 answer

how to implement multiple client-server chat

I have a client-server communication code. but, I actually want multiple clients communicating with the server not other clients, how should I implement it? // This is server code: import java.net.*; import java.io.*; import java.awt.*; import…
Deepali
  • 1
  • 1
  • 5
0
votes
1 answer

Sending and Receivng SMS with Java COMM API

I stumbled upon this guide on how to use it, but being the beginner that I am, it confused me on how to use it until I saw the answer in this guide. However, I noticed that one of the five files is already named SMSClient and the step two in the…
Razgriz
  • 7,179
  • 17
  • 78
  • 150