Transmitter Only Implementation

Mar 5, 2013 at 1:29 AM

I usually separate my implementations into a transmitter only service and transceiver service. I recently encountered an issue where deliver_sm's were leaking into my transmitter service. This is because you cannot explicitly determine the bind type to the SMSC (from the Top Layer lol).

I had to modify the SessionBindInfo.cs (net.lib) and the SmppConnectionProperties to expose the AllowTransmit and AllowReceive variables. Typically, the library assumes that every connection would be a transceiver and sets both to True before connecting.

I hope this is found to be helpful. (My 2 cents to the good library.)