Giter Club home page Giter Club logo

Comments (3)

GoogleCodeExporter avatar GoogleCodeExporter commented on July 25, 2024
Can provide +CUSD: string for both cases (ok decoding and failure) ?
differs in Data Coding Scheme ?



Bug may be here:
1) K3765  is not listed in at_response_cgmm() as seven_bit_modems
this mean cusd_use_ucs2_decoding and cusd_use_7bit_encoding unaffected by 
at_response_cgmm() for K3765

2) pvt_create() initialize cusd_use_ucs2_decoding = 1 and 
cusd_use_7bit_encoding = 0 (as ast_calloc do)

3) disconnect_dongle() reset cusd_use_ucs2_decoding to 0 instead of 1 

solution: 
1) reset cusd_use_ucs2_decoding and cusd_use_7bit_encoding to default before
look by seven_bit_modems in at_response_cgmm()

2) fix disconnect_dongle() for reset cusd_use_ucs2_decoding  to 1 and 
cusd_use_7bit_encoding to 0



Original comment by [email protected] on 8 Aug 2011 at 9:34

  • Changed state: Accepted

from asterisk-chan-dongle.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 25, 2024
please check r19 and report bug exist or resolved,
i has't K3765 

Original comment by [email protected] on 8 Aug 2011 at 9:45

from asterisk-chan-dongle.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 25, 2024
Applied r19 patch to at_response.c, but not to chan_dongle.c.
Stop, start, ussd now works as expected.

I'd suggest to revert the chan_dongle.c patch, it does not really make sense to 
set cusd_use_ucs2_decoding to 1 there, while setting all other values to 'sane 
uninitialized' values.
One might even argue that the
                pvt->cusd_use_ucs2_decoding     =  1;
line (1385) in chan_dongle.c, function pvt_create could better be set to 0 as 
well.
(Tried that and it works!)

Extra question: at+cscs is used to try setting overall/sms charset to ucs2, and 
response to at+cscs is used to set/not set pvt->use_ucs2_decoding. Does this 
have any relation to the ussd charset capabilities?

Original comment by [email protected] on 9 Aug 2011 at 12:07

from asterisk-chan-dongle.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.