Attention is currently required from: daniel, dexter, laforge.

Hoernchen has posted comments on this change by Hoernchen. ( 
https://gerrit.osmocom.org/c/pysim/+/43545?usp=email )

Change subject: smpp2sim: make the SCP81 BIP relay work
......................................................................


Patch Set 3:

(10 comments)

File pySim/bip.py:

https://gerrit.osmocom.org/c/pysim/+/43545/comment/6e70c94e_68208659?usp=email :
PS2, Line 30: # Without them the handler builds and logs what it would send.
> I would move such documentation into the API docstrings of the class. […]
Done


https://gerrit.osmocom.org/c/pysim/+/43545/comment/416f3b7a_c648c6f4?usp=email :
PS2, Line 64:     bandwidth..
> This explains why we have moved away from twisted. I would put this into a 
> normal comment. […]
Done


https://gerrit.osmocom.org/c/pysim/+/43545/comment/9c937f71_4fa3fff5?usp=email :
PS2, Line 119:             if was_empty and not self._closing:
> I think its important to document why we only notify when the buffer was 
> empty. […]
Done


https://gerrit.osmocom.org/c/pysim/+/43545/comment/a05d4efc_05f7a4ac?usp=email :
PS2, Line 126:     def rx_available(self) -> int:
> Missing API doc […]
Done


https://gerrit.osmocom.org/c/pysim/+/43545/comment/8bb1c38a_c85b58d3?usp=email :
PS2, Line 175:     def __init__(self, on_data_available=None):
> I think here it is in particular important to put an API docstring and to 
> document the on_data_avail […]
Done


https://gerrit.osmocom.org/c/pysim/+/43545/comment/be87285d_3a8521fb?usp=email :
PS2, Line 189:     def channel_delete(self, chan_nr: int):
> maybe add a docstring?
Done


https://gerrit.osmocom.org/c/pysim/+/43545/comment/0a24f9e9_ab12230c?usp=email :
PS2, Line 192:     def notify_data_available(self, chan: ProactChannel):
> The ProactChannel object is created by the channel_create method in this 
> class. […]
The back reference is not only for the notification, ProactChannel.close() also 
removes itself from ProactChannels via channel_delete. Dropping it would move 
that bookkeeping into every caller of close() so I kept it as is.


https://gerrit.osmocom.org/c/pysim/+/43545/comment/c7ef8ff0_248828fb?usp=email :
PS2, Line 199:     def __init__(self, data_available_sink=None, sms_sink=None):
> Explain the parameters in an API docstring. In particular the 
> data_available_sink is important here. […]
Done


https://gerrit.osmocom.org/c/pysim/+/43545/comment/bcce6e4f_eea65298?usp=email :
PS2, Line 268:     def build_data_available_envelope(self, chan: ProactChannel) 
-> bytes:
> As far as I can see this is called from _on_channel_data_available only. […]
Done


https://gerrit.osmocom.org/c/pysim/+/43545/comment/a4180bcc_31e1fd05?usp=email :
PS2, Line 392:     def handle_ReceiveData(self, pcmd: ProactiveCommand):
> maybe add some more API doc on how to use this function? As far as I 
> understood, this is to be calle […]
Done



--
To view, visit https://gerrit.osmocom.org/c/pysim/+/43545?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings?usp=email

Gerrit-MessageType: comment
Gerrit-Project: pysim
Gerrit-Branch: master
Gerrit-Change-Id: If96c768f2e35c20ea3753e601059410121517b60
Gerrit-Change-Number: 43545
Gerrit-PatchSet: 3
Gerrit-Owner: Hoernchen <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: daniel <[email protected]>
Gerrit-Reviewer: dexter <[email protected]>
Gerrit-Reviewer: laforge <[email protected]>
Gerrit-Attention: laforge <[email protected]>
Gerrit-Attention: daniel <[email protected]>
Gerrit-Attention: dexter <[email protected]>
Gerrit-Comment-Date: Wed, 23 Sep 2026 16:07:55 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: dexter <[email protected]>

Reply via email to