Solution 1:

In the first case, you're talking about something that's multipurpose:

[Merriam-Webster]

: serving or able to serve more than one purpose
// a multipurpose tool
// multipurpose rooms
// a multi-purpose cleaner

In different contexts (situations), the device serves a different purpose. It's a multipurpose device.


In the second case, in contrast, you're talking about a single-purpose object.