Host USB Commands
Last updated
Last updated
Copyright © 2024 | All Rights Reserved
NOTE : This feature is currently disabled. Contact Intrepid support for availability.
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).
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.
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.
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
Command | ID | Notes |
---|---|---|
Position | ID | Notes |
---|---|---|
HOST_COMMAND_SET_SETTINGS
0xAA01
HOST_SETTING_PLCA_ENABLE
0
1 to enable, 0 Disable
HOST_SETTING_PLCA_LOCAL_ID
1
HOST_SETTING_BUS_NODE_COUNT
2
HOST_SETTING_MAX_BURST_CNT
3
HOST_SETTING_BURST_TIMER
4
HOST_SETTING_TX_OPP_TMR
5
HOST_SETTING_TEST_MODE
6
0 = enter normal mode, 1-4 = Test Modes (Not saved in flash as default)
HOST_SETTING_STATUS_INTERVAL_LSB
7
Bytes 7 and 8 are 16 bit value for reporting register status in milliseconds. 0 = disabled
HOST_SETTING_SAVE_SETTINGS_TO_FLASH
9
1 = update as power up defaults, 0 = do not update.
HOST_SETTING_OSCOPE_TRIGGER
10
0 = disabled, x is scope trigger