# Path: cbus/common.py
# class ExtendedCALType(IntEnum):
#     BINARY = 0x00
#     LEVEL = 0x07
# 
# class GroupState(IntEnum):
#     MISSING = 0x00
#     ON = 0x01
#     OFF = 0x02
#     ERROR = 0x03


import abc
from dataclasses import dataclass
from typing import Iterator, Optional, Sequence
from cbus.common import ExtendedCALType, GroupState
#!/usr/bin/env python
# cbus/protocol/cal/report.py - Status report types
# Copyright 2019-2020 Michael Farrell <micolous+git@gmail.com>
#
# This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with this library.  If not, see <http://www.gnu.org/licenses/>.

from __future__ import absolute_import
from __future__ import annotations



__all__ = [
    'StatusReport',
    'BinaryStatusReport',
    'LevelStatusReport',
    'manchester_decode',

# Path: cbus/common.py
# class ExtendedCALType(IntEnum):
#     BINARY = 0x00
#     LEVEL = 0x07
# 
# class GroupState(IntEnum):
#     MISSING = 0x00
#     ON = 0x01
#     OFF = 0x02
#     ERROR = 0x03


# Path: cbus/protocol/cal/report.py
import abc
from dataclasses import dataclass
from typing import Iterator, Optional, Sequence
from cbus.common import ExtendedCALType, GroupState

#!/usr/bin/env python
# cbus/protocol/cal/report.py - Status report types
# Copyright 2019-2020 Michael Farrell <micolous+git@gmail.com>
#
# This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with this library.  If not, see <http://www.gnu.org/licenses/>.

from __future__ import absolute_import
from __future__ import annotations



__all__ = [
    'StatusReport',
    'BinaryStatusReport',
    'LevelStatusReport',
    'manchester_decode',

    'manchester_encode',