John, thank you so much! That code works! Java/android have too much brain overhead for me, I could not write clean code for this function by myself. I describe a little how I use your work (and other developers of pskmail-system, xastir and fldigi, thanks to them also). My interest of radios came up when there was major power/cellular network failures after storms some years ago here in countryside of inner Finland. I found out that most cellular base towers did not have emergency power systems. First I installed cb:s in cars and base at home, but when solar activity raised, they become useless at daytime. So I get ham licence and use mostly 10meter band now. Now, I have added location capability to this radio system with andpskmail/pskmail-software. On mobile side system locates me, not my car. It works like this: On pocket I have androidphone and about cigar-box-sized unit with bluetooth,vox.circuit, flat liPo-battery from old phone, and transmitter made from modified little pmr-pcb. (Most pmr:s are easy to mod to 70cm ham band.) Now this little messy box send my location to cars receiver and it goes thro second vox-activated transmitter at 10 meter band to base. Pocketbox can works also like wireles microfon/receiver, in distance of some hundreds meter from car. It is just neat when my location is on the screen, beside rig, on kitchen. But also nice because I work at nights, on isolated place over troubled road from home. One thing I have not yet done is to block location signal to be heard on base station. It would be easy to for example give fldigi to respond some word and start voice announcement with festival-synthesizer when voice conversation is needed. (with fldigis notifications) But I want to have ability to start voice conversation also without extra accessories (that android phone). Also I am planning to make bluetooth-vox "interface" inside handheld ssb-gear (Albrecht 2990). It is a bit poor radio, but weights only 0,5 kg! Now because it drifts a "little" when taked to, say, from +20 to -20 celsius, txid is needed to really work... That original Igate-question was becouse it would be sometimes nice to check remotely how system works, compare modes, power etc. But it is not critical function for system meant to work also on power/cellular network failure :) I can not use remote desktop for that, because of wifi-hotspot/NAT issue. So BIG THANKS FOLK! Tarmo, OH6ECF 2013/3/8 John Douyere <vk2eta@xxxxxxxxx> > Hello Tarmo, > > Sorry I can't comment much on the igate issue as I don't have a PC with me > at present. All I can say is that it is supposed to post to the APRS > network. Have you checked with another web site like aprs.fi? > > Thank you and glad AndPskmail is useful. I have also dedicated an old > Android mobile phone to the AndPskmail application. > > Since you can modify the code I can offer you the following quick option > for the VOX issue: > > Insert the code shown at the bottom of his email just below the line > saying "at.play();" in the send() method of the TxRSID.java source. > > Then adjust the number of seconds you want a leading tone for: see the > line " for (int i = 0; i < 3; i++) { //3 seconds tune". > > Now you will have a leading tone, immediately followed by the rsid, then > the pskmail frame. > > Hope this helps. > > All the best. > > Regards, > > John > > int sr1 = 8000; > int symlen1 = (int) (1 * sr1); //1 second buffer > short[] outbuf1 = new short[symlen1]; > > double phaseincr1; > double phase1 = 0.0; > phaseincr1 = 2.0 * Math.PI * frequency / sr1; > > for (int i = 0; i < 3; i++) { //3 seconds tune > for (int j = 0; j < symlen1; j++) { > phase1 += phaseincr1; > if (phase1 > 2.0 * Math.PI) phase1 -= 2.0 * Math.PI; > outbuf1[j] = (short) ((int) (Math.sin(phase1) * 8386560) >> volumebits); > } > at.write(outbuf1, 0, symlen1); > } > On Mar 8, 2013 7:47 AM, "Tarmo Huttunen" <tarmopaha@xxxxxxxxx> wrote: > >> I wonder if I have misunderstand something... >> >> Igate tab in client jpskmail 1.5.8 says "connected to finland.aprs2.net" >> and in the igate data window I see for example: >> >> 21:16 - OH6ECF/P>PSKAPR,TCPIP*:6232.61N/02720.06E.000/000/ >> >> Now, should I be able to see location of OH6ECF/P (myself:) over internet >> with browser, for example in aprs.fi? Because I can not. (But mapping >> works locally in xastir) >> Also jpskmail/xastir do receive and show stations from igate (they appear >> on the xastir map). >> >> I use andpskmail on local mobile, send location on 10m band to home. >> >> BTW John, VK2ETA thanks for AndPskmail! I modified code a little for >> local purposes, now it sends position beacons like every 3 or 5 minutes. >> You asked comments on this mailing lists so: >> -It works fine! No crashes. I use android 2.2 with bluetooth connection >> and cheap zte-blade whithout sim. >> -somekind of pre-tone before tx would be good with vox. Some rigs start >> transmitting slowly and txid wont work. My ugly solution:I just doubled >> txid-lines on aprs-beacon code... so it sents id twice. >> >> Tarmo OH6ECF >> >> >> >> >> >> >> >> >> >> >>