This repo uses smstools library to generate a PDU for multipart SMS. User provided string is split into 140 char chunks and then encodes them into pdu format using the smstools lib.