Re: Troubles with GSM_SetIncomingSMSCallback (callback not firing)
Michal Čihař <[email protected]>
| Newsgroups | gmane.linux.drivers.gammu |
|---|---|
| Message-ID | <[email protected]> |
Hello Dne Thu, 16 Jul 2015 10:14:27 +0300 Vladislav Stebluk <[email protected]> napsal(a): > > Hello. I compiled the libgammu using visual studio 2013 and x64 config. When i try to receive sms message using the callback, it never fires for some reason. Can you help me? Here is a bit of my code (i'm using QT): Did you have any troubles compiling in MSVC? If so, I'd like to incorporate needed changes. [..] > GSM_SetIncomingSMSCallback(this->gsmStateMachine,&SerialPortWorker::SmsCallback,this); > GSM_SetFastSMSSending(this->gsmStateMachine,TRUE); You need GSM_SetIncomingSMS(this->gsmStateMachine,TRUE); to enable the callback. -- Michal Čihař | http://cihar.com | http://blog.cihar.com ------------------------------------------------------------------------------ Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/ _______________________________________________ Gammu-users mailing list - https://lists.sourceforge.net/lists/listinfo/gammu-users
signature.asc
(application/pgp-signature, 819 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJVp3eFAAoJEGo39bHX+xdNXEoQAMhHyKkefpzkIpPiasRArBGP imltcZa1MuEQld79MaB+1A3TQBaBGkK2rTPpMrLIL0UXfmMILoKNliRL2V3/8fnP oiwp5iJB48JM7QbwIyNCk3Le/6jDiJKN3hnPK0DmZ+sX4Ym1R+foOGqtXjv+Y+4l WeulSFRPtNqTzG19TGQ3tT5UhPEcYeTUkdCrUZfo90hTmoh774y47PDt+Y3OCrSr e00Iyjf6gC/Q8jaiG510qseA5+sQ02POKweYSC/E0fmQtP9Xc4BTtoDLPrE7onlV rDAWUAyiHSun/4pNsxIjha/ZDfhhjINAofO1B7wgnMeEaBu46ocL+e4ubTCoPGIi U4NRBp+COk5zlBIu+0vY54zt4UNSsCF2oVheaw01vgzXKQOxLG/ZbywMOlgaX0mS NTK6ar0ufaQXCX+mEUP4j2AI1wyGljbie70xQIRdMCOg+UGqx145NIjd5OrcSAS5 VtVYMYjRdkmwT/rAxCLeG8iIA/IMJZQDI3Kp+YXhSJb52aLI224WcMw0NFEbjnWO ZevB/oNWtQ8adFjUW/tGiQImuWBq0+qPG96ld1MrzN3bGelkGptb6vDQCjB0mPlU zp6+tuxPu74f35ms3Lh/dfBkzD2M+uKvFHknPZqC2AMugbiQi/3Emn61e8St07ss //y/URkwrdp+1oKaNAQm =isQH -----END PGP SIGNATURE-----