I'm trying to help a friend out on a project leveraging the TC65i from MTX. It has one serial port and one usb port. Its the
MTX-65i-RS485 LC
I use a Mac but have VirtualBox running a Windows 7 VM. I have installed NetBeans 7.4 and the Citerion WTK and MES and have been able to build and deploy an app to the device. I know that because I can navigate to the "Module" from my computer and I see the .jar and .jad file in the a dir.
I have a few issues:
1. When I try just a sample hello world type example from the javacint website I am unable to debug from NetBeans. I think it may have to do with the fact that VirtualBox assigns a 10.0.x.x ip address to the VM and I thought I saw somewhere the debugger requires a 192.168.x.x ip. When I installed the MES I remember I did not change any of the values so its set to 192.168.0.2 and 192.168.0.1 using port 12345. My goal is to run a java program and view the stdout somewhere. I was able to set the stdout to file and navigate to the module to view the log file that is created from my stdout but that is not idea. Basically when I start the java application (either with netbeans or with an AT command) I no longer can attach to the device with putty. I tried setting the stdout to USB but can not figure out how to 'attach' to view the std out.
2. I have another app that I am writing that attempts to make an http post to a web service on heroku. The std out log file that is being generated is complaining that my "Profile could not be activated". I read something about my sjnet was not set properly so I set it using a command I found that set it to "gprs", "internet". I'm not exactly sure what needs to be set and if it has to be set once with an AT command or does it have to be set in my java program each time it runs.
Our end goal is to have a small java application that is pulling data from the rs485 and post the data to a server. My application works in a regular cldc 1.1 emulator but I keep hitting hurdles trying to get it to work on the device.
Jake