AMX Mio Modero R-4 manual Button Query Commands, Field Description

Page 71

Programming the Mio R-4

Button Query Commands

Button Query commands reply back with a custom event. Each button/state combination has one custom event. Each query is assigned a unique custom event type.

The following example is for debug purposes only:

NetLinx Example: CUSTOM_EVENT[device, Address, type]

DEFINE_EVENT

 

CUSTOM_EVENT[TP,529,1001]

// Text

CUSTOM_EVENT[TP,529,1002]

// Bitmap

CUSTOM_EVENT[TP,529,1003]

// Icon

CUSTOM_EVENT[TP,529,1004]

// Text Justification

CUSTOM_EVENT[TP,529,1005]

// Bitmap Justification

CUSTOM_EVENT[TP,529,1006]

// Icon Justification

CUSTOM_EVENT[TP,529,1007]

// Font

CUSTOM_EVENT[TP,529,1008]

// Text Effect Name

CUSTOM_EVENT[TP,529,1009]

// Text Effect Color

CUSTOM_EVENT[TP,529,1010]

// Word Wrap

CUSTOM_EVENT[TP,529,1011]

// ON state Border Color

CUSTOM_EVENT[TP,529,1012]

// ON state Fill Color

CUSTOM_EVENT[TP,529,1013]

// ON state Text Color

CUSTOM_EVENT[TP,529,1014]

// Border Name

CUSTOM_EVENT[TP,529,1015]

// Opacity

{

 

Send_String 0,"'ButtonGet Id=',ITOA(CUSTOM.ID),' Type=',ITOA(CUSTOM.TYPE)"

Send_String 0,"'Flag

=',ITOA(CUSTOM.FLAG)"

Send_String 0,"'VALUE1

=',ITOA(CUSTOM.VALUE1)"

Send_String 0,"'VALUE2

=',ITOA(CUSTOM.VALUE2)"

Send_String

0,"'VALUE3

=',ITOA(CUSTOM.VALUE3)"

Send_String

0,"'TEXT

=',CUSTOM.TEXT"

Send_String 0,"'TEXT LENGTH =',ITOA(LENGTH_STRING(CUSTOM.TEXT))"

}

All custom events have the following 6 fields:

Field

Description

Uint Flag

0 means text is a standard string, 1 means Unicode encoded string

 

 

slong value1

button state number

 

 

slong value2

actual length of string (this is not encoded size)

 

 

slong value3

index of first character (usually 1 or same as optional index)

 

 

string text

the text from the button

 

 

text length

button text length

 

 

These fields are populated differently for each query command. The Encode field is not used in any command.

Mio Modero R-4

65

 

 

Image 71
Contents Mio Modero R-4 AMX Limited Warranty and Disclaimer Table of Contents Programming the Mio R-4 Getting The Most From Your Mio Modero R-4 Table of Contents Mio R-4 Overview Mio Modero R-4 RemoteTouch And Tilt Sensor SpecificationsMio R-4 FG148-04 Specifications FCC Compliance FeaturesDevice Navigation Mio Modero R-4 Remote Mio R-4 Setup Installing Supported Language Keypads Battery Low IndicatorMio R-4 Setup Mio R-4 Setup Mio Modero R-4 Accessing the Setup Pages Device Setup PagesProject Information Project InformationViewing Project Information Remote & Display Settings Remote & Display SettingsSleep on Display Timeout enabled Changing the remote timeoutChanging the remote inactivity page flip Setting the Home Hold TimeRaising and lowering the LCD brightness Raising and lowering the charge LED brightnessChecking remote display settings Getting time and date from your NetLinx Master Date/Time SettingsSetting the time format Date/Time SettingsSetting the time Setting the date formatSetting the date Sound Settings Sound SettingsSetting the volume Testing the sound settingsToggling Brightness Limit Battery SettingsBattery Settings Checking Dock StatusProtected Settings Menu Protected Settings MenuPassword Confirmation Password EntryEntering a numeric password Entering an alphanumeric passwordToggling the Function Show option Options & RecoveryOptions & Recovery Checking the device numberRemoving User Pages Resetting System SettingsToggling the Page Tracking option Protection ProtectionChanging the device password Edit PasswordsCalibrating the touch screen area CalibrateMaster Connection System SettingsChecking connection status StatusChecking the PAN ID Checking the master IP addressChecking the gateway IP address Checking the gateway EUI addressChanging the Master Connection Type Select System Settings in the Protected Settings MenuSite Survey Joining a wireless networkSite Survey Test Pages RebootRebooting the device Programming the Mio R-4 Using the Programming Jack on the Mio R-4Updating Mio R-4 Firmware Through USB Downloading Configuration Files through TPDesign4Updating Firmware USB Programming the Mio R-4 RGB Values for all 88 Basic Colors Programming NumbersRGB triplets and names for basic 88 colors RGB Values for all 88 Basic Colors Fixed Fonts and ID Numbers Fixed Fonts and ID numbersBorder Styles by Numbers Slider/Cursor NamesBorder Styles by Numbers Slider/Cursor NamesTPD4 Border Styles by Name Text Effects Text Effects Names@APG SENDCOMMANDsCommands Commands@PHP @DPG@PDR @PHE@PPG @PHT@PPA @PPF@PPN @PPK@PPM @PSP @PPT@PPX @PSEPpon PpofPpog BMF-vt addr range,button states range,data Button Commands with Embedded CodesButton Commands with Embedded Codes BMFCont APF Button CommandsButton Commands ANIBCB BATBAU BCT Sendcommand Device,BCT-500.504&510,1,12BCF BIM BDOBFB BMC Sendcommand Device,BMC-150,1,1,315,1,%BR%FT%TX%BM%IC%CF%CTZero can be used for an absolute position BMI Sendcommand Device,BMF-500,1,%B10%CFRed%CB BlueSendcommand Device,BMI-530,1&2,newMac.png CTBlack%Ptest.pngBPP BMPBOR BSP BRDBSF BSMENA BWWCPF DPFGLH FONGDI GIVGSC GLLGRD GRUICO Sendcommand Device,ICO-500.504&510.515,1&2,1GSN GSN-vt addr range,bargraph slider nameJSI JSBTEC JSTSHO UNI TEFTXT Field Description Button Query Commands?BCB ?Button Query CommandsSend Command Device,?BCB-529,1 Send Command Device,?BCF-529,1?BCT ? Button Query CommandsSend Command Device,?BCT-529,1 Send Command Device,?BMP-529,1?BRD Send Command Device,?BOP-529,1Send Command Device,?BRD-529,1 ?BOP?FON Send Command Device,?BWW-529,1Send Command Device,?FON-529,1 ?BWW?JSB Send Command Device,?ICO-529,1Send Command Device,?JSB-529,1 ?ICO?JST Send Command Device,?JSI-529,1Send Command Device,?JST-529,1 ?JSI?TEF Send Command Device,?TEC-529,1Send Command Device,?TEF-529,1 ?TEC?TXT Send Command Device,?TXT-529,1Panel Run Time Commands Panel Run Time CommandsBeep Akeyr@AKP @AKRPkeyp SetupDbeep @EKPTpageoff Sleep@TKP TpageonRemote Runtime Commands Remote Runtime CommandsPanel Setup Commands Input CommandsPanel Setup Commands Input CommandsRemote Setup Commands Remote Setup CommandsListboxes List Box CommandsList Box Commands Sendcommand Device, LDN-5,1,4,my songsSendcommand DEV,LDR-list Sendcommand DEV,LDA-listSendcommand Device,LDA-1,0,Entry5,Meatloaf,Best Sendcommand Device,LDASendcommand DEV,LDL-list Sendcommand Device, LDD-1Sendcommand DEV,LDT-list Sendcommand Device,LDT-1,1,0,0,0Sendcommand Device,LVF-1,0,2,Smith Sendcommand DEV,LVC-viewSendcommand Device,LVC-3,5,2,1 Sendcommand DEV,LVF-viewSendcommand Device,LVO-1,7 Sendcommand DEV,LVM-view address,offsetSendcommand Device,LVM-2,-4 Sendcommand DEV,LVO-view address,sortSendcommand Device,LVS-3,5,2,1 Sendcommand DEV,LVP-view address,indexSendcommand Device,LVP-5,3 Sendcommand DEV,LVS-viewTrack Artist Album Title Channel Number List Box Command My Music’LDR-1,0,4’ List Box Command My Music with ChangesGetting the Most From the Mio R-4 Getting The Most From Your Mio Modero R-4Getting The Most From Your Mio Modero R-4 ZigBee Network Calculator ZigBee Network CalculatorMio Modero R-4 Return Button Mio Remote Charging Base SpecificationsCharging The Mio Remote with Charging Base Mio-RCC Remote Charging Base FG147-02 SpecificationsMio Remote Charging Base Mio Modero R-4 It’s Your World Take Control