diff --git a/README.md b/README.md index 6a6f01847..a92fb77ff 100644 --- a/README.md +++ b/README.md @@ -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) ``` diff --git a/protocol.md b/protocol.md index c91c4fbde..1888a19d5 100644 --- a/protocol.md +++ b/protocol.md @@ -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. \ No newline at end of file