I'm having troubles with delivery reports.
When I send a message with the property "UseDeliveryReports" set to
I can get the delivery report from the GSM modem, but ofono is unable
to decode it:
ofonod: SMS: < \r\n+CDS:
ofonod: drivers/atmodem/sms.c:at_cds_notify() Got new
Status-Report PDU via CDS:
ofonod: src/sms.c:ofono_sms_status_notify() len 32 tpdu len 32
ofonod: Unable to decode PDU
The PDU is valid, since I can decode it using some online tool.
It seems that sms_decode does not correctly handle the SMSCC part
and tries to decode it as the sender address, which obviously fails.
If in decode_deliver() function, I shift the PDU of 9 bytes (ie. PDU is
then the function still fails (more or less expected), but the sender
address is correctly decoded.
Do any of you have an idea on this matter ?