Hi Andrew, >>> It would have a different signature because as far as I understand a >>> separate array of attributes is sent in each segment (the start/len >>> fields can't address more than 256 characters anyway). So that >>> function can be a wrapper around this function. >>> >> >> It depends actually. I'd like to avoid writing a separate EMS >> concatenator, and re-use sms_decode_text. This means that if possible, >> I'd like this function to work on arbitrary length strings. The text >> attributes can be massaged pretty easily without knowing what's inside >> the SMS message. > > My point is that it won't work on a message longer than 256 bytes > anyway, because you would need to either change how the attribute > start byte is coded, or supplement each attribute with information > about which segment it relates to.
I know, see my comment above about 'text attributes can be massaged..' My thinking is that doing it inside this function is faster / easier in the common case than writing a custom EMS message decoder. Regards, -Denis _______________________________________________ ofono mailing list ofono@ofono.org http://lists.ofono.org/listinfo/ofono