code: def process_gatt_service(services, event):
      
  
      length = len(event.payload) - 5
  
      handle, start, end, uuid = unpack('<BHH%ds' % length, event.payload)
  
      uuid = process_uuid(uuid)
      services[uuid] = {'uuid_raw': uuid, 'start_handle': start, 'end_handle': end}
docs: Process a BGAPI event containing a GATT service description and add it to a dictionary
  
      Args:
          services (dict): A dictionary of discovered services that is updated with this event
          event (BGAPIPacket): An event containing a GATT service