• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

linxGnu / gosmpp
81%
master: 82%

Build:
Build:
LAST BUILD BRANCH: features-getting-concat-info-for-16-bit-reference
DEFAULT BRANCH: master
Repo Added 11 Dec 2019 07:53AM UTC
Files 8
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH refs/tags/v0.3.0
branch: refs/tags/v0.3.0
CHANGE BRANCH
x
Reset
  • refs/tags/v0.3.0
  • code_refactor
  • code_to_text
  • command_status_desc
  • concat_short_message
  • custom_coding
  • dependabot/go_modules/github.com/stretchr/testify-1.10.0
  • dependabot/go_modules/github.com/stretchr/testify-1.11.1
  • dependabot/go_modules/github.com/stretchr/testify-1.8.2
  • dependabot/go_modules/github.com/stretchr/testify-1.9.0
  • dependabot/go_modules/golang.org/x/text-0.13.0
  • dependabot/go_modules/golang.org/x/text-0.14.0
  • dependabot/go_modules/golang.org/x/text-0.15.0
  • dependabot/go_modules/golang.org/x/text-0.16.0
  • dependabot/go_modules/golang.org/x/text-0.17.0
  • dependabot/go_modules/golang.org/x/text-0.18.0
  • dependabot/go_modules/golang.org/x/text-0.19.0
  • dependabot/go_modules/golang.org/x/text-0.20.0
  • dependabot/go_modules/golang.org/x/text-0.21.0
  • dependabot/go_modules/golang.org/x/text-0.22.0
  • dependabot/go_modules/golang.org/x/text-0.23.0
  • dependabot/go_modules/golang.org/x/text-0.29.0
  • dependabot/go_modules/golang.org/x/text-0.7.0
  • dependabot/go_modules/golang.org/x/text-0.8.0
  • dependabot/go_modules/golang.org/x/text-0.9.0
  • features-getting-concat-info-for-16-bit-reference
  • find_coding
  • fix
  • fix-custom-encoding-code-retrieval
  • fix-ucs2-split
  • fix_7bit
  • fix_dial_err
  • fix_display_sm
  • fix_gsm7bit_packed
  • fix_it_test
  • fix_linting
  • fix_long_message
  • fix_naming
  • fix_rebind_panic
  • fix_rebinding
  • fix_submitsm_split
  • fix_udh_concat
  • gsm7_custom_alphabet
  • master
  • more_api
  • receiver_fix
  • refactor
  • refactor_code
  • refs/tags/v0.1.10
  • refs/tags/v0.1.4
  • refs/tags/v0.1.4-rc17
  • refs/tags/v0.1.4-rc18
  • refs/tags/v0.1.4-rc19
  • refs/tags/v0.1.4-rc20
  • refs/tags/v0.1.4-rc21
  • refs/tags/v0.1.4-rc22
  • refs/tags/v0.1.4-rc23
  • refs/tags/v0.1.4-rc24
  • refs/tags/v0.1.4-rc25
  • refs/tags/v0.1.4-rc26
  • refs/tags/v0.1.4-rc29
  • refs/tags/v0.1.4.rc10
  • refs/tags/v0.1.4.rc11
  • refs/tags/v0.1.4.rc12
  • refs/tags/v0.1.4.rc13
  • refs/tags/v0.1.4.rc14
  • refs/tags/v0.1.4.rc15
  • refs/tags/v0.1.4.rc16
  • refs/tags/v0.1.4.rc17
  • refs/tags/v0.1.4.rc27
  • refs/tags/v0.1.4.rc28
  • refs/tags/v0.1.4.rc29
  • refs/tags/v0.1.4.rc30
  • refs/tags/v0.1.4.rc4
  • refs/tags/v0.1.4.rc5
  • refs/tags/v0.1.4.rc6
  • refs/tags/v0.1.4.rc7
  • refs/tags/v0.1.4.rc8
  • refs/tags/v0.1.4.rc9
  • refs/tags/v0.1.5
  • refs/tags/v0.1.6
  • refs/tags/v0.1.7
  • refs/tags/v0.1.8
  • refs/tags/v0.1.9
  • refs/tags/v0.2.0
  • refs/tags/v0.2.1
  • refs/tags/v0.3.1
  • renaming
  • test_remote_conn
  • update_address_range_constructor
  • update_example
  • update_long_message

15 Jun 2024 04:55AM UTC coverage: 80.997% (-4.7%) from 85.714%
9525634870

push

github

web-flow
Feature: PDU SubmitWindow with; MaxWindowSize option,  ExpectedResponse handler, ExpiredPdus handler and  NoRespPdu OnClose handler (#134)

What: 
- Add a submit window via a
[concurrent-map](https://github.com/orcaman/concurrent-map) that tracks
Requests (SubmitSM, EnquireLinks, ReplaceSM, etc..)
- Add functionality to return a expected response with the original sent
PDU
- Add functionality to track PDUs with no response and a timer setting
for when they expire
- Add a max window size setting, to limit the number of outbound request
- Add function call to get current bind window size on Tx and Trx
- Add function call to get a PDU stuck in the submit store when the bind
closes.
- Add an example on how to use new settings
- Add an example on how to implemented a Custom PDU to add any fields to
be tracked

Why: As requested in #126, #105 and #73, the user sometimes needs to
track all requests sent to SMSC. Either to relate a response to a
request, or to track a request that have received no response or even to
limit the number of outgoing request without any response from the SMSC.

How: 
- The main feature, the submit window, works by using a
[concurrent-map](https://github.com/orcaman/concurrent-map) as a
key/value store. The key is the PDU sequence number and the value is a
new Request struct created for this feature. Concurrent-map is thread
safe and has all the functionality needed for this use case. The map
gets reset on every rebind and all PDUs stored in the map are can be
retruned to the user via a func call when the session is closed.
- When the user Submits a PDU, it is stored in the new Request struct
with the request is created
- When the library receives a PDU from the SMSC, it will verify if the
PDU is a response type (SubmitSMResp, ReplaceSMResp, etc) and queries
the key/value store with the sequence number. If the store contains a
PDU request, the response is returned to the user with the PDU and the
... (continued)

182 of 275 new or added lines in 6 files covered. (66.18%)

5 existing lines in 4 files now uncovered.

601 of 742 relevant lines covered (81.0%)

75.73 hits per line

Relevant lines Covered
Build:
Build:
742 RELEVANT LINES 601 COVERED LINES
75.73 HITS PER LINE
Source Files on refs/tags/v0.3.0
  • List 8
  • Changed 7
  • Source Changed 0
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
9525634870 refs/tags/v0.3.0 Feature: PDU SubmitWindow with; MaxWindowSize option, ExpectedResponse handler, ExpiredPdus handler and NoRespPdu OnClose handler (#134) What: - Add a submit window via a [concurrent-map](https://github.com/orcaman/concurrent-map) that track... push 15 Jun 2024 04:59AM UTC web-flow github
81.0
See All Builds (394)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc