def peripheral_didDiscoverServices_(self, peripheral, services):
logger.debug('<STR_LIT>')<EOL>for service in peripheral.services():<EOL><INDENT>if service_list().get(service) is None:<EOL><INDENT>service_list().add(service, CoreBluetoothGattService(service))<EOL><DEDENT>peripheral.discoverCharacteristics_forService_(None, service)<EOL><DEDENT>
Called when services are discovered for a device.