Hi Betrand,

> > >   /* For the Qualcomm based devices it is required to clear
> > >    * the list of topics first.  Otherwise setting the new
> > > @@ -128,14 +180,40 @@ static void at_cbs_set_topics(struct ofono_cbs
> > *cbs, const char *topics,
> > >           g_at_chat_send(data->chat, "AT+CSCB=1", none_prefix,
> > >                           NULL, NULL, NULL);
> > >           break;
> > > + case OFONO_VENDOR_ZTE:
> > > +         data->string_limit = 50;
> > > +         g_at_chat_send(data->chat, "AT+CSCB=1", none_prefix,
> > > +                         NULL, NULL, NULL);
> > > +         break;
> > 
> > Why are we copying the Qualcomm quirk over for ZTE?
> 
> Because previously, ZTE modem is using QUALCOMM vendor for CBS creation.
> So I do not want to change this behaviour.

test it again. I am not even 100% that ZTE needs this behavior if the
limitation was on the command line length. However it might. So please
double check and comment it properly.

Regards

Marcel


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

Reply via email to