Announcement

Collapse
No announcement yet.

Error message using SIM900 Aurduino device

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Error message using SIM900 Aurduino device

    BeeryGaz

    I've connected an Arduino SIM900 via the USB/ttl device and I've got the device working reasonably well. I had all sorts of issues with the Wavecom modem on a USB dongle so I've tried this instead.... Any chance you could have a look at this ? Thankyou

    When I have HS send a message I get the message twice, here is the detailed debug, it appears a command isnt supported ?

    2016.04.03-08.15.54: Sending watch dog message
    2016.04.03-08.15.54: Sending: AT
    2016.04.03-08.15.55: Response: <cr><lf>OK<cr><lf>
    2016.04.03-08.15.57: Sending message to 61409839735
    2016.04.03-08.15.57: Content: Virtual alarm is activated
    2016.04.03-08.15.57: Sending: AT+CSCA?
    2016.04.03-08.15.57: Response: <cr><lf>+CSCA: "+61418706275",145<cr><lf><cr><lf>OK<cr><lf>
    2016.04.03-08.15.57: Sending: AT+CMGS=37
    2016.04.03-08.15.57: Response: <cr><lf>>
    2016.04.03-08.15.57: Sending: 07911614786072F511600B811604899337F50000A71AD6B49C5E0FB34161 7658DE06A5E7A0F0989EB687E96532
    2016.04.03-08.16.03: Failed to send message: Unsupported feature: SendSmsFeature: Send SMS (Error in sending command 07911614786072F511600B811604899337F50000A71AD6B49C5E0FB34161 7658DE06A5E7A0F0989EB687E96532: )
    2016.04.03-08.16.03: Trace: at MessagingToolkit.Core.Mobile.BaseMobileGateway`1.SendMessage (Sms message)
    at MessagingToolkit.Core.Mobile.BaseMobileGateway`1.ProcessMess ageQueue()
    2016.04.03-08.16.03: Base exception: at MessagingToolkit.Core.Mobile.BaseMobileGateway`1.SendMessage (Sms message)
    at MessagingToolkit.Core.Mobile.BaseMobileGateway`1.ProcessMess ageQueue()
    2016.04.03-08.16.04: Sending message to 61409839735
    2016.04.03-08.16.04: Content: Virtual alarm is activated
    2016.04.03-08.16.04: Sending: AT+CMGS=37
    2016.04.03-08.16.14: Failed to send message: Unsupported feature: SendSmsFeature: Send SMS (Error in sending command AT+CMGS=37 : +CMGS: 159 OK )
    2016.04.03-08.16.14: Trace: at MessagingToolkit.Core.Mobile.BaseMobileGateway`1.SendMessage (Sms message)
    at MessagingToolkit.Core.Mobile.BaseMobileGateway`1.ProcessMess ageQueue()
    2016.04.03-08.16.14: Base exception: at MessagingToolkit.Core.Mobile.BaseMobileGateway`1.SendMessage (Sms message)
    at MessagingToolkit.Core.Mobile.BaseMobileGateway`1.ProcessMess ageQueue()
    2016.04.03-08.16.15: Sending message to 61409839735
    2016.04.03-08.16.15: Content: Virtual alarm is activated
    2016.04.03-08.16.15: Sending: AT+CMGS=37
    2016.04.03-08.16.15: Sending watch dog message
    2016.04.03-08.16.15: Response: <cr><lf>>
    2016.04.03-08.16.15: Sending: 07911614786072F511A00B811604899337F50000A71AD6B49C5E0FB34161 7658DE06A5E7A0F0989EB687E96532
    2016.04.03-08.16.19: Response: <cr><lf>+CMGS: 160<cr><lf><cr><lf>OK<cr><lf>
    2016.04.03-08.16.19: Firing async MessageSent event.
    2016.04.03-08.16.19: Sending: AT
    2016.04.03-08.16.19: Ending async MessageEventHandler call
    2016.04.03-08.16.20: Response: <cr><lf>OK<cr><lf>
    2016.04.03-08.16.30: Sending watch dog message
    2016.04.03-08.16.30: Sending: AT
    2016.04.03-08.16.30: Response: <cr><lf>OK<cr><lf>
    2016.04.03-08.16.40: Sending watch dog message
    2016.04.03-08.16.40: Sending: AT
    2016.04.03-08.16.40: Response: <cr><lf>OK<cr><lf>
    2016.04.03-08.16.50: Sending watch dog message
    2016.04.03-08.16.50: Sending: AT
    2016.04.03-08.16.50: Response: <cr><lf>OK<cr><lf>
    Last edited by petez69; April 3, 2016, 06:05 AM.
    HS 2.2.0.11

    #2
    Can you stop the plugin and connect via a terminal emulator to the device and send AT+CMGF=0 and post the response from the modem please?


    Sent from my iPhone using Tapatalk
    Author of Highpeak Plugins | SMS-Gateway Plugin | Blue Iris Plugin | Paradox (Beta) Plugin | Modbus Plugin | Yamaha Plugin

    Comment


      #3
      Gives me an OK so it is ok with that command..

      I was able to set it to PDU mode and Txt mode....

      at+cmgf=1

      OK
      Attached Files
      HS 2.2.0.11

      Comment


        #4
        Ok so we know it's not a PDU issue. In the \logs directory there should be a HSPI_SMSGW_Modem.log file. Can you mail it to me at gavin(at)highpeak.co.za


        Sent from my iPhone using Tapatalk
        Author of Highpeak Plugins | SMS-Gateway Plugin | Blue Iris Plugin | Paradox (Beta) Plugin | Modbus Plugin | Yamaha Plugin

        Comment

        Working...
        X