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

Update documentation to cover RF packets

RF packets behave identically to IR packets, so update the docs to match
This commit is contained in:
Matthew Garrett 2016-10-30 14:17:44 -07:00
parent 989009e21f
commit 925742768d
2 changed files with 2 additions and 3 deletions

View File

@ -23,13 +23,13 @@ Enter learning mode:
devices[0].enter_learning()
```
Obtain an IR packet while in learning mode:
Obtain an IR or RF packet while in learning mode:
```
ir_packet = devices[0].check_data()
```
(This will return None if the device does not have a packet to return)
Send an IR packet:
Send an IR or RF packet:
```
devices[0].send_data(ir_packet)
```

View File

@ -132,5 +132,4 @@ Todo
----
* Support for other devices using the Broadlink protocol (various smart home devices)
* Verify whether RF learning uses the same information. The first 4 bytes of the response packet may indicate the type of response that was learned, and the first 4 bytes of the payload may provide that back to the Broadlink on sending. Alternatively, this information may be embedded in the response data already.
* Figure out what the format of the data packets actually is.