gisho

Results comments of gisho

Hi, I issued login out of the 'disconnected' event by launching a thread and it seems to work. the thread has to wait for about 20 secs though. anything less...

@zenithanon you would just send the message to an actual USSD app that keeps state. here is a simple example using zeromq ``` def ussdRequest(self,messageProtocolEntity): try: context = zmq.Context() sock...

This is how i handled this issue. I listen for "DISCONNECTED" event state and login again ``` python def onEvent(self, layerEvent): if layerEvent.getName() == YowNetworkLayer.EVENT_STATE_DISCONNECTED: self.log("Disconnected: %s" % layerEvent.getArg("reason")) self.connected...

@mutindaz the even is already defined here `YowNetworkLayer.EVENT_STATE_DISCONNECTED`

try @kwiiby suggestions its working for me. i figured the the disconnected event is not propergating correctly on detached queue. you can remove ``detached = False` at line 40 of...