Removing some debugging logs.
This commit is contained in:
@@ -274,7 +274,6 @@ function pduToObj(pdu, stupidNullByte, callback) {
|
|||||||
if (param === 'short_message') {
|
if (param === 'short_message') {
|
||||||
if((retObj.params['esm_class'] & 0x40) === 0x40) {
|
if((retObj.params['esm_class'] & 0x40) === 0x40) {
|
||||||
//This is a part of long sms. We should save UDH header information in params.
|
//This is a part of long sms. We should save UDH header information in params.
|
||||||
console.log(pdu.slice(offset, offset + paramSize).toString('hex').slice(6, 8))
|
|
||||||
var hsize = parseInt("0x" + pdu.slice(offset, offset + paramSize).toString('hex').slice(0, 2));
|
var hsize = parseInt("0x" + pdu.slice(offset, offset + paramSize).toString('hex').slice(0, 2));
|
||||||
//If hsize is >5 then CSMS Reference consist of two parts
|
//If hsize is >5 then CSMS Reference consist of two parts
|
||||||
if(hsize == 5) {
|
if(hsize == 5) {
|
||||||
|
|||||||
Reference in New Issue
Block a user