Implementing I2C on Siemens TC65

Hi,
I need an assistance with I2c protocol, just some basic questions.
Do you need connector object, and connection to start and control I2C, or all control is done by AT commands ?
If You need connector and connection, what type of connection should I use.
And if it is all done by AT commands ... How do you control input stream only by AT commands ?!
An example code would be welcome, if not any help is appreciated.
Message was edited by:
zutikombi

AT commands require (example in Siemens TC65 AT command set) terminal program. (I don't have it in Java) ...
After issuing command AT^SSPI an stream connection is established. Send/reicieve until # sign occures ...
The true question is how to make stream readable in Java program ?!, probably trough connector and connection ... But how to configure it for I2C comunication ...

Similar Messages

  • Siemens TC65 and Linux

    Hi, I'm trying to work with the Siemens TC65 on Linux.
    So far I've installed the J2ME Wireless Toolkit and the EclipseME plugin for eclipse. Now the tutorial I have tells me that I need to install the Siemens TC65 SMTK Enviroment, but i have only a Windows version of this software.
    Does anyone know if there is a linux version of this? If so where can I find it?
    Also if there is no linux version available, how can I get around this problem? Could I use Wine for instance?
    Thanks,
    Felipe

    Another problem can be here: "blocking=off" in your code, when you create a new CommConnection. This tells that "if there is no data on stream go further and don't wait for incoming data". Put it on, so it blocks until the device responds to your request.
    For information the "non-blocking" receive is used in pooling mode, when you have a thread that runs in loop checks for data at a specified interval of time, when
    "blocking" receive waits until it receive something.

  • Connection Siemens TC65 to PC via serial port

    I don't connect Siemens TC65 via serial port . How can I do this? How can I upload java code in tc65..
    Is there anyone to solve this problem?

    tajava
    Welcome to the forum. Please refrain from posting in old threads that are long dead. When you have a question, please start a topic of your own. Feel free to provide a link to an old thread if relevant.
    I also suggest you go through these links before posting again:
    [How to ask questions the smart way|http://catb.org/~esr/faqs/smart-questions.html]
    [How To Get Good Answers To Your Questions|http://www.tek-tips.com/viewthread.cfm?qid=473997]
    I'm locking this thread now.
    db

  • Problem with AT^SJOTAP command using Siemens TC65

    I am trying to use OTAP to install a jar file onto a TC65 module using the AT^SJOTAP command. I have the jar and jad file on my server, and when I issue the AT command I can see the jad file being read but that's as far as it gets before timing out. I have the notify URL set but I don't receive any error codes.
    Using the syslog AT command I get this output.
    [OTAP] Parameters set per AT command:
    [OTAP] JAD File URL: http://[myserver]:8081/TC65apps/myapp.jad
    [OTAP] App Dir: a:
    [OTAP] Bearer: GPRS
    [OTAP] Apn Or Num: goto.virginmobile.uk
    [OTAP] Net User: user
    [OTAP] Notify URL: http://[myserver]:8081/RES/services/RES/register
    [OTAP] Parameters set per AT command:
    [OTAP] JAD File URL: http://[myserver]:8081/TC65apps/myapp.jad
    [OTAP] App Dir: a:
    [OTAP] Bearer: GPRS
    [OTAP] Apn Or Num: goto.virginmobile.uk
    [OTAP] Net User: user
    [OTAP] Notify URL: http://[myserver]:8081/RES/services/RES/register
    [OTAP] Parameters for current procedure:
    [OTAP] JAD File URL: http://[myserver]:8081/TC65apps/myapp.jad
    [OTAP] App Dir a:
    [OTAP] Http User:
    [OTAP] Http Pwd:
    [OTAP] Bearer: GPRS
    [OTAP] Apn Or Num: goto.virginmobile.uk
    [OTAP] Net User: user
    [OTAP] Net Pwd:
    [OTAP] Dns: 0
    [OTAP] Notify URL: http://[myserver]:8081/RES/services/RES/register
    [OTAP] Try to establish a GPRS connection ...
    [OTAP] GPRS connection established.
    [OTAP] Try to get http://[myserver]:8081/TC65apps/myapp.jad ...
    [OTAP] Connected.
    [OTAP] ERROR: Otap timer expired!
    [OTAP] Reboot now.
    Sometimes I will actually get an empty jad file in my app dir, but that's it. I've read through all the documentation several times and searched this forum to no avail.
    Any insight would be much appreciated.

    Hi Kiran,
    Generally double click works with 'F2' but try using this sy-ucomm value '&IC1'.
    You can as well validate your logic using system fields like sy-lilli for clicking and sy-lisel for the values that have been stored on your click.
    Hope it helps!
    Much Regards,
    Amuktha.
    Edited by: Amuktha Naraparaju on Feb 16, 2009 12:22 PM

  • Send and receive UDP data package based on siemens TC65 module

    Everyone:
    I am newer for J2ME. I have a TC65 module, I want to get a sending and receiving UDP data package exeample codes running on TC65. who can help me? thanks!

    Hi deepspace,
    I programmed a demo codes and run it on TC65T, debug trace like :
    at^sjra=a:/NetDemo.jar
    OK
    NetDemo: Constructor
    NetDemo: startApp
    NetDemo: Profile could not be activated
    NetDemo: destroyApp(true)
    // below is demo codes, can you help me where error is?
    package example.netdemo;
    import javax.microedition.midlet.*;
    import java.io.*;
    import javax.microedition.io.*;
    import javax.microedition.io.Datagram;
    import javax.microedition.io.DatagramConnection;
    public class NetDemo extends MIDlet {
    public NetDemo()
    System.out.println("NetDemo: Constructor");
    public void startApp() throws MIDletStateChangeException
    System.out.println("NetDemo: startApp");
    try
    DatagramConnection conn = (DatagramConnection) Connector.open("datagram://58.185.157.91:12003");
    byte[] buffer = new byte[32];
    Datagram dgram = conn.newDatagram(buffer, buffer.length);
    for (int i = 0; i < 30; i++) {
    buffer[i] = (byte)('0' + (i % 10));
    conn.send(dgram);
    catch (Exception e)
    System.out.println("NetDemo: " + e.getMessage());
    destroyApp(true);
    public void pauseApp() {
    System.out.println("NetDemo: pauseApp()");
    public void destroyApp(boolean cond) {
    System.out.println("NetDemo: destroyApp(" + cond + ")");
    notifyDestroyed();
    }

  • I2c implementation using NI-6008

    Hi everybody
    I have a NI-6008 Low cost multifunction DAQ.
    Can i use this with voltage level shifter to implement I2C protocol...
    Solved!
    Go to Solution.

    Hi vam,
    please stop creating double/multiple posts for the very same question!
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • Rs232 and TC65

    hello everybody, i'm new here and i need some help.
    i'm trying to develop an application on SIEMENS TC65. There is a communication using RS232 between the terminal and a coffee machine. The machine is abble to send data randomly. The terminal must receive this data and make others things that's why i'd like to find a way to check the connection and IN THE SAME TIME to launch others methods. I am using the CommConnection interface but i'm not sure it will allow me to do what i want.
    thanks

    Hi there!
    I have moreless the same problem as Emmanuel, I�m searching for code that implements a comunications between the TC65 and any other equipment via RS232. Can you help me in finding the Java-ME code to write and read from the TC65 RS232 port. Is for a telemetry solution, that I have to find if the TC65 is the right modem to do the job.
    Regards
    Antonio

  • I2C data send using USB-to-I2C converter

    Hi guys me again
    Just when things started to look good another trouble comes
    We thought we will buy NI-8451 to implement I2C. We contacted NI also but suddenly another student comes and says we can implement I2C using Devantech USB-to-I2C converter..
    Can it be implemented using VISA(all operation of I2C like read, write, ack, clock stretching)???
    Thanks in advance

    I never used that device, but ran across it while searching for alternate I2C and SPI devices. That uses a standard FTDI interface chip, so the device shows up as a serial device. So, yes, you'd be able to use VISA to communicate with it. Please check the documentation for the device in the future.

  • How to initialize System time?

    Hello everybody.
    I'm working with a Siemens TC65.
    I work without battery. When I supply the module, I get from System.currentTimeMillis() this value: 1009843232546, which I think corresponds to Tue Jan 01 00:00:32 UTC 2002.
    Obviously, I wish to set the correct system time.
    Does anybody knows how to set the system time?
    Thanks in advance.
    Message was edited by:
    Jordi_E

    I am experiencing the exact same problem. I am synchronising
    my time with an sntp server and setting the tc65 system time
    with AT+CCLK.
    Unfortunately System.currentTimeMillis() is still showing the old time,
    even after waiting up to 10s after AT+CCLK. So how do I get it to show
    the new correct time?
    Problem is I cannot restart the module everytime the time is set because
    I need to listen to incoming data.
    Any suggestion would be really helpful. Thanks

  • MM Book

    hi friends,
    Can any one tell me the best books to learn about
    Book1) "SAP MM Module"
    Book2) "SAP Implementation Cyle".

    Hi,
      Siemens Material is available in this site
    http://mysapbi.blogspot.com/2007/01/sap-help-in-pdf-files.html
      http://www.sapbrain.com/TUTORIALS/TECHNICAL
    Check these link:
    http://www.sap-img.com/abap/difference-between-batch-input-and-call-transaction-in-bdc.htm
    http://www.sap-img.com/abap/question-about-bdc-program.htm
    http://www.itcserver.com/blog/2006/06/30/batch-input-vs-call-transaction/
    http://www.planetsap.com/bdc_main_page.htm
    call Transaction or session method ?
    http://www.sapbrain.com/FAQs/TECHNICAL/SAP_ABAP_DATADICTIONARY_FAQ.html
    http://www.****************/InterviewQ/interviewQ.htm
    http://help.sap.com/saphelp_46c/helpdata/en/35/2cd77bd7705394e10000009b387c12/frameset.htm
    Reports
    http://www.sapgenie.com/abap/reports.htm
    http://www.allsaplinks.com/material.html
    http://www.sapdevelopment.co.uk/reporting/reportinghome.htm
    http://www.sapfans.com/forums/viewtopic.php?t=58286
    http://www.sapfans.com/forums/viewtopic.php?t=76490
    http://www.sapfans.com/forums/viewtopic.php?t=20591
    http://www.sapfans.com/forums/viewtopic.php?t=66305 - this one discusses which way should you use - ABAP Objects calls or simple function modules.
    ALE/ IDOC
    http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
    http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
    http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
    http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
    http://www.sapgenie.com/sapedi/index.htm
    http://www.sappoint.com/abap/ale.pdf
    http://www.sappoint.com/abap/ale2.pdf
    http://www.sapgenie.com/sapedi/idoc_abap.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/0b/2a60bb507d11d18ee90000e8366fc2/frameset.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/78/217da751ce11d189570000e829fbbd/frameset.htm
    http://www.allsaplinks.com/idoc_sample.html
    http://www.sappoint.com/abap.html
    http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
    http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
    http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
    http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
    http://www.sapgenie.com/sapedi/index.htm
    http://www.allsaplinks.com/idoc_sample.html
    Regards,
    nandha

  • NI6008

    Bonjour,
    je souhaiterais communiquer avec un module esclave en SPI. j'ai à ma disposition le NI USB 6008. J'aimerais savoir si je peux utiliser les 12 E/S numeriques de NI USB 6008 en tant que broches pour le SPI ( MOSI , MISO, CS, CLK).   merci de votre aide.
    Solved!
    Go to Solution.

    Bonjour,
    Un sujet a déjà été ouvert au sujet d'une communication SPI sur des sorties digital Static, je vous invite à le consulter.
    https://forums.ni.com/t5/Digital-I-O/Implementing-I2C-or-SPI-with-Pxi6508-in-Labview/td-p/554383
    Sinon, ce type de matériel est plus adéquat pour cette application.
    http://sine.ni.com/nips/cds/view/p/lang/fr/nid/202368
    Cordialement,
    Jovan N. - Application Engineering

  • Simens TCP/IP stack

    Hi,
    I worked all the day to watch TCP packets traveling between my J2ME client (GPRS connection) and my J2EE server (Internet connection).
    I used WireShark (ex Ethereal) to sniff the network.
    I could see through this sniffer that sometimes, my client TCP connection are not terminated (FIN flag). After, another connection (SYN flag) is established and everything is fine...and maybe after it will appear again...
    In addition, sometimes (again), my client write on its socket outputstream and I can't see the TCP packet on my sniffer (so my server is waiting until a timeout occurs)...
    (see my last post... http://forum.java.sun.com/thread.jspa?threadID=5261959)
    I work on a Siemens TC65. Globally, do you guys saw some weird stuff like this with mobile TCP stack ? I mean is there something to know about TCP protocol with mobile phone?
    I'm really pissed about this I don't know if I made a mistake or if GPRS connection is not reliable with TCP!
    Thanks...

    AdrienD wrote:
    SIEMENS
    TC65
    REVISION 02.800I never heard of this one... We are still working with the 2.000 releases and we are getting prereleases of the rev 3 modules soon. Is this one of those maybee? If so, you might try a rev 2.000 module..
    What is your client, and what is your server, and where are they located?My server is in my private network. I added a NAT on my router to link every TCP connection on port 9000 to my server private ip address. That's called port forwarding.
    My client is connected through GPRS on its local mobile network to my ISP router (I guess).
    When I see a TCP packet coming from my client, source IP address is an Internet IP so I think it is my ISP public IP address ....
    My server...<-------------------> My router (with NAT on TCP port 9000) <------------INTERNET------------> ISP Router <----------------------> My clientYes, usually, the GPRS network is a NAT'ed network, meaning that every unit will present itself with the same IP to the server. The ISP NAT router manages TCP connections and therefore knows where it should the TCP packets to. This way, you can't directly connect to any of the GPRS units.
    Other ISP might actually give every GPRS unit a real internet IP, making it possible to connect to the units directly. We have our own APN, and the units get an IP directly form out own authentication server and reside in our own network via a VPN connection. This way we have all the freedom we need.

  • I2c labview Implementation

    Dear All,
    I am developing one application which communicates with a µC (texas Instruments M430F160) usign I2C.
    The communication must run using a serial port (RS 232)--> This is a requirements.
    I cannot use any additional hardware. Loking in internet I have found several solution with FPGA and so on but anything that has been implemented directly in Labview.
    Is there anybody that has found a solution for that?
    Thanks in advance for your support.
    Regards
    Andrea

    Hi All,
    after collecting your questions, I discussed with other colleagues and I gor additional mode info about the system and requirements.
    The complete system has 2 µC's: one is the Master and the second one the Slave.
    The communication between the µC's is done using I2C.
    In  normal operation, there is a software (loaded in an external EEPROM) that is taking care all: communication, setting, interrupts and so on.
    When we are in debugging mode, we need the PC that is sending command using the RS232 to the Master.
    Actually to perform that, we use TeraTerm with terminal VT100 and the code is wrote with Notepad.
    In attachment, we have an example of code and one picture of the communication system between PC and Master µC.
    Now, our target is to replace this terminal with a GUI developed in Labview.
    Before the start the complete application, I wanted to creat some small VI's to checl the communication using the serial protocol.
    In any cases, yesterday I did some additional tests (using a logic analyzer) and I have figure out that what I was sending to the Master with Labview is not the same when I used TeraTerm. 
    In particular the termination characters were different.
    For example, I sent 2 commands:
    WI F3
    RI 01
    These commands perform a reading of 1 byte in register at Fe address.
    In attachment you could find the datalog using Labview and TeraTerm.
    I think that something is missing in my VI's that consider the termination and (second problem) at the moment I do not habe any solutions to read the back from µC without using READ VI.
    I have to say sorry again from my previous posts and no so precise info. Hopefully some of you have some ideas.
    Thanks in advance.
    BR
    Andrea
    Attachments:
    System.png ‏90 KB
    Code Example.txt ‏2 KB
    Labview_vs_TeraTerm.xlsx ‏13 KB

  • How can make a UDP conection in TC65 siemens module

    Hi to all, I have a TC65 siemens module Release 2, How can make a UDP conection for sending data?, is necesary crate a profile conection with AT commands?
    Thank.

    please don't double post...

  • How to implement the DLL for the I2C USB Converter from Coptonix

    I need to implement the DLL for the I2CUSB Converter from Coptonix into a LV-Program.
    I'm not sure how to use the BroadcastSystemMessage (part of user32.dll).
    Attached you will find the manual of the converter.
    And you'll see the VI that I have created.
    Many thanks in advance!
    Silvio
    Attachments:
    Fenster_I2CUSB_GetDeviceInfo_LV2010.JPG ‏94 KB
    IICUSB32DLL.pdf ‏58 KB

    Hello smercurio_fc
    Thank you very much for your posting. I'm able now to deal with the BroadcastSystemMessage... One problem still occures: I can start the VI once and it returns 9 messages (for every event that the DLL sees), but if I start the VI again
    it adds 6 additional messages. I tried to flush the MessageQueue but that didn't help? What can I do?
    Attachments:
    COD01.0420-PP_Test17_I2C_Version_03.vi ‏43 KB
    COD01.0420-PP_IIC_Teilbereich_01.JPG ‏201 KB
    COD01.0420-PP_IIC_Teilbereich_02.JPG ‏206 KB

Maybe you are looking for

  • Can't burn a disc from itunes.

    I am trying to copy an album I have bought, for use in my car but get the message ' Burner software missing' I have done all updates but can't work out what to do next.

  • How to copy total freight value from pricing procedure to TAXINN procedure

    Dear Experts, I want to copy the total freight value from pricing procedure to TAXINN procedure , i think i have to use SUBROUTINE for that but can you guide me what is the routine number and in which coloum i i have to use e.g. requirement, or ALt C

  • NON-SAP Systems in IBASE

    Hello, i have maintained ibase entries for non-sap systems as discussed in an other thread, the entry looks like this: NSI 000000000 001 and then i put the same entry in the identification tab, but when i go to the work center and try to open a messa

  • Email issue with Safari

    Whenever I am in the email client then click on a link that redirects me to safari, I cannot go back to mail without clicking the home button which closes everything then going back into mail. Am I missing something?

  • Installing iWork 08 on new iMac - white on white

    Hi, yesterday my new iMac arrived and I spend till now to install all the programs. All works fine, VMWare Fusion, Master Collection, Microsoft Office. I installed the iWork08 I used on the "old" iMac. With success. But when I open numbers or pages,