Permalink
Browse files

Adding example file

  • Loading branch information...
1 parent 565bcbc commit 8b7f73fd5543b150a7e40544fb90443569989d0c @emilsedgh committed Jan 15, 2013
Showing with 9 additions and 0 deletions.
  1. +9 −0 example.js
View
@@ -0,0 +1,9 @@
+var pdu = require('./index');
+
+console.log(pdu.generate({
+ text:'Some text',
+ receiver:999999999999, //MSISDN
+ encoding:'16bit' //Or 7bit if you're sending an ascii message.
+}));
+
+console.log(pdu.parse('06918919015000240C9189194238148900003110211052254117CAB03D3C1FCBD3703AA81D5E97E7A079D93D2FBB00'));

0 comments on commit 8b7f73f

Please sign in to comment.