mirror of
https://github.com/mjg59/python-broadlink.git
synced 2024-11-22 07:00:12 +01:00
Update protocol.md
This commit is contained in:
parent
2388808f41
commit
3c44422b60
@ -38,12 +38,14 @@ To discover Broadlink devices on the local network, send a 48 byte packet with t
|
|||||||
Send this packet as a UDP broadcast to 255.255.255.255 on port 80.
|
Send this packet as a UDP broadcast to 255.255.255.255 on port 80.
|
||||||
|
|
||||||
Response (any unicast response):
|
Response (any unicast response):
|
||||||
|
|
||||||
| Offset | Contents |
|
| Offset | Contents |
|
||||||
|---------|----------|
|
|---------|----------|
|
||||||
|0x34-0x35|Device type as a little-endian 16 bit integer (see device type mapping)|
|
|0x34-0x35|Device type as a little-endian 16 bit integer (see device type mapping)|
|
||||||
|0x3a-0x40|MAC address of the target device|
|
|0x3a-0x40|MAC address of the target device|
|
||||||
|
|
||||||
Device type mapping:
|
Device type mapping:
|
||||||
|
|
||||||
| Device type in response packet | Device type | Treat as |
|
| Device type in response packet | Device type | Treat as |
|
||||||
|---------|----------|----------|
|
|---------|----------|----------|
|
||||||
|0|SP1|SP1|
|
|0|SP1|SP1|
|
||||||
|
Loading…
Reference in New Issue
Block a user