All of lore.kernel.org
 help / color / mirror / Atom feed
From: Denis Kenzior <denkenz@gmail.com>
To: ofono@ofono.org
Subject: Re: [PATCH 1/3] stkutil: display text attributes as html
Date: Thu, 01 Jul 2010 17:50:30 -0500	[thread overview]
Message-ID: <4C2D1BB6.60700@gmail.com> (raw)
In-Reply-To: <AANLkTinrzAGtJW4Xg4U6rFdG6L6bbykaNDN0DZrGLG6y@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1084 bytes --]

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

  reply	other threads:[~2010-07-01 22:50 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-29 11:22 [PATCH 0/3] html text attribute patches Kristen Carlson Accardi
2010-06-29 11:22 ` [PATCH 1/3] stkutil: display text attributes as html Kristen Carlson Accardi
2010-07-01 16:30   ` Denis Kenzior
2010-07-01 18:29     ` Kristen Carlson Accardi
2010-07-01 18:54       ` Denis Kenzior
2010-07-01 20:54         ` Kristen Carlson Accardi
2010-07-01 21:15           ` Denis Kenzior
2010-07-01 22:56             ` Kristen Carlson Accardi
2010-07-01 23:08               ` Denis Kenzior
2010-07-01 23:05                 ` Kristen Carlson Accardi
2010-07-01 23:47                   ` Denis Kenzior
2010-07-01 22:10     ` Andrzej Zaborowski
2010-07-01 22:35       ` Denis Kenzior
2010-07-01 22:47         ` Andrzej Zaborowski
2010-07-01 22:50           ` Denis Kenzior [this message]
2010-06-29 11:22 ` [PATCH 2/3] test-stkutil: add unit test for html text attributes Kristen Carlson Accardi
2010-06-29 11:22 ` [PATCH 3/3] test-stkutil: add html attribute test for Display Text tests Kristen Carlson Accardi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4C2D1BB6.60700@gmail.com \
    --to=denkenz@gmail.com \
    --cc=ofono@ofono.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.