SMPP (3.4) Client Library in pure Go.
This library is well tested with SMSC simulators:
go get -u github.com/linxGnu/gosmpp
- Please refer: Test Case And Sample Code.
- Another full example could be found: here
- In this example, you should run smsc first:
- Please point to: https://github.com/linxGnu/gosmpp/blob/master/example/smsc
- Build & Run SMSC (g++ required):
./run.sh
- Next is build and run: https://github.com/linxGnu/gosmpp/blob/master/example/main.go
- Build:
go build
- Run:
./example
- Build:
- You should see: logs of communication between SMSC and Example. Each SubmitSM will trigger SMSC to simulate a MO.
- In this example, you should run smsc first:
Full example could be found: gist
- bind_transmitter
- bind_transmitter_resp
- bind_receiver
- bind_receiver_resp
- bind_transceiver
- bind_transceiver_resp
- outbind
- unbind
- unbind_resp
- submit_sm
- submit_sm_resp
- submit_sm_multi
- submit_sm_multi_resp
- data_sm
- data_sm_resp
- deliver_sm
- deliver_sm_resp
- query_sm
- query_sm_resp
- cancel_sm
- cancel_sm_resp
- replace_sm
- replace_sm_resp
- enquire_link
- enquire_link_resp
- alert_notification
- generic_nack