Archive | SMPP

26 January 2009 ~ 13 Comments

[SMPP] Sending long SMS through SMPP

SMS is designed to send small text messages upto 140 chars. It actually depends upon the encoding. Using 7 bit encoding, you can send 160 chars, using Unicode, you can only send 70 chars. The data is carried in User Data section.
This post talks about ways of sending Long message using SMPP
Using SMPP we can [...]

Continue Reading

Tags: ,

15 December 2008 ~ 0 Comments

Multi Threaded Trap Receiver using SNMP4J

The entry briefly touched upon creating a multithreaded Trap receiver using SNMP4J. This is based on example shipped with SNMP4J
Pre-requisite

 SNMP4J
 Log4j

Structure
For complete source have a look at the class org.snmp4j.test. MultiThreadedTrapReceiver.java shipped with SNMP4J distribution
Logical structure of the program

Create Socket for accepting Traps
Create a Thread pool to process PDU’s
Process the Traps

Let’s get into the code
Lets address [...]

Continue Reading