1
0
mirror of https://github.com/mjg59/python-broadlink.git synced 2024-11-22 15:10:12 +01:00
Commit Graph

7 Commits

Author SHA1 Message Date
Felipe Martins Diel
7c0b4d529f
Improve exceptions (#551) 2021-03-11 04:33:14 -03:00
Felipe Martins Diel
28fa72f962
Make bind() optional and implement a generator for device discovery (#427) 2020-09-23 07:43:56 +02:00
Felipe Martins Diel
8bf107ab69 Add docstrings and annotations 2020-09-20 02:10:18 -07:00
Felipe Martins Diel
792f1a1c60 Rename DNSError to DNSLookupError 2020-09-16 14:05:07 -07:00
Felipe Martins Diel
20d1d63fc3 Create a SDKException for DNS errors 2020-09-16 14:05:07 -07:00
Felipe Martins Diel
cf1e2c3a30
Check the sum and length of received packets (#410)
* Use sum() for checksums

* Check sum and length of received packets
2020-09-06 10:51:45 +02:00
Felipe Martins Diel
3216b069f0
Raise exceptions for errors (#356)
* Raise exceptions for errors

* Fix lb1 error check

* Fix typo

* Improve code readability

* Fix exception
2020-05-07 07:59:21 +02:00