Skip to content

Commit 39fa03f

Browse files
committed
Fix some spelling errors
1 parent ed64648 commit 39fa03f

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

experiments/targets/LinuxBlueZ/ble_peripheral.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def button_characteristic(self, options):
2121

2222

2323
async def main():
24-
# Alternativly you can request this bus directly from dbus_next.
24+
# Alternatively, you can request this bus directly from dbus_next.
2525
bus = await get_message_bus()
2626

2727
service = LBSService()

experiments/targets/NimBLE/workspace/drivers/psf_bridge/include/ble/xcvr.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
extern "C" {
2525
#endif
2626

27-
/* Transceiver specific defintions */
27+
/* Transceiver specific definitions */
2828
#define XCVR_RX_START_DELAY_USECS (140)
2929
#define XCVR_TX_START_DELAY_USECS (140)
3030
#define XCVR_PROC_DELAY_USECS (100)

py/BLESUL.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ def reset(self):
144144
# Terminate the current connection (if there is one)
145145
if hasattr(self, 'access_address'):
146146
# We don't expect a response.
147-
# The scan request below will also take care of reading resonse packets.
147+
# The scan request below will also take care of reading response packets.
148148
self.send(self.packets['LL_CTRL_TERMINATE_IND'](self))
149149
time.sleep(self.recv_s_min)
150150

@@ -170,7 +170,7 @@ def reset(self):
170170
self.atype = 0
171171
self.dhkey_check = b'\x00' * 16
172172

173-
# Keep track of the input/outpus symbols in the current sequence
173+
# Keep track of the input/output symbols in the current sequence
174174
self.input_sequence = []
175175
self.output_sequence = []
176176

@@ -226,7 +226,7 @@ def ll_ctrl_enc_req(self, pkt):
226226
# We have to receive the response packets one-by-one because in case a 2nd
227227
# LL_CTRL_ENC_REQ packet is sent, the LL_CTRL_ENC_RSP will be encrypted with
228228
# the old key/iv and the LL_CTRL_START_ENC_REQ with the new key/iv.
229-
# That means we have to switch the key/iv inbetween.
229+
# That means we have to switch the key/iv in between.
230230
res_pkts = []
231231
time_start = time.time()
232232
while not self.is_rsp_complete(res_pkts, time.time() - time_start):
@@ -551,4 +551,4 @@ def close(self):
551551
total_pause_time += (pause_end - pause_start)
552552
print(f' TOTAL: {total_pause_time} s')
553553
self.driver.save_pcap('BLESUL_io.pcapng')
554-
self.driver.close()
554+
self.driver.close()

0 commit comments

Comments
 (0)