On Sat, Jul 11, 2009 at 7:49 AM, justinf<jus...@creamcow.com> wrote:
> Hello,
>
> I am using pyhumod on a Mac OSX notebook with the E160 USB (little
> brother to the E220 you have. The E160 is a very popular pay-and-go
> model in the UK).
>
> I modified the pyhumod code to reflect OSX's slightly different /dev
> configuration like this:
>[...]
This is one way of doing it. Another way (which I failed to describe
in the docs other than the docstrings, my apologies):
>>> dataport = '/dev/cu.HUAWEIMobile-Modem'
>>> ctrlport = '/dev/cu.HUAWEIMobile-Pcui'
>>> m = humod.Modem(dataport, ctrlport)
Thanks for your useful suggestions, I'll mention that on the wiki.
> This seems to work, but I think the AT command set varies ever to
> slightly between the E220 & E160.
>
> I'm getting the +CMS ERROR: 500 'catch-all' error.
>
> I'm 99% sure the E160 can support SMS. I know it can receive them, I
> have the smsq.py code base showing received SMS's (but it fails on
> send also): http://code.google.com/p/smsq/source/browse/trunk/smsq.py
According to Huawei it does support SMS services:
http://www.huawei.com/mobileweb/en/products/view.do?id=1960
>[...]
I think you still use the 0.01-beta version as show_model() returned
'^RSSI:13'. This happened because the beta version did not clear the
serial line before sending a new command to the modem. If you keep
getting RSSI value instead then there is definitely something wrong in
here.
Did you try to send text without entering text mode?
What happens when you call m.get_detailed_error() straight after error
500 is returned?
What does m.get_mode() show?
How do other devices (e.g. your mobile) react to sending texts from
this SIM card?
--
best regards,
oozie
http://blog.ooz.ie/
On Sun, Jul 12, 2009 at 9:39 AM, oozie <oo...@ooz.ie> wrote:
[...]
> Did you try to send text without entering text mode?
>
> What happens when you call m.get_detailed_error() straight after error
> 500 is returned?
>
> What does m.get_mode() show?
>
> How do other devices (e.g. your mobile) react to sending texts from
> this SIM card?
Two more things:
What does m.get_networks() say?
What's the output of m.get_service_center()?