diff --git a/autopts/ptsprojects/mynewt/gatt_wid.py b/autopts/ptsprojects/mynewt/gatt_wid.py index 0288d7d453..c792b26d31 100644 --- a/autopts/ptsprojects/mynewt/gatt_wid.py +++ b/autopts/ptsprojects/mynewt/gatt_wid.py @@ -61,77 +61,3 @@ def hdl_wid_98(_: WIDParams): def hdl_wid_118(_: WIDParams): return '{0:04x}'.format(65000) - -def hdl_wid_121(_: WIDParams): - # Lookup characteristic UUID that returns Insufficient Encryption Key Size - # TODO This needs reworking - chrcs = btp.gatts_get_attrs(type_uuid='2803') - - for chrc in chrcs: - handle, perm, _ = chrc - - chrc_val = btp.gatts_get_attr_val(btp.pts_addr_type_get(), - btp.pts_addr_get(), handle) - if not chrc_val: - continue - - (_, val_len, val) = chrc_val - - hdr = '