Chris Peterson
2007-09-11 07:06:53 UTC
hi, I'm trying to add support for my Samsung SPH-M500 phone to BitPim (using
Mac OS X 10.4). I'm having trouble detecting my phone's model information.
I believe I have my BitPim dev environment configured correctly. I have
successfully built sqlite-3.4.2 and apsw-3.3.13-r1 from source. I can sync
BitPim from SVN and run the 'python bp.py' GUI. I already know Python and
I've created stub files for com_samsungsphm500.py and p_samsungsphm500.p
(and protogen'd p_samsungsphm500.py).
My problem:
DetectPhone.__get_data() returns a valid manufacturer and firmware_version,
but that's all:
r = {'mode_modem': True, 'mode_brew': False, 'firmwareresponse': None,
'esn': '', 'model': '', 'firmware_version': 'ES.M500 1 [Nov 03 2006
16:17:56]', 'manufacturer': 'SAMSUNG ELECTRONICS CO., LTD.'}
In the Protocol Log, I see that the phone does seem to be returning a valid
GMM response: "SPH-M500/154":
23:52:17.890 /dev/cu.usbmodem3B11: Writing Data - 8 bytes
00000000 41 54 2b 47 4d 4d 0d 0a AT+GMM..
23:52:17.890 /dev/cu.usbmodem3B11: 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..
Any ideas why DetectPhone.__get_data() could see the manufacturer and
firmware_version, but not model in the GMM response?
thanks,
chris peterson
Mac OS X 10.4). I'm having trouble detecting my phone's model information.
I believe I have my BitPim dev environment configured correctly. I have
successfully built sqlite-3.4.2 and apsw-3.3.13-r1 from source. I can sync
BitPim from SVN and run the 'python bp.py' GUI. I already know Python and
I've created stub files for com_samsungsphm500.py and p_samsungsphm500.p
(and protogen'd p_samsungsphm500.py).
My problem:
DetectPhone.__get_data() returns a valid manufacturer and firmware_version,
but that's all:
r = {'mode_modem': True, 'mode_brew': False, 'firmwareresponse': None,
'esn': '', 'model': '', 'firmware_version': 'ES.M500 1 [Nov 03 2006
16:17:56]', 'manufacturer': 'SAMSUNG ELECTRONICS CO., LTD.'}
In the Protocol Log, I see that the phone does seem to be returning a valid
GMM response: "SPH-M500/154":
23:52:17.890 /dev/cu.usbmodem3B11: Writing Data - 8 bytes
00000000 41 54 2b 47 4d 4d 0d 0a AT+GMM..
23:52:17.890 /dev/cu.usbmodem3B11: 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..
Any ideas why DetectPhone.__get_data() could see the manufacturer and
firmware_version, but not model in the GMM response?
thanks,
chris peterson