Skip to content

Commit e427203

Browse files
authored
Merge pull request #23 from Neradoc/fix-documentation-params
Fix documentation of params
2 parents ba20ca0 + 1e2839c commit e427203

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

adafruit_bluefruitspi.py

+4
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,7 @@ def send_keyboard_code(self, evt):
162162
"""
163163
Put an AT+BLEKEYBOARDCODE command into the FIFO buffer.
164164
Call pop_keyboard_code() to send a single packet to the Bluefruit.
165+
165166
:param evt: bytearray(8) representing keyboard code to send
166167
"""
167168
evt = ba.hexlify(evt)
@@ -188,6 +189,7 @@ def pop_keyboard_code_queue(self):
188189
def _create_sdep_raw(dest, payload, more):
189190
"""
190191
Create an SDEP packet
192+
191193
:param dest: bytearray(20) to place SDEP packet in
192194
:param payload: iterable with length <= 16 containing the payload data
193195
:param more: True to set the more bit, False otherwise
@@ -210,6 +212,7 @@ def _cmd(self, cmd): # pylint: disable=too-many-branches
210212
a new-line character.
211213
Returns msgtype, rspid, rsp, which are 8-bit int, 16-bit int and a
212214
bytearray.
215+
213216
:param cmd: The new-line terminated AT command to execute.
214217
"""
215218
# Make sure we stay within the 255 byte limit
@@ -302,6 +305,7 @@ def connected(self):
302305
def uart_tx(self, data):
303306
"""
304307
Sends the specific bytestring out over BLE UART.
308+
305309
:param data: The bytestring to send.
306310
"""
307311
return self._cmd(b"AT+BLEUARTTX=" + data + b"\r\n")

0 commit comments

Comments
 (0)