Skip to contentSkip to conversation

cdma-sms: Add CDMA SMS Support

PATCH Superseded Lei Yu 3 participants 6 messages Jan 4, 2011 – Jan 6, 2011 Kbuild

v3 of 4 Superseded Latest is v4 →

lore
Share & tools
lore

Lei Yu

author
#0 lore raw

PATCH v3 2/7 cdma-sms: Add CDMA SMS Support

---
 Makefile.am        |    3 +-
 include/cdma-sms.h |   67 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 69 insertions(+), 1 deletions(-)
 create mode 100644 include/cdma-sms.h
Makefile.am +2 -1
index 8a8555d..5028f4f 100644
@@ -14,7 +14,8 @@ include_HEADERS = include/log.h include/plugin.h include/history.h \
 			include/gprs.h include/gprs-context.h \
 			include/radio-settings.h include/stk.h \
 			include/audio-settings.h include/nettime.h \
-			include/ctm.h include/cdma-voicecall.h
+			include/ctm.h include/cdma-voicecall.h \
+			include/cdma-sms.h
 
 nodist_include_HEADERS = include/version.h
 
include/cdma-sms.h new file +67 -0

67 lines not on this page · raw message

Signature · 1 line
1.7.0.4
#1 lore raw

Hi Lei,

Quoted 6 lines · Lei Yu
---
 Makefile.am        |    3 +-
 include/cdma-sms.h |   67 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 69 insertions(+), 1 deletions(-)
 create mode 100644 include/cdma-sms.h

Still doesn't apply:

denkenz(a)ubuntu:~/ofono-master$ git am --3way ~/merge/\[PATCH\ v2\,\
2_7\]\ cdma-sms\:\ Add\ CDMA\ SMS\ Support.eml
Applying: cdma-sms: Add CDMA SMS Support
Using index info to reconstruct a base tree...
Falling back to patching base and 3-way merge...
Auto-merging Makefile.am
CONFLICT (content): Merge conflict in Makefile.am
Failed to merge in the changes.
Patch failed at 0001 cdma-sms: Add CDMA SMS Support
When you have resolved this problem run "git am -3 --resolved".
If you would prefer to skip this patch, instead run "git am -3 --skip".
To restore the original branch and stop patching run "git am -3 --abort".

Have you rebased to the latest git?

Regards,
-Denis

author
#2 lore raw

Hi Denis,

Quoted 24 lines · ext Denis Kenzior

Hi Lei,

Quoted 6 lines · Lei Yu
---
  Makefile.am        |    3 +-
  include/cdma-sms.h |   67 ++++++++++++++++++++++++++++++++++++++++++++++++++++
  2 files changed, 69 insertions(+), 1 deletions(-)

create mode 100644 include/cdma-sms.h

Still doesn't apply:

denkenz(a)ubuntu:~/ofono-master$ git am --3way ~/merge/\[PATCH\ v2\,\
2_7\]\ cdma-sms\:\ Add\ CDMA\ SMS\ Support.eml
Applying: cdma-sms: Add CDMA SMS Support
Using index info to reconstruct a base tree...
Falling back to patching base and 3-way merge...
Auto-merging Makefile.am
CONFLICT (content): Merge conflict in Makefile.am
Failed to merge in the changes.
Patch failed at 0001 cdma-sms: Add CDMA SMS Support
When you have resolved this problem run "git am -3 --resolved".
If you would prefer to skip this patch, instead run "git am -3 --skip".
To restore the original branch and stop patching run "git am -3 --abort".
Quoted 4 lines

Have you rebased to the latest git?

Regards,
-Denis

Looks like you are still applying v2 of the patch instead of v3 of the patch. v3 is the one I did the rebase and I have applied the patch locally and did not see any problem. Could you pls apply v3 instead?

Regards,
-Lei

#3 lore raw

Hi Lei,

Quoted 4 lines

Looks like you are still applying v2 of the patch instead of v3 of the patch. v3 is the one I did the rebase and I have applied the patch locally and did not see any problem. Could you pls apply v3 instead?

Yep, my fault. Patch has now been applied. Thanks.

Regards,
-Denis

#4 lore raw
In reply to Lei Yu

Hi Lei,

Review

Quoted 2 lines
(quoted diff) +2 -0
+void ofono_cdma_sms_deliver_notify(struct ofono_cdma_sms *cdma_sms,
+					unsigned char *pdu, int

tpdu_len);

As there is no SC number in CDMA, the whole PDU is the actual TPDU as well.
So either we should call pdu/pdu_len or tpdu/tpdu_len. Having pdu/tpdu_len
might be mistaken.

BR,
Rajesh

author
#5 lore raw

Hi Rajesh,

Quoted 6 lines · ext Rajesh.Nagaiah(a)elektrobit.com

Hi Lei,

Review

Quoted 2 lines
(quoted diff) +2 -0
+void ofono_cdma_sms_deliver_notify(struct ofono_cdma_sms *cdma_sms,
+					unsigned char *pdu, int

tpdu_len);

Quoted 6 lines

As there is no SC number in CDMA, the whole PDU is the actual TPDU as well.
So either we should call pdu/pdu_len or tpdu/tpdu_len. Having pdu/tpdu_len
might be mistaken.

Will change to tpdu/tpdu_len per CDMA SMS spec for transport layer.

Quoted 6 lines

BR,
Rajesh
_______________________________________________
ofono mailing list
ofono(a)ofono.org
http://lists.ofono.org/listinfo/ofono

Regards,
Lei