def METHOD_NAME(security_ctx, response_data):
    # Interpret protobuf response packet from GetStatus command
    decrypted_message = security_ctx.decrypt_data(tobytes(response_data))
    cmd_resp1 = proto.wifi_config_pb2.WiFiConfigPayload()
    cmd_resp1.ParseFromString(decrypted_message)
    print_verbose(security_ctx, 'Response type ' + str(cmd_resp1.msg))
    print_verbose(security_ctx, 'Response status ' + str(cmd_resp1.resp_get_status.status))
    if cmd_resp1.resp_get_status.sta_state == 0:
        print('++++ WiFi state: ' + 'connected ++++')
        return 'connected'
    elif cmd_resp1.resp_get_status.sta_state == 1:
        print('++++ WiFi state: ' + 'connecting... ++++')
        return 'connecting'
    elif cmd_resp1.resp_get_status.sta_state == 2:
        print('++++ WiFi state: ' + 'disconnected ++++')
        return 'disconnected'
    elif cmd_resp1.resp_get_status.sta_state == 3:
        print('++++ WiFi state: ' + 'connection failed ++++')
        if cmd_resp1.resp_get_status.fail_reason == 0:
            print('++++ Failure reason: ' + 'Incorrect Password ++++')
        elif cmd_resp1.resp_get_status.fail_reason == 1:
            print('++++ Failure reason: ' + 'Incorrect SSID ++++')
        return 'failed'
    return 'unknown'