Module: Majoron::AntHill::SMPP::SMPPOffset
- Defined in:
- lib/smpp_constants.rb
Overview
SMPP fields offsets inside command header
Constant Summary collapse
- SMPP_HEADER_SIZE =
SMPP’s header size in the bytes.
16
- COMMAND_LENGTH_POS =
Offset or shift for message lenght field at header.
0
- COMMAND_ID_POS =
Offset or shift for command code field at header.
4
- TLV_CODE_POS =
Offset or shift for command code field at header.
0
- TLV_TAG_LENGHT =
SMPP tag size at TLV structure.
2
- TLV_LENGTH_LENGHT =
SMPP length size at TLV structure..
2