Re: emi2 response timeout handling

2002-11-25 Thread Christophe Teyssier
On Monday 25 November 2002 09:46, Andreas Fink wrote: I think this is quite likely to happen considering the number of elements we're going through to get to them (Firewall/VPN/proxy). Maybe the solution is to use the keep-alive feature, what does kannel do when it does not get an

RE: Bug in smsc_smpp.c

2002-11-25 Thread Paul Keogh
waiting for that. Is it coming in the near future?! Should be done very simple I guess. Here is a patch for the infinite loop problem I reported in the SMPP driver for review. I also added in a reconnect-attempts configuration variable for control. This is mandated by a number of operators

at2 swap_nibbles

2002-11-25 Thread Sindunata Sudarmaji
Hi All, I'm running kannel 1.2.1 (RH7.3) with Siemens TC35, and I think I've found another bug in AT2 swap_nibbles handling. The MSB bit is not correctly swapped because we're using signed char. Please find below my patch against CVS HEAD: Index: smsc_at2.c

Re: wap push to siemens again

2002-11-25 Thread Aarno Syvänen
UDH (both ports and SAR) are defined in WAP-259 (WDP Spec). Port numbers are capitulated in appendix 4 (A.4). SI spec is WAP-167 (contains an example tokenized SI document). Usually only Content-type is required here (actually WAP-145 states that only it is mandatory). What kind of Siemens

Re: [Fwd: Re: wap push receiving on siemens]

2002-11-25 Thread Aarno Syvänen
And the bearerbox log ? Aarno On Sunday, November 24, 2002, at 02:25 PM, Szymon Stasik wrote: my mistake - I have replied to the sender, not the mailing list. Original Message Subject: Re: wap push receiving on siemens Date: Sun, 24 Nov 2002 04:00:27 +0100 From: Stipe Tolj

Re: Client SDU size problem with nokia 7210

2002-11-25 Thread Aarno Syvänen
Can we vote for giving Igor commit rights, too ? +1 from me, SAR patch was very good. Aarno On Sunday, November 24, 2002, at 04:38 AM, Stipe Tolj wrote: Some time ago this problem was reported by Vjacheslav, but the reason was pointed not correctly. Actually n7210 sends SDU size, but it

Sending SMS

2002-11-25 Thread Post Master
Hi, I am having a GSM modem and I am trying to send SMS using Hyperterminal. But the problem is I am getting the message Error while sending the message. Please help.

Re: emi2 response timeout handling

2002-11-25 Thread Christophe Teyssier
On Monday 25 November 2002 09:46, Andreas Fink wrote: On Montag, November 25, 2002, at 09:37 Uhr, Christophe Teyssier wrote: Maybe the solution is to use the keep-alive feature, what does kannel do when it does not get an answer to a keepalive command? Is the TCP connection dropped?

RE: at2 swap_nibbles

2002-11-25 Thread Oded Arbel
i don't think its related to anything. the char type is a byte sized data storage, and the signed/unsigned behaviour is only important when casting to different types. -- Oded Arbel -Original Message- From: Sindunata Sudarmaji [mailto:[EMAIL PROTECTED]]

m-notification-ind question

2002-11-25 Thread Alex Judd
I'm seem to be getting very different udh's generated from test_ppg than those from the text m-notification-ind that works. 1. Working udh udh=%06%05%04%0b%84%23%f0 2. Nonworking test_ppg generated UDH(s) [multi-part-message] [udh:12:0B05040B8423F3000301] [udh:12:0B05040B8423F3000302]

Re: at2 swap_nibbles

2002-11-25 Thread Richard Braakman
On Mon, Nov 25, 2002 at 05:46:51PM +0200, Oded Arbel wrote: i don't think its related to anything. the char type is a byte sized data storage, and the signed/unsigned behaviour is only important when casting to different types. It matters because of this: return ( ( byte 15 ) * 10 ) + (

RE: at2 swap_nibbles

2002-11-25 Thread Oded Arbel
I see, ok. I'll fix, thanks. -- Oded Arbel m-Wise mobile solutions [EMAIL PROTECTED] +972-9-9581711 (116) +972-67-340014 ::.. Fingle's laws for existentialists - 10.If everything seems to be going well, you have obviously overlooked something. -Original Message- From: Richard

Re: at2 swap_nibbles

2002-11-25 Thread Andreas Fink
It matters because of this: return ( ( byte 15 ) * 10 ) + ( byte >> 4 ); The >> operator is allowed to sign-extend its operand, so that -16 (0xf0h) becomes -1 (0xffh). It won't do this if chars are unsigned, in which case 0xf0h just becomes 0x0fh. correct. the other option would be to OR

RE: at2 swap_nibbles

2002-11-25 Thread Oded Arbel
-Original Message-From: Andreas Fink [mailto:[EMAIL PROTECTED]]Sent: Monday, November 25, 2002 7:44 PMTo: Oded ArbelCc: [EMAIL PROTECTED]Subject: Re: at2 swap_nibbles It matters because of this: return ( ( byte 15 ) * 10 ) + ( byte 4 ); The

Re: at2 swap_nibbles

2002-11-25 Thread Andreas Fink
On Montag, November 25, 2002, at 06:54 Uhr, Oded Arbel wrote:   Yes. will somebody just shoot me where I stand ? will save me lots of trouble ;-) I shoud have said return ( ( byte   0x0F )   4 )  |  (  ( byte   0xF0 ) >> 4 );  I'll fix ?   how about this: #define HI_NIBBLE(a) ( (int)a >> 4

RE: at2 swap_nibbles

2002-11-25 Thread Oded Arbel
Why are you casting to int ? --Oded Arbelm-Wise mobile solutions[EMAIL PROTECTED] +972-9-9581711 (116)+972-67-340014 ::..Reasons to Run Away 8-"When the DM just watched a LOT of horror/monster movies" -Original Message-From: Andreas Fink [mailto:[EMAIL PROTECTED]]Sent:

Re: at2 swap_nibbles

2002-11-25 Thread Richard Braakman
On Mon, Nov 25, 2002 at 07:05:23PM +0100, Andreas Fink wrote: how about this: #define HI_NIBBLE(a)( (int)a 4 0x0F) #define LOW_NIBBLE(a) ( (int)a 0x0F) #define SWAP_NIBBLE(a) (( HI_NIBBLE(a) | (LOW_NIBBLE(a) 4)) 0xFF) This would work as a macro and has

Re: at2 swap_nibbles

2002-11-25 Thread Andreas Fink
On Dienstag, November 26, 2002, at 03:21 Uhr, Richard Braakman wrote: On Mon, Nov 25, 2002 at 07:05:23PM +0100, Andreas Fink wrote: how about this: #define HI_NIBBLE(a) ( (int)a >> 4 0x0F) #define LOW_NIBBLE(a) ( (int)a 0x0F) #define SWAP_NIBBLE(a) (( HI_NIBBLE(a) | (LOW_NIBBLE(a) 4))

1.2.1 Cygwin compile SMPP - Issue not receiving %a from SMSC

2002-11-25 Thread Warren Liu
Title: Message I am connecting to a CMG SMSC via SMPP. Due to this particular client's setup we had to use a w2k server instead of a linux server that we usually do. I do not know whether this is due to the cygwin compile or whether it is an issue on the telco side. Below is my config and

1.2.1 Cygwin compile SMPP - Issue not receiving %a from SMSC

2002-11-25 Thread Warren Liu
Title: Message I am connecting to a CMG SMSC via SMPP. Due to this particular client's setup we had to use a w2k server instead of a linux server that we usually do. I do not know whether this is due to the cygwin compile or whether it is an issue on the telco side. Below is my config and