@@ -288,7 +288,7 @@ def search(self, search_timeout=60, device_id=None, include_unpaired_devices=Fal
288288 if beacon .device_state != Beacon .STATE_LINK :
289289 _log .warning ("Device busy, not ready for link. device_number=0x%04x state=%d." ,
290290 tracking_device_number , beacon .device_state )
291- # are we looking for a sepcific device
291+ # are we looking for a specific device
292292 if device_id is not None :
293293 if device_id == tracking_device_id :
294294 # the device exactly matches the one we're looking for
@@ -303,7 +303,7 @@ def search(self, search_timeout=60, device_id=None, include_unpaired_devices=Fal
303303 continue
304304 elif not include_unpaired_devices and tracking_device_id is None :
305305 # requested not to return unpared devices
306- # but the one linked is unkown .
306+ # but the one linked is unknown .
307307 # FIXME add device to AP2 filter and contiue search
308308 _log .debug ("Found device, but paring not enabled. device_number=0x%04x" , tracking_device_number )
309309 continue
@@ -348,7 +348,7 @@ def auth(self, pair=True, timeout=60):
348348 with the device we are currenly linked. Not
349349 valid unless device is in link status.
350350 If a client key is known, transport will be
351- openned without user interaction. If key is unkown
351+ openned without user interaction. If key is unknown
352352 we will attempt to pair with device (which must
353353 be acknowledged by human on GPS device.)
354354 If paising is not enabled Auth is impossible.
@@ -381,7 +381,7 @@ def auth(self, pair=True, timeout=60):
381381 _log .warning ("Device pairing failed. Removing key from db. Try re-pairing." )
382382 self .known_client_keys .delete_device (client_id )
383383 elif pair :
384- _log .debug ("Device unkown , requesting pairing." )
384+ _log .debug ("Device unknown , requesting pairing." )
385385 auth_cmd = Auth (Auth .OP_PAIR , ANTFS_HOST_NAME )
386386 self .channel .write (auth_cmd .pack ())
387387 while True :
@@ -395,7 +395,7 @@ def auth(self, pair=True, timeout=60):
395395 else :
396396 _log .warning ("Device pairing failed. Request rejected?" )
397397 else :
398- _log .warning ("Device 0x08%x has data but pairing is disabled and key is unkown ." , client_id )
398+ _log .warning ("Device 0x08%x has data but pairing is disabled and key is unknown ." , client_id )
399399 #confirm the ANT-FS channel is open
400400 self .beacon = Beacon .unpack (self .channel .recv_broadcast (0 ))
401401 assert self .beacon .device_state == Beacon .STATE_TRANSPORT
0 commit comments