> No, it is not solved. > If I install back the version 1.4 it woks. > > Receiving is no fine because I have to use different settings. > > Maybe I need special settings if I want to send SMS from a > Siemens S40 using smstools 3.0?
I cannot check the version 1.4 which is published between 4.12.2001 (1.4.0) and 15.3.2002 (1.4.9) because I don't have the source code for it. But I have the 1.14.6 (from 5.9.2004) and there is similar PDU mode test than in the current versions. It looks like the 1.14.6 also does not decode "old" mode PDU, if "mode = old" setting is not used. I assume that you have noticed that the "old" mode PDU is missing SCA information and _can_ be decoded by the smsd when "mode = old" setting is used. While you are talking about sending, probably you mean that the Siemens S40 need "mode = new" for sending side and does not work for sending with "mode = old", right? If so, then you could make a little modification to the splitpdu() code. It's much more easier to modify than put the whole extraction to external Bash script. I also assume that you have modified the smsd code in some other places too, so this migth be just one patch more. Anyway, the new upcoming version 3.0.9 does anymore use the mode setting for incoming messages. Decoding is automatically tried using both modes. I do not know if this is necessary for any modems, but it will work if never needed. This version also includes a comprehensive PDU validation to avoid unnecessary strange results when an incomplete or broken PDU is handled. Regards, Keke