Re: SMS sending error with Telit module



On Wed, 2013-03-27 at 14:39 +0100, Enrico Murador - Research &
Development - CET wrote:
On 27/03/2013 14:11, Aleksander Morgado wrote:

In MM 0.7.x, make sure you *unlock* the PIN (if needed) and *enable* the
modem before trying to send SMS, e.g. (assuming index 0 for SMS and modem):
  $> sudo mmcli -i 0 --pin=1234
  $> sudo mmcli -m 0 -e
On rows 391/392 of modemLog-V7_99:

<debug> [1364372591.473118] [mm-at-serial-port.c:397] debug_log(): 
(ttyUSB2): <-- '<CR><LF>+CPIN: READY<CR><LF><CR><LF>OK<CR><LF>'
<debug> [1364372591.476778] [mm-iface-modem.c:2692] 
update_lock_info_context_step(): SIM is ready, and no need for the after 
SIM unlock step...

Does this means that PIN is unlocked?

Also, not sure what you mean with 'failed' startup. In the logs I just
see that the modem was plugged in, nothing else.

On MM 5.2 log, I see that modem goes from DISABLED state to ENABLING, 
then ENABLED, then REGISTERED. After that I can start a data connection 
with "nmcli con up id ...".
On MM 7.99 log, the only state change I see is: "Modem: state changed 
(unknown -> disabled)". I've tried to make a connection with the wizard 
(it was a fresh install of 12.10, so no already existing mobile 
connections) , but it shows me no modems on the device selection list.

Maybe I should create a connection with previous NM(9.6) then upgrade NM 
and MM?

NetworkManager needs to be rebuilt with support for the new ModemManager
from git master.  Otherwise it only knows about MM 0.6 and earlier.  So
if you're using the stock NM from 12.10, it won't know how to talk to
latest MM.

Best thing to do there is to use the mmcli commands as Aleksander
suggested, so we can see if everything works correctly.  Then you can
move on to using an NM PPA or something to get a more up-to-date NM.

Dan



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]