Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #72.7K
Hi, i want to manage 2 type of Exception lightblue._obexcommon.OBEXError 1) lightblue._obexcommon.OBEXError: (111, 'Connection refused') 2) lightblue._obexcommon.OBEXError: (11, 'Resource temporarily unavailable') how i can do it? example: [CODE] try: lightblue.obex.sendfile(device.getAddr(), c[1],"advertisement.jpg") except lightblue._obexcommon.OBEXError????????????: print "Connection refused!" except lightblue._obexcommon.OBEXError????????????: print "Resource temporarily unavailable!" [/CODE] |