cdma-sms: Add CDMA SMS Support
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
@@ -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
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
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.hStill 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
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
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
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