I need to store sms to a sqlite db when I receive one. At this moment it works fine with sms (160 chars), but if I receive a multipart sms it truncate the sms at about 155 c
155 chars sounds like the length of the user data when the user data header for a multipart SMS has been taken into account. In other words, it doesn't sound like there is a problem here - the PDU is being stored correctly. You will need to gather the other PDUs for the SMS to display / store the full thing.