Qeedji DMB 400 User Manual page 18

Hide thumbs Also See for DMB 400:
Table of Contents

Advertisement

Configuration
GPIO1 connector configuration can be done by editing the user preferences using the
script. The GPIO1 configuration part for this script is described here:
H ow to configure the J ack 3.5 mm connector:
//Set Jack 3.5 mm mode infrared
if (aDirection = =
"disable")
{
Services.prefs.setBoolPref("system.connector.jack35_ 1.1.io.uart_ 1.enabled", true);
}
else //Set Jack 3.5 mm mode GPIO
{
Services.prefs.setBoolPref("system.connector.jack35_ 1.1.io.uart_ 1.enabled", false);
}
// Set the Jack 3.5 mm direction: input or output
if (aDirection = =
"out")
{
Services.prefs.setBoolPref("innes.app-profile.gpio-input.jack35-gpio_ 1.jack35_ 1.*.authorized", false);
Services.prefs.setBoolPref("innes.app-profile.gpio-output.jack35-gpio_ 1.jack35_ 1.*.authorized", true);
Services.prefs.setBoolPref("system.connector.jack35_ 1.1.io.jack35-gpio_ 1.enabled", true);
}
else if (aDirection = =
"in")
{
Services.prefs.setBoolPref("innes.app-profile.gpio-input.jack35-gpio_ 1.jack35_ 1.*.authorized", true);
Services.prefs.setBoolPref("innes.app-profile.gpio-output.jack35-gpio_ 1.jack35_ 1.*.authorized", false);
Services.prefs.setBoolPref("system.connector.jack35_ 1.1.io.jack35-gpio_ 1.enabled", true);
}
else if (aDirection = =
"disable")
{
Services.prefs.setBoolPref("innes.app-profile.gpio-input.jack35-gpio_ 1.jack35_ 1.*.authorized", false);
Services.prefs.setBoolPref("innes.app-profile.gpio-output.jack35-gpio_ 1.jack35_ 1.*.authorized", false);
Services.prefs.setBoolPref("system.connector.jack35_ 1.1.io.jack35-gpio_ 1.enabled", false);
}
Administration console
18
user interface or with a configuration

Advertisement

Table of Contents
loading

Related Products for Qeedji DMB 400

This manual is also suitable for:

4.13.15 002e

Table of Contents