I am using sim 900a modem. I want to read the messages coming to this modem. I have enabled the text mode AT+CMGF=1; I am sending message:
http://www.hughes.com/AT_Command_Reference.html#AT_plusCMGF
but I am receiving in this format...
+CMT: "+919841675265","","14/06/14,12:04:14+22"
0068007400740070003A002F002F006D006100700073002E0067006F006F0067006C0065002E0068
+CMT: "+919841675265","","14/06/14,12:04:17+22"
00200020002000540069006D0065003A00310034003A00330033003A003400340020002000440067
If I send the same message from another phone, I am receiving correctly....
I cant find where the problem is... please help me on this.
Maybe is because of the codepage you are using.
With the AT command AT+CSCS try to set your codepage in IRA or GSM.
Example: AT+CSCS="IRA"
Related
Can somebody please advise on how to send a message to a channel with several files attached? I successfully uploaded files to slack, but having issues formatting my message.
I tried markdown message with <file1.permalink| > <file2.permalink| > but it looks ugly with silly (edited) note
What I'm trying to achieve is for my message to look the same way, like when I send a message with files through the Slack client, with no stupid (edited) note
Thank you in advance!
We're trying to send a message via WebSocket in Firefox but when message exceeds some length it turns into weird characters like:
��
Is there anyway to set this buffer length or way out of this except sending the message as parts?
It's really weird but, we needed to rehandshake before sending our message.
That solved our problem.
I'm trying to use the native message in Firefox, and I'm trying to run the example in https://www.github.com/mdn/webextensions-examples/native-messaging/, but Firefox gave me a notice says:
"attempt to post Message on disconnected port."
I tried everything that I can, but it doesn't work. Could anybody help me?
I have problem with launching Google-Cast application similar to sample CastHelloText-chrome. I slightly modified example code for my specific purposes. The goal for creating this application is to send and show image data directly in Chromecast device.
Particularly the difference between official sample and my code is in message format and its content, sent by sender application. Sender application took png image coded by base64 and send through message bus with custom namespace. Receiver application get this message and use this as data source for html object <img>.
Error appears when I do this steps:
Reload sender page, checking console if any device found.
Send the form by just pushing enter on input box (text is ignored).
Now a popup from Chromecast extension shows. Next there are two scenarios:
3a) I confirm casting to device by choosing one from the list, then I get this error message in console:
onError: {"code":"channel_error","description":"Error: Timeout","details":null}
3b) I just click somewhere else, I get this error:
onError: {"code":"cancel","description":"User closed popup menu","details":null}
Both of errors are caused by calling function chrome.cast.requestSession in chromehellotext.html at line 161, but what's really wrong I don't know.
When I step sender script I realize that function sessionListener is never called. I know that something go wrong when code try to call chrome.cast.requestSession, where described error raises. So I need help if I missed about right way to use Google-Cast API or If this problem has something to do with networking issues.
Receiver application is registered on Google Cast SDK Developer Console and I'm testing on registered device with some serial number. I'm using Google Chrome in version 42.0.2300.2 canary (64-bit) and Chrome version 40.0.2214.111 (current stable I suppose). For testing I also tried to turn off Windows Firewall entirely but with no luck.
Edit:
There were some syntactic errors that caused error message described above.
It seems like you are trying to use the data/control channel to send an image; please don't do that; that channel is not meant to be used for large data communications; in fact it cannot send anything which approaches or exceeds 64k. If your goal is to send images from your local machine, you would need to run a local web server on your local machine and serve images through the web server.
For and easiest tutorial you can have a look to this tutorial.
It is well explained in this tutorial.
Chromecast Sender application
There is no need to maintain session by yourself.
just add button and enjoy casting
mCastManager.addMediaRouterButton(mediaRoutebtn);
I found a source of my problem. There was something wrong in receiver code - syntactic and runtime errors, so I must admit that my code wasn't functional. Now its working in terms of launching application and getting session.
Unfortunate thing is that the error message generated by Chromecast extension didn't match the actual error - at least it was a bit confusing when I didn't know what's really happening on receiver side without ability to debug the code.
I have been working for hours to solve this problem.
As you see above, I got CMS error 321
explanation of the eror code 321
The memory/message storage index assigned to the AT command is invalid.
source: http://www.developershome.com/sms/resultCodes2.asp
With that code, I wanted to get message count, and to read sms and I got the same error..
I can send sms with AT commands but I want to read sms from mobil phone. I connected via usb and bluetooth, and the result is the same.. I can send sms but cant read sms ..
What is the wrong on it?
For reading sms I use that code
AT+CMGL="ALL" or "REAC UNREAD" .. etc.
I've used Samsung Galaxy S I9000 and HTC Evo 3d
I know this is old but... I see you used AT+CPMS="SM" so you are trying to read messages from the SIM card. It appears you may be looking to a folder that is empty. Have you tried all of the other storages where the messages may have arrived? Those are detailed in your screen capture (AT+CPMS=?)
At this point I think you have already solved that.
Here's the link from where you can search your error and came to know about the reason/logic behind the error:
http://www.developershome.com/sms/resultCodes2.asp#16.2.1.1.Table of +CMS Error Codes and Their Meanings|outline
From there, we know that the read message operation failed because an invalid memory index was assigned to the AT command +CMGL.
Note that after the occurrence of a +CMS error, the GSM/GPRS modem or mobile phone will not process the remaining AT commands in the command line.