RE: DLR on AT
"Oded Arbel" <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <[email protected]> |
I'm working on DLR on AT2, but to do that properly, I need to drasticly change the implementation of at2_wait_modem_command, and I'm not yet sure how I want the interface to be. I already have DLR for SMSC_SUCCESS and SMSC_FAIL, which was the reason why I started the whole thing in the first place, so I'm in no hurry :-) I think this is a good time to ask the list for some ideas - the main problem I see, is that at2_wait_modem_command handles anything that comes its way, until it either encounter an error, a timeout (no more data) or the modem's "please send me more data" prompt, and the return code only suggest the exit state. for a proper DLR implementation, I would also require the command to return the message ID the modem returned, and for my own purposes (some patch that I'm not yet ready to release) I would like to know how many incoming messages the command processed. my current implementation is to send "output parameters" to the command - which is ugly as most calls would not need to send those parameters, but I don't think C supports any cleaner interface (like default parameters, for example). Oded Arbel m-Wise Inc. [email protected] -- If you don't go to other men's funerals they won't go to yours. -- Clarence Day > -----Original Message----- > From: Abd Rahman Johari [mailto:[email protected]] > Sent: Monday, January 28, 2002 10:58 AM > To: [email protected] > Subject: DLR on AT > > > hi guys, > > i just wondering anybody is working on DLR for AT or AT2 ? > > > > thanks :) > > -man- >