Feeds:
Posts
Comments

Archive for April 13th, 2008

First App for GAE

The work has been started…
Brainstorming is there___

Read Full Post »

An other application framework has been launched by google few weeks back. After successful launch of google Android platform which was basically for the development of mobile application completely open source as the underlying operatig system was linux and the app programming language was java. Todays’s the last date for the submission of the Android [...]

Read Full Post »

The Java Communications API

Installing the Java Communications API in a Windows Environment
There are some tricks involved in getting the Java Communications API to correctly interact with the Windows system. Among the items that you download from Sun are three very important files:
1- comm.jar
2- win32com.dll
3- javax.comm.properties
For the JVM to recognize the serial ports, proper placement of these files is [...]

Read Full Post »

Plug and Play:
Attach a device with the serial port to the windows machine and it automatical detects and conenct to the com1 of the port
Hyper Terminal:
Go Start> All Programs > Accessories > Communication Tools > Hyper Terminal
Now your are in Hyperterminal window
Configuring Connection with POrt :
Select File > New Configration  ; a dialogue box will appear
Entre Connection name >OK
Connect to > Select the com1 port >Entre
Configure port properties >OK
You are done with the connection.
Verify Connection:
Now test and verify by using [...]

Read Full Post »

Connecting Devices:
Desktop PC, GSM Mobile
Operating System:
Ubuntu
Hyperterminal Utility:
Kermit
Minicom is another one but suitable is you are interested in scripting, kermit could me used through minicom
Connection commands:
>Set modem type none
>Set line /dev/ttyS*
>Set speed 9600
>Set flow rts/cts
>Set flow xon/xoff
>Set stop-bits 2
>connect
As soon as you enter, aconnection would be established
Test Connection:
Run basic AT Commands to test and verify connection
AT
OK
If you receieve OK from the device that verifies the connection is alive
Closing  Connection:
Press Shift and release then press Control then release and now press C
Write the Script:
filename.sh  ; for shell script
<start of file>
set modem type none
set line /dev/ttyS0
if Fail exit 1
set speed 9600
set flow rts/cts
set flow xon/xoff
set parity-bits even
set stop-bits 2
CONNECT
<end of file>
@>kermit command prompt> take filename.sh
Dial instead [...]

Read Full Post »