Code Monkey home page Code Monkey logo

gsmcomm'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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gsmcomm's Issues

Mono issue

I create a windows class to send sms trought your dll. run on normal .net works fine but when i run the same code on mono it retrieve allways that phone is not connected.

Log file:
6/19/2013 1:46:44 AM Info -> 01:46:44.285 [gsmphone] Log thread started.


6/19/2013 1:46:44 AM Info -> 01:46:44.286 [gsmphone] Initializing serial connection...


6/19/2013 1:46:44 AM Info -> 01:46:44.286 [gsmphone] Port = COM2


6/19/2013 1:46:44 AM Info -> 01:46:44.286 [gsmphone] Baud rate = 19200


6/19/2013 1:46:44 AM Info -> 01:46:44.286 [gsmphone] Timeout = 300


6/19/2013 1:46:44 AM Info -> 01:46:44.405 [gsmphone] Port COM2 now open.


6/19/2013 1:46:44 AM Error -> 01:46:44.708 [gsmphone] Failed. Receiving error.


6/19/2013 1:46:44 AM Info -> 01:46:44.713 [gsmphone] Communication thread started.


6/19/2013 1:46:44 AM Info -> 01:46:44.714 [gsmphone] Connection to phone will be checked every 10000 ms.


6/19/2013 1:46:55 AM Error -> 01:46:55.015 [gsmphone] Failed. Receiving error.


6/19/2013 1:47:05 AM Error -> 01:47:05.315 [gsmphone] Failed. Receiving error.


6/19/2013 1:47:15 AM Error -> 01:47:15.615 [gsmphone] Failed. Receiving error.


6/19/2013 1:47:25 AM Error -> 01:47:25.915 [gsmphone] Failed. Receiving error.


6/19/2013 1:47:36 AM Error -> 01:47:36.215 [gsmphone] Failed. Receiving error.


6/19/2013 1:47:46 AM Error -> 01:47:46.515 [gsmphone] Failed. Receiving error.


License type

What type of license your project? Can I use it freely and modify for their own purposes?

New Sms Notification

I have developed a console based app using gsmcomm.
The app is working fine.
But after some time it stops trigger for new message.
Below code is used
Comm.EnableMessageNotifications();
And a handler for the event.

Concat Recieve SMS

Hello Welly87,

I have 2 arrays PDU of String,

string[] stringPDUs = new string[] {
"059126181642440D91265868006036F8000051107061609382A0050003BB0201A6E17C1814BE87D92072181456CFC9EAB97A0E22ABC96AB29A0C22ABC96AB29A0C22ABC96AB29A0C22ABC96AB29A0C22ABC96AB29A0C22ABC96AB29A0C22ABC96AB29A6C0691D56435599E97E7E92E10514D5693D56490796D5697416E90596D56ABCD6AB3DA0C32ABCD6AB31964479BD166B4196D46A3CD6B33486D569BD566B559AD56ABD5",
"059126181642440D91265868006036F800005110706160348223050003BB0202D4EA3588AC06A5DD6990B82C0FCBE969D0BC3D0785D7E8B41C"
};

var expectedResult = SmartMessageDecoder.CombineConcatMessageText(parts);

my expected result is
"Saya awal da ajsdjsjs djdjdjd djdjdjd djdjdjd djdjdjd djdjdjd djdjdjd djdjdjdf djdjdryryt. Djdjdjd fkfje n fjfjjfjfjf fjfjff vhfhfhfhfhhfkf jfjfjfjfjjjjj jjk dj ini berarti sms akhir"

but the result is
"&CsCABoCYAHCABUgIUgUgAHUIUIUIAHUIUIUIAHUIUIUIAHUIUIUIAHUIUIUIAHUIUIUIAHUIUIUIMAHUIUIesesiÑ¡òUIUIUIALWMUKAÖALUMUUMUMUMALUMUMMAlQMQMQMQMQQMWMATMUMUMUMUUUUUTUWAHUARÑSADKeCeiSAfÄgABWQSe"

Why this happen ? Advice me please

Thank You

Sms length error

Sending ascii sms text like below (text length < 160)
SmsSubmitPdu pdu;
byte dcs = (byte)DataCodingScheme.NoClass_7Bit;
pdu = new SmsSubmitPdu(sms, phoneno, smsc, dcs);
comm.SendMessage(pdu);

but it gives error like "Text is too long. A maximum of 160 resulting septets is allowed. The current input result in 243 septets." How to avoid that error?

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.