Hmm...
Looks like in sms_at2.c there is a at2_pdu_encode(Msg *msg, unsigned
char *pdu, PrivAT2data *privdata) function with a very supicious
looking comment. I guess this is the right area(?) but what to do next
is beyond this newbie ;-) :
/*
* user data
* if the data is too long, it is cut
*/
if (msg->sms.coding == DC_8BIT || msg->sms.coding == DC_UCS2) {
pos += at2_encode8bituncompressed(msg->sms.msgdata, &pdu[pos]);
} else {
int offset = 0;
if (octstr_len(msg->sms.udhdata)) { /* Have UDH */
int nbits = octstr_len(msg->sms.udhdata) * 8; /* Includes UDH
length byte */
offset = (((nbits / 7) + 1) * 7 - nbits) % 7; /* Fill bits */
}
pos += at2_encode7bituncompressed(msg->sms.msgdata, &pdu[pos],
offset);
}
pdu[pos] = 0;
_______________________________________________________________________
Freeserve AnyTime, only �13.99 per month with one month's FREE trial!
For more information visit http://www.freeserve.com/time/ or call free on 0800 970 8890