Do U have a server que you can see what U send ? If no, pls, let me know and I can send u an application to run on a pc.
Once your server lisnten to the port you specify, u can use an AT command by which U specify the number of bytes you are going to send. Then you type the characters and when the count is finished, the packet is sended.