AMX Mio Modero R-4 manual ? Button Query Commands, ?Bct, Send Command Device,?BCT-529,1, ?Bmp

Page 73

 

Programming the Mio R-4

 

? Button Query Commands (Cont.)

 

 

 

 

?BCT

Syntax:

 

Get the current

SEND_COMMAND <DEV>,"'?BCT-<vt addr range>,<button states range>'"

 

text color

Variables:

 

 

 

 

• variable text address range = 1 - 4000.

 

 

• button states range = 1 - 256 for multi-state buttons

 

 

(0 = All states, for General buttons 1 = Off state and 2 = On state).

 

 

• custom event type = 1013:

 

 

Flag - Zero

 

 

Value1 - Button state number

 

 

Value2 - Actual length of string (should be 9)

 

 

Value3 - Zero

 

 

Text - Hex encoded color value (ex: #000000FF)

 

 

Text length - Color name length (should be 9)

 

 

Example:

 

 

SEND COMMAND Device,"'?BCT-529,1'"

 

 

Gets the button 'OFF state' text color information.

 

 

The result sent to the Master would be:

 

 

ButtonGet Id = 529 Type = 1013

 

 

Flag = 0

 

 

VALUE1 = 1

 

 

VALUE2 = 9

 

 

VALUE3 = 0

 

 

TEXT = #FFFFFEFF

 

 

TEXT LENGTH = 9

 

 

 

 

?BMP

Syntax:

 

Get the current

SEND_COMMAND <DEV>,"'?BMP-<vt addr range>,<button states range>'"

 

bitmap name

Variables:

 

 

 

 

• variable text address range = 1 - 4000.

 

 

• button states range = 1 - 256 for multi-state buttons

 

 

(0 = All states, for General buttons 1 = Off state and 2 = On state).

 

 

• custom event type = 1002:

 

 

Flag - Zero

 

 

Value1 - Button state number

 

 

Value2 - Actual length of string

 

 

Value3 - Zero

 

 

Text - String that represents the bitmap name

 

 

Text length - Bitmap name text length (should be 9)

 

 

Example:

 

 

SEND COMMAND Device,"'?BMP-529,1'"

 

 

Gets the button 'OFF state' bitmap information.

 

 

The result sent to the Master would be:

 

 

ButtonGet Id = 529 Type = 1002

 

 

Flag = 0

 

 

VALUE1 = 1

 

 

VALUE2 = 9

 

 

VALUE3 = 0

 

 

TEXT = Buggs.png

 

 

TEXT LENGTH = 9

 

 

 

 

Mio Modero R-4

67

 

 

Image 73
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 RemoteMio R-4 FG148-04 Specifications SpecificationsTouch And Tilt Sensor Device Navigation FeaturesFCC Compliance 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 PagesViewing Project Information Project InformationProject Information Remote & Display Settings Remote & Display SettingsSleep on Display Timeout enabled Changing the remote timeoutRaising and lowering the LCD brightness Setting the Home Hold TimeRaising and lowering the charge LED brightness Changing the remote inactivity page flipChecking remote display settings Setting the time format Date/Time SettingsDate/Time Settings Getting time and date from your NetLinx MasterSetting the date Setting the date formatSetting the time Setting the volume Sound SettingsTesting the sound settings Sound SettingsBattery Settings Battery SettingsChecking Dock Status Toggling Brightness LimitProtected Settings Menu Protected Settings MenuEntering a numeric password Password EntryEntering an alphanumeric password Password ConfirmationOptions & Recovery Options & RecoveryChecking the device number Toggling the Function Show optionToggling the Page Tracking option Resetting System SettingsRemoving User Pages Protection ProtectionChanging the device password Edit PasswordsCalibrating the touch screen area CalibrateChecking connection status System SettingsStatus Master ConnectionChecking the gateway IP address Checking the master IP addressChecking the gateway EUI address Checking the PAN IDChanging the Master Connection Type Select System Settings in the Protected Settings MenuSite Survey Joining a wireless networkSite Survey Rebooting the device RebootTest Pages Programming the Mio R-4 Using the Programming Jack on the Mio R-4Updating Firmware Downloading Configuration Files through TPDesign4Updating Mio R-4 Firmware Through USB USB Programming the Mio R-4 RGB triplets and names for basic 88 colors Programming NumbersRGB Values for all 88 Basic Colors RGB Values for all 88 Basic Colors Fixed Fonts and ID Numbers Fixed Fonts and ID numbersBorder Styles by Numbers Slider/Cursor NamesSlider/Cursor Names Border Styles by NumbersTPD4 Border Styles by Name Text Effects Text Effects NamesCommands SENDCOMMANDsCommands @APG@PDR @DPG@PHE @PHP@PPA @PHT@PPF @PPG@PPM @PPK@PPN @PPX @PPT@PSE @PSPPpog PpofPpon Button Commands with Embedded Codes Button Commands with Embedded CodesBMF BMF-vt addr range,button states range,dataCont Button Commands Button CommandsANI APFBAU BATBCB BCF Sendcommand Device,BCT-500.504&510,1,12BCT BFB BDOBIM BMC Sendcommand Device,BMC-150,1,1,315,1,%BR%FT%TX%BM%IC%CF%CTZero can be used for an absolute position Sendcommand Device,BMI-530,1&2,newMac.png Sendcommand Device,BMF-500,1,%B10%CFRed%CB BlueCTBlack%Ptest.png BMIBOR BMPBPP BSF BRDBSM BSPCPF BWWDPF ENAGDI FONGIV GLHGRD GLLGRU GSCGSN Sendcommand Device,ICO-500.504&510.515,1&2,1GSN-vt addr range,bargraph slider name ICOJSI JSBSHO JSTTEC TXT TEFUNI Field Description Button Query CommandsSend Command Device,?BCB-529,1 ?Button Query CommandsSend Command Device,?BCF-529,1 ?BCBSend Command Device,?BCT-529,1 ? Button Query CommandsSend Command Device,?BMP-529,1 ?BCTSend Command Device,?BRD-529,1 Send Command Device,?BOP-529,1?BOP ?BRDSend Command Device,?FON-529,1 Send Command Device,?BWW-529,1?BWW ?FONSend Command Device,?JSB-529,1 Send Command Device,?ICO-529,1?ICO ?JSBSend Command Device,?JST-529,1 Send Command Device,?JSI-529,1?JSI ?JSTSend Command Device,?TEF-529,1 Send Command Device,?TEC-529,1?TEC ?TEF?TXT Send Command Device,?TXT-529,1Panel Run Time Commands Panel Run Time Commands@AKP Akeyr@AKR BeepDbeep Setup@EKP Pkeyp@TKP SleepTpageon TpageoffRemote Runtime Commands Remote Runtime CommandsPanel Setup Commands Input CommandsInput Commands Panel Setup CommandsRemote Setup Commands Remote Setup CommandsList Box Commands List Box CommandsSendcommand Device, LDN-5,1,4,my songs ListboxesSendcommand Device,LDA-1,0,Entry5,Meatloaf,Best Sendcommand DEV,LDA-listSendcommand Device,LDA Sendcommand DEV,LDR-listSendcommand DEV,LDT-list Sendcommand Device, LDD-1Sendcommand Device,LDT-1,1,0,0,0 Sendcommand DEV,LDL-listSendcommand Device,LVC-3,5,2,1 Sendcommand DEV,LVC-viewSendcommand DEV,LVF-view Sendcommand Device,LVF-1,0,2,SmithSendcommand Device,LVM-2,-4 Sendcommand DEV,LVM-view address,offsetSendcommand DEV,LVO-view address,sort Sendcommand Device,LVO-1,7Sendcommand Device,LVP-5,3 Sendcommand DEV,LVP-view address,indexSendcommand DEV,LVS-view Sendcommand Device,LVS-3,5,2,1Track 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