Cool. That worked. Can you please explain?

Thanks

Homam


On 6 February 2014 17:17, Denis Kenzior <[email protected]> wrote:

> Hi Homam,
>
>
> On 02/06/2014 11:20 AM, Homam Dabis wrote:
>
>> I don't think it is anything to do with the APN as I can connect with
>> the network-manager with out disconnecting the modem or replacing the sim.
>>
>>
> That really doesn't mean anything.
>
>
>  ofonod[18701]: Modem: > AT+CGDCONT=1,"IP","3ireland.ie"\r
>>
>
> Is the APN correct?
>
>
>  ofonod[18701]: Modem: < \r\nOK\r\n
>> ofonod[18701]: drivers/atmodem/gprs-context.c:at_cgdcont_cb() ok 1
>> ofonod[18701]: Modem: > AT+CGDATA="PPP",1\r
>> ofonod[18701]: Modem: < \r\n+CME ERROR: 50\r\n
>> ofonod[18701]: drivers/atmodem/gprs-context.c:at_cgdata_cb() ok 0
>> ofonod[18701]: Unable to enter data state
>> ofonod[18701]: src/gprs.c:pri_activate_callback() 0x22f5900
>> ofonod[18701]: src/gprs.c:pri_activate_callback() Activating context
>> failed with error: Incorrect parameters
>>
>
> If the APN is correct, as a quick hack try changing:
>
>                 gc = ofono_gprs_context_create(modem, 0,
>                                                 "atmodem", data->modem);
>
> in plugins/huawei.c huawei_post_sim() to
>
>                 gc = ofono_gprs_context_create(modem,
>                                         OFONO_VENDOR_SIMCOM_SIM900,
>                                         "atmodem", data->modem);
>
> Regards,
> -Denis
>



-- 
Homam Dabis | Software Consultant
m: +353 86 881 4018
skype: hdabis1

<<BAC7E76C-8B6C-463B-8B8E-8703BA6787AC[6].png>>

_______________________________________________
ofono mailing list
[email protected]
https://lists.ofono.org/mailman/listinfo/ofono

Reply via email to