Discussion:
[BitPim-devel] m500 basic support questions
Sandy Patterson
2008-02-16 21:52:24 UTC
Permalink
So, I'm having some trouble working away at getting the Samsung
sph-m500 to work with bitpim. So far I only get model information, and
battery info.

I am looking for a suggestion as to which direction to go in from some
of you guys with more experience. Here's what I've learned about the
phone:

connects on com4 over blutetooth, can autodetect, sort of, with some
modifications to the bitpim base.

following AT commands produce some interesting results:
AT#PMODE=(0-1) // can set this one as well
AT#PCLINK=(0-1) // can't set this
AT#PCOUT=(0-1) // can't set this
AT$QCDMG // if phone is set to pmode=1 then pcsync shows on screen,
but always says OK

I created a Phone class which is basically the m300media class with
the names changed.
I then start up bitpim, and try to expand out the / directory of the
filesystem. I'm attaching the protocol log for this action. Basically
it's a lot of timeouts.

Could brew be different on the m500? would there be someplace to start
looking to try out different commands? I got hyperterminal up and
running to send modem commands, but I couldn't figure out how to send
brew commands through this, or even what they are.

Sorry if any of these questions are dumb. I haven't done python
before, but have lots of experience with other languages.

Thanks for any help you can give.

Sandy Patterson






16:36:48.420 COM4: USB support is not available
16:36:48.420 COM4: Opening port COM4, 115200 baud, timeout 3.000000,
hardwareflow 0, softwareflow 0
16:36:50.181 COM4: Open of comm port suceeded
16:36:50.181 SPH-M500: Listing subdirs in dir: ''
16:36:50.181 SPH-M500: sendbrewcommand Data - 2 bytes
<#! phones.p_brew.memoryconfigrequest !#>
00000000 59 0c Y.

16:36:53.717 COM4: Timed out - flushing and trying again
16:36:56.742 COM4: Timed out waiting for 7e, requested bytes 1 - 0 bytes read
16:36:56.752 COM4: Incomplete read was Data - 0 bytes

16:36:56.752 SPH-M500: sendbrewcommand Data - 2 bytes
<#! phones.p_brew.memoryconfigrequest !#>
00000000 59 0c Y.

16:36:59.786 COM4: Timed out - flushing and trying again
16:37:02.811 COM4: Timed out waiting for 7e, requested bytes 1 - 0 bytes read
16:37:02.811 COM4: Incomplete read was Data - 0 bytes

16:37:02.851 COM4: Changed port speed to 38400
16:37:03.351 SPH-M500: sendbrewcommand Data - 2 bytes
<#! phones.p_brew.memoryconfigrequest !#>
00000000 59 0c Y.

16:37:06.385 COM4: Timed out - flushing and trying again
16:37:09.410 COM4: Timed out waiting for 7e, requested bytes 1 - 0 bytes read
16:37:09.420 COM4: Incomplete read was Data - 0 bytes

16:37:09.480 COM4: Changed port speed to 115200
16:37:09.980 SPH-M500: sendbrewcommand Data - 2 bytes
<#! phones.p_brew.memoryconfigrequest !#>
00000000 59 0c Y.

16:37:13.025 COM4: Timed out - flushing and trying again
16:37:16.069 COM4: Timed out waiting for 7e, requested bytes 1 - 0 bytes read
16:37:16.069 COM4: Incomplete read was Data - 0 bytes

16:37:16.079 COM4: Writing Data - 8 bytes
00000000 41 54 2b 47 4d 4d 0d 0a AT+GMM..

16:37:16.150 COM4: Reading remaining data Data - 20 bytes
00000000 53 50 48 2d 4d 35 30 30 2f 31 35 34 0d 0a 0d 0a SPH-M500/154....
00000010 4f 4b 0d 0a OK..

16:37:16.160 COM4: Writing Data - 10 bytes
00000000 41 54 24 51 43 44 4d 47 0d 0a AT$QCDMG..

16:37:19.243 COM4: Reading remaining data Data - 6 bytes
00000000 0d 0a 4f 4b 0d 0a ..OK..

16:37:19.253 SPH-M500: sendbrewcommand Data - 2 bytes
<#! phones.p_brew.memoryconfigrequest !#>
00000000 59 0c Y.

16:37:22.299 COM4: Timed out - flushing and trying again
16:37:25.322 COM4: Timed out waiting for 7e, requested bytes 1 - 0 bytes read
16:37:25.322 COM4: Incomplete read was Data - 0 bytes

16:37:25.362 COM4: Changed port speed to 38400
16:37:25.864 SPH-M500: sendbrewcommand Data - 2 bytes
<#! phones.p_brew.memoryconfigrequest !#>
00000000 59 0c Y.

16:37:28.917 COM4: Timed out - flushing and trying again
16:37:31.943 COM4: Timed out waiting for 7e, requested bytes 1 - 0 bytes read
16:37:31.953 COM4: Incomplete read was Data - 0 bytes

16:37:31.983 COM4: Changed port speed to 115200
16:37:32.493 SPH-M500: sendbrewcommand Data - 2 bytes
<#! phones.p_brew.memoryconfigrequest !#>
00000000 59 0c Y.

16:37:35.507 COM4: Timed out - flushing and trying again
16:37:38.532 COM4: Timed out waiting for 7e, requested bytes 1 - 0 bytes read
16:37:38.542 COM4: Incomplete read was Data - 0 bytes

16:37:38.542 Failed to read filesystem
16:37:38.552 SPH-M500: Listing files in dir: ''
16:37:38.552 SPH-M500: sendbrewcommand Data - 2 bytes
<#! phones.p_brew.memoryconfigrequest !#>
00000000 59 0c Y.

16:37:41.575 COM4: Timed out - flushing and trying again
16:37:44.611 COM4: Timed out waiting for 7e, requested bytes 1 - 0 bytes read
16:37:44.611 COM4: Incomplete read was Data - 0 bytes

16:37:44.611 SPH-M500: sendbrewcommand Data - 2 bytes
<#! phones.p_brew.memoryconfigrequest !#>
00000000 59 0c Y.

16:37:47.644 COM4: Timed out - flushing and trying again
16:37:50.700 COM4: Timed out waiting for 7e, requested bytes 1 - 0 bytes read
16:37:50.700 COM4: Incomplete read was Data - 0 bytes

16:37:50.750 COM4: Changed port speed to 38400
16:37:51.250 SPH-M500: sendbrewcommand Data - 2 bytes
<#! phones.p_brew.memoryconfigrequest !#>
00000000 59 0c Y.

16:37:54.285 COM4: Timed out - flushing and trying again
16:37:57.309 COM4: Timed out waiting for 7e, requested bytes 1 - 0 bytes read
16:37:57.309 COM4: Incomplete read was Data - 0 bytes

16:37:57.358 COM4: Changed port speed to 115200
16:37:57.859 SPH-M500: sendbrewcommand Data - 2 bytes
<#! phones.p_brew.memoryconfigrequest !#>
00000000 59 0c Y.

16:38:00.894 COM4: Timed out - flushing and trying again
16:38:03.938 COM4: Timed out waiting for 7e, requested bytes 1 - 0 bytes read
16:38:03.948 COM4: Incomplete read was Data - 0 bytes

16:38:03.948 COM4: Writing Data - 8 bytes
00000000 41 54 2b 47 4d 4d 0d 0a AT+GMM..

16:38:03.989 COM4: Reading remaining data Data - 20 bytes
00000000 53 50 48 2d 4d 35 30 30 2f 31 35 34 0d 0a 0d 0a SPH-M500/154....
00000010 4f 4b 0d 0a OK..

16:38:03.999 COM4: Writing Data - 10 bytes
00000000 41 54 24 51 43 44 4d 47 0d 0a AT$QCDMG..

16:38:07.062 COM4: Reading remaining data Data - 6 bytes
00000000 0d 0a 4f 4b 0d 0a ..OK..

16:38:07.072 SPH-M500: sendbrewcommand Data - 2 bytes
<#! phones.p_brew.memoryconfigrequest !#>
00000000 59 0c Y.

16:38:10.107 COM4: Timed out - flushing and trying again
16:38:13.131 COM4: Timed out waiting for 7e, requested bytes 1 - 0 bytes read
16:38:13.141 COM4: Incomplete read was Data - 0 bytes

16:38:13.181 COM4: Changed port speed to 38400
16:38:13.693 SPH-M500: sendbrewcommand Data - 2 bytes
<#! phones.p_brew.memoryconfigrequest !#>
00000000 59 0c Y.

16:38:16.717 COM4: Timed out - flushing and trying again
16:38:19.740 COM4: Timed out waiting for 7e, requested bytes 1 - 0 bytes read
16:38:19.750 COM4: Incomplete read was Data - 0 bytes

16:38:19.811 COM4: Changed port speed to 115200
16:38:20.322 SPH-M500: sendbrewcommand Data - 2 bytes
<#! phones.p_brew.memoryconfigrequest !#>
00000000 59 0c Y.

16:38:23.345 COM4: Timed out - flushing and trying again
16:38:26.371 COM4: Timed out waiting for 7e, requested bytes 1 - 0 bytes read
16:38:26.381 COM4: Incomplete read was Data - 0 bytes

16:38:26.381 Failed to read filesystem
Joe Pham
2008-02-16 22:41:53 UTC
Permalink
m300pim uses these.
Post by Sandy Patterson
I created a Phone class which is basically the m300media class with
the names changed.
m300media uses the diag interface, not the modem one.

-Joe Pham


_____________________________________________________________
Click for free info on masters of IT degrees and make up to $200K/ year.
http://thirdpartyoffers.netzero.net/TGL2211/fc/Ioyw6ijlVgZ16CWQoz051PrgTYgfWMObIFoABIKdQmnMFm8gA4GJ6E/
Loading...