Method: Smpp::Transceiver#send_bind
- Defined in:
- lib/smpp/transceiver.rb
#send_bind ⇒ Object
Send BindTransceiverResponse PDU.
| 85 86 87 88 89 90 91 92 93 94 95 | # File 'lib/smpp/transceiver.rb', line 85 def send_bind raise IOError, 'Receiver already bound.' unless unbound? pdu = Pdu::BindTransceiver.new( @config[:system_id], @config[:password], @config[:system_type], @config[:source_ton], @config[:source_npi], @config[:source_address_range]) write_pdu(pdu) end |