I'm trying to send an infraRed pattern from my application on an LG G3.
Apparently, LG doesn't use the existing ConsumerIrManager
so I've added LG's own QRemoteSDK to my project.
But calling
mIR.sendIRPattern((int)frequency, timePattern);
returns an error ResultCode.IR_PORT_DISABLED
. This error is documented as
IR features can be managed by Mobile Device Management (MDM). If Mobile Device Management is enabled, IR functionality cannot be used. In that case, QRemote APIs will return ResultCode.IR_PORT_DISABLED and shows the toast popup with the warning "Remote control is unavailable by server policy."
MDM is new to me. Is this MDM somehow under my control? How can I disable this?
Note that
- the LG remote application does work
- this is a personal phone, not linked to a company, used in-home trying to control our TV
- it has no SIM-card for the moment