Skip to main content

Host USB Commands

NOTE : This feature is currently disabled. Contact Intrepid support for availability.

Overview

The RAD-Meteor has the ability to receive commands over the normal Ethernet data stream. RAD-Meteor will intercept host messages targeted to the MAC Address 00:FC:70:1C:00:00. These Ethernet frames are processed by RAD-Meteor and discarded (they are not sent on the T1s bus).

Similarly RAD-Meteor will send responses or status using this same mac address.

Please see the RAD-Meteor settings project on GitHub to use as an example app (Figure 1).

Settings App Example

The RAD Meteor example settings app is an open source app from Intrepid. The Windows App is below. You need to install WinPCAP for this to work.

Example Windows Console app to change settings

settings_app

Figure 1 - The settings example is a winpcap application that sends the settings host command.

Commands

The data payload begins at 42 bytes. The first two bytes of the payload are the command in big endian format (AA is the first byte). The command's data begins right after the command (44 bytes). The table below lists the commands.

CommandIDNotes
HOST_COMMAND_SET_SETTINGS0xAA01

Settings Command

The settings command allows you to set the device settings from the host. You can optionally have them saved as the power up default. The settings example app uses this command - please reference this app for an example. The settings are the same as described in the Main Screen topic.

The payload bytes not used should be set to zero for future compatibility.

Note The defaults are stored in flash memory and are not meant to be updated 1000's times a day as might happen in a tester application. So do not save settings to flash if its not necessary. The flash typical endurance is 100k writes.

Command: 0xAA01

Data

PositionIDNotes
HOST_SETTING_PLCA_ENABLE01 to enable, 0 Disable
HOST_SETTING_PLCA_LOCAL_ID1
HOST_SETTING_BUS_NODE_COUNT2
HOST_SETTING_MAX_BURST_CNT3
HOST_SETTING_BURST_TIMER4
HOST_SETTING_TX_OPP_TMR5
HOST_SETTING_TEST_MODE60 = enter normal mode, 1-4 = Test Modes (Not saved in flash as default)
HOST_SETTING_STATUS_INTERVAL_LSB7Bytes 7 and 8 are 16 bit value for reporting register status in milliseconds. 0 = disabled
HOST_SETTING_SAVE_SETTINGS_TO_FLASH91 = update as power up defaults, 0 = do not update.
HOST_SETTING_OSCOPE_TRIGGER100 = disabled, x is scope trigger