<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def process_gatt_service(services, event):
 """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 """


    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}