(self)
| 104 | raise BMObjectInvalidError() |
| 105 | |
| 106 | def checkBroadcast(self): |
| 107 | if len(self.data) < 180: |
| 108 | logger.debug('The payload length of this broadcast packet is unreasonably low. Someone is probably trying funny business. Ignoring message.') |
| 109 | raise BMObjectInvalidError() |
| 110 | |
| 111 | # this isn't supported anymore |
| 112 | if self.version < 2: |
| 113 | raise BMObjectInvalidError() |
no test coverage detected