Giter Club home page Giter Club logo

official-arduino's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

official-arduino's Issues

Has a bug when receive pdu SMS.

This lib can't receive chinese sms successfully on arduino mini pro . here is my changes.

  1. set pdu mode in GSM3ShieldV1AccessProvider.cpp

    else if(ct==5)
    {
    // 5: Wait IFC OK
    if(theGSM3ShieldV1ModemCore.genericParse_rsp(resp))
    {
    //Delay for SW flow control being active.
    theGSM3ShieldV1ModemCore.delayInsideInterrupt(2000);
    // 9: SMS pdu Mode
    theGSM3ShieldV1ModemCore.setCommandCounter(6);
    theGSM3ShieldV1ModemCore.genericCommand_rq(PSTR("AT+CMGF=0"));

  2. change the debug code

void GSM3CircularBuffer::printCharDebug(uint8_t c)
{
Serial.print(" [");Serial.print(c);Serial.print("] ");
if((c>31)&&(c<127))
Serial.print((char)c);
else if(c == 13){
Serial.print('\r');
}
else if(c == 10){
Serial.print('\n');
}else{
Serial.print('%');
Serial.print(c);
Serial.print('%');
}
}

------------------BUG------------------------------

when receive SMS.

66 62> [13]
[10]
[43] + [67] C [77] M [71] G [76] L [58] : [32] [49] 1 [44] , [49] 1 [44] , [44] , [56] 8 [56] 8 [13]
[10]
[48] 0 [56] 8 [57] 9 [49] 1 [54] 6 [56] 8 [51] 3 [49] 1 [49] 1 [48] 0 [51] 3 [48] 0 [52] 4 [55] 7 [48] 0 [53] 5 [70] F [48] 0 [50] 2 [52] 4 [49] 1 [50] 2 [65] A [48] 0 [48] 0 [49] 1 [53] 5 [54] 6 [57] 9 [53] 5 [50] 2 [49] 1 [48] 0 [53] 5 [57] 9 [52] 4 [48] 0 [49] 1 [49] 1 [54] 6 [54] 6 [56] 8 [48] 0 [48] 0 [48] 0 [56] 8 [56] 8 [49] 1 [49] 1 [49] 1 [48] 0 [50] 2 [49] 1 [50] 2 [52] 4 [49] 1 [57] 9 [53] 5 [50] 2 [51] 3 [52] 4 [50] 2 [51] 3 [48] 0 [49] 1 [48] 0 [53] 5 [70] F [65] A [69] E [55] 7 [54] 6 [68] D [70] F [51] 3 [48] 0 [49] 1 [49] 1 [48] 0 [48] 0 [51] 3 [55] 7 [48] 0 [48] 0 [51] 3 [55] 7 [48] 0 [48] 0 [51] 3 [57] 9 [48] 0 [48] 0 [51] 3 [57] 9 [70] F [70] F [48] 0 [56] 8 [48] 0 [48] 0 [51] 3 [49] 1 [48] 0 [48] 0 [34] " [48] 0

chop start head,tail=66,62
chop stop head,tail=74,62
Receive a message.
extractSubstring:
chop start head,tail=74,62
chop stop head,tail=84,62
0891683110304705F02412A00156952105940116680008811102124195234230105FAE76DF30110037003700390039FF08003100"05206949F518567096548FF09FF0C8BF74E0D89815C0677ED4FE19A8C8BC17801900F97327ED94ED64EBA3002

sms text has a bug after 103 string ,such as ".

0891683110304705F02412A00156952105940116680008811102124195234230105FAE76DF30110037003700390039FF08003100?405206949F518567096548FF09FF0C8BF74E0D89815C0677ED4FE19A8C8BC17801900F97327ED94ED64EBA3002

PINManager.isPIN()

When i run this program it always give me PINManager.isPIN() value as -2. I have tried many sim cards. Tried setting PIN and resetting it, but unable to get any other output.

Please help.

MemoryFree.h

When I try to use this version, I get...

....../libraries/GSM/MemoryFree.cpp:6:25: error: MemoryFree.h: No such file or directory

The standard installed copy doesn't even have MemoryFree.cpp, so wondering what version this is.

Is there a commit/tag that corresponds to the "official" version?

Question about GSM3IO.h

I wonder : in the file GSM3IO.h, on these lines :
#elif defined(AVR_ATmega2560) || defined(AVR_ATmega1280)
#define TXPIN 3
#define RXPIN 10
#define RXINT 4

Why RXPIN is 10 ? Shouldn't it be 2 ? As INT4 is on PIN2 ?

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.