Sony Ericsson / Sony : Software, Firmware and Drivers : fMA f[??] Mobile Agent, software for sms and phone monitoring
>
New Topic
>
Reply<
Esato Forum Index
>
Sony Ericsson / Sony >
Software, Firmware and Drivers
> fMA f[??] Mobile Agent, software for sms and phone monitoring
Bookmark topic
@float
Hello,
Seems to be a great program, some really nifty programming done there I think
I saw someone was trying to use it on a T300/T310, so I got curious and tried... and it nearly works with the R3B003 software for the T310. I post my observations, for what they're worth...
Syncing now stops after the OBEX get's (of the changelog and/or the whole phonebook database). What seems to be the trouble is this:
------Debug log---------
01:40:39:125 Obex Session Established
01:40:39:250 Obex negotiated: PacketSize=512
01:40:39:265 Retrieving telecom/pb/luid/86.log
01:40:39:515 Retrieving telecom/pb/luid/cc.log
01:40:39:750 Obex Session Ended
01:40:39:765 [TX] AT+CPBS="ME"
01:40:39:859 [RX] OK
01:40:39:875 [TX] AT+CPBR=?
01:40:40:062 [RX] OK -------End Debug log-------
The TForm1.DownloadPhonebook method seems to throw an exception due to the strange "OK" (instead of the +CPBR: (X,Y)... you should expect) it is caught in TfrmSyncPhonebook.btnSYNCClick and the message "Syncronize aborted" is generated. Funnily enough the next AT command works as expected... What I think gives the problem is that the T310 transmits an "\r\nOK\r\n" after the OBEX communication is ended, which eventually shows up as missmatched resonses. I believe other phones just stay silent until an AT command is issued, which makes sense as the OBEX disconnect is already confermed in the OBEX way... Possibly the OK which seems to be the response from AT+CPBS="ME" is actually this obex-ended-OK and the OK causing the whole Phone book refresh to fail is the OK that was ment to be a response to AT+CPBS="ME"... A solution might be to flush input from the phone after an obex disconnect, maybe waiting some half a second or so for the stray OK to arrive. One could also of course look at the telephone identification string and do an explicit read of the OK thingie after OBEX disconnect on a T310 (hacky?), or one could disconnect/flush/reconnect, which would hopefully get rid of the extra OK (hacky2?)...
I cannot get the Delphi code to compile, i've never used Delphi and doesn't seem to get those extra needed libraries working in the right way. Besides I only had a trial version of Delphi7 to work with, so that might be the cause of my trouble compiling.
BTW, with older firmware the phone completely crashed on OBEX communication, so a firmware upgrade made the OBEX server work at least, now it seems syncing T310 is only an "OK" away
OK, that's all...
--
Posted: 2003-07-09 03:21:07
Edit :
Quote
Hi again,
Today I managed to compile MobileAgent (with slight changes, but nevertheless) and could verify the theory about the "stray" OK, using the simple method of sending something that gives another resonse than OK just after the obex disconnect... That makes the at commands/respnses get in sync before the critical part when the number of phonebook entries is requested, i did a AT+CGMI just before the phonebook refresh and the debug log looks like this:
------------------
01:52:09:812 Retrieving telecom/pb/luid/cc.log
01:52:10:093 Obex Session Ended
01:52:10:109 [TX] AT+CGMI
01:52:10:171 [RX] OK 01:52:10:203 [TX] AT+CPBS="ME"
01:52:10:437 [RX] ERICSSON 01:52:10:531 [RX] OK 01:52:10:562 [TX] AT+CPBR=?
01:52:10:875 [RX] +CPBR: (1-200),80,20 01:52:10:968 [RX] OK
--------------------------------
Still not perfect, the switch to phone memory does not seem to bother the phone, it still gives data from SIM, but the program syncs OK now. Maybe someone more accustomed to the code could make a real fix, reading the extra OK from T310? Otherwise I'll try to get something working myself and mail some real developer the code/diff when it seems to work, but I'm really no Delphi programmer, so the changes I make might need some reviewing
--
Posted: 2003-07-10 02:17:31
Edit :
Quote
Great job bufflig,
Please continue your effort as none of us are free at the moment, neither do we have a T300/T310 to test with. Just check your changes in and sent me a mail i will do some 'proof reading' so that it will not void other functionality.
Try not to check in any changes related to Delphi7 port, i actually have the ported version locally here but other developers does not have the compiler. (if you want that i can maybe zip it up and sent it to you)
Thanks!
/floAt
p/s: In case anyone want mail me, do not mail to the hotmail address as it will be burried deep in those spam, mail to the eflame.com address instead.
--
Posted: 2003-07-10 05:11:38
Edit :
Quote
Really nice app, must upgrade my firmware for my T310 so i can sync my contacts.
--
Posted: 2003-07-10 15:31:13
Edit :
Quote
Bufflig,
I have been trying to connect to my T300 using serial cable and mobileagent for 3 days and still can't get it to work. I tried on W2K, Win98, WinXP but nothing works. I have also changed the baud rates and RTS/DTS setting, all not working. Could help share your setting or some step that I missed. When I debug I get ATI [TX] that's all. After connection error.
--
Posted: 2003-07-11 12:08:49
Edit :
Quote
Hi all,
I use a t68i and i download the latest verion of fma.
All is ok,but when i want editing the phonebook i 've some informations which are not in the good column.
ex: First name in email, or a long contact is in three columns differnts instead one.
Any idea ?
Thanks o lot for your job.
--
Posted: 2003-07-14 23:23:54
Edit :
Quote
Canīt upload my phonebook to phone. All communication works fine (downloading, SMS sending/recieving, keypad...). When I start synchronizing it is aborted immediately with "Error: synchronize aborted".
I was deleted all contacts from my phone memory and cannot send it back. Itīs really trouble....
I am trying to send it through Bluetooth and IrDa, but results are the same.
Have you some hints how to set my phone or computer?
--
Posted: 2003-07-16 13:55:41
Edit :
Quote
@ *
is there any version fma that will alert your pc? and configure its sound as well, like .wav alert tone?
--
Posted: 2003-07-16 15:14:10
Edit :
Quote
that has been an old feature of fMA.
1) go to start>setttings>control panel>sounds and multimedia. select sounds tab.
2) find the fMA ("float's mobile agent") entry for sound events, then select "SMS received". select the sound that you want.
3) you're done. enjoy
--
Posted: 2003-07-17 06:45:43
Edit :
Quote

First.... A HUGE THANX to FloAt!!!
I've just tried FMA 0.09.9 & i cant just belive it!
I'm using T68i with MA600 IR on my IBM PI WindowsME machine.
FMA works WITHOUT bugging with MPM & WITHOUT using any extra port utility like IrCOMM.
I downloaded that vbscript thingz but still unable to get any of 'em to use. May be someone may do simple documantary (a help file or something) to those stuff.
AND FMA also needs a Help file. I know u guyz are busy.. but can't we try. Also I'm personally like to give a help if i can do any.
FMA is sometimes bit unstable but...
...FloAt, YOU ARE A "ONE!" they are searching for...
--
Posted: 2003-07-17 19:29:41
Edit :
Quote
New Topic
Reply