Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SUBMIT_SMRESP not received in the callback. #93

Open
Munmendu opened this issue Jul 23, 2020 · 0 comments
Open

SUBMIT_SMRESP not received in the callback. #93

Munmendu opened this issue Jul 23, 2020 · 0 comments

Comments

@Munmendu
Copy link

          In transmitter.go file  rc != nil,which eventually not calling the f(p). After changing to else if to if ,submit_smresp event is being received in the transceiver callback. Could you please help me why its being written like this? 
          seq := p.Header().Seq
	t.tx.Lock()
	rc := t.tx.inflight[seq]
	t.tx.Unlock()
	if rc != nil {
		rc <- &tx{PDU: p}
	} else if f != nil {
		f(p)
	}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant