Skip to content

Instantly share code, notes, and snippets.

@maxgibbons
Created August 23, 2016 23:32
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
rACM Get Device Status Output
username$ python host_app_ctrl.py -d /dev/tty.usbserial-FTFMFMP8 GET_DEVICE_STATUS
Device ID = 00000001 (0x00000001)
Node ID = 0x0003451F
Node Type = UNODE
Comm System = COMM_SYS_2.X
Device state = DEPLOYED
Application Profile = UNSECURED_POWERED
POR Host UART State = TEST_OVERRIDE
Alarm Hysteresis = 300 (sec)
UART Timeout = 8 (sec)
UART Retry Alarm Thresh = DISABLED
LVD Alarm Config = DISABLED
Network Discovery Conn = ON
Provision Quick Start = ENABLED
RHT Protocol Support = DISABLED
Ext Switch Function = ALARM_TOGGLE
————————-
Read Block1 Rate:Offset = 1HR (2) : (GMT + 0:00)
Read Block2 Rate:Offset = NONE (15) : (GMT + 0:00)
Poll Block1 Rate:Offset = NONE (15) : (GMT + 0:00)
Poll Block2 Rate:Offset = NONE (15) : (GMT + 0:00)
Poll Block3 Rate:Offset = NONE (15) : (GMT + 0:00)
————————-
POR App Serial Function = OTA_BUFFERED
APP_INTF1 Mode = FUNC_MODE0 (LPT)
– OTA Data Reporting = OFF
– Read Block Mapping = NONE
– Poll Block Mapping = NONE
APP_INTF2 Mode = DIG_INPUT
– OTA Data Reporting = OFF
– Read Block Mapping = NONE
– Poll Block Mapping = NONE
APP_INTF3 Mode = DIG_INPUT
– OTA Data Reporting = OFF
– Read Block Mapping = NONE
– Poll Block Mapping = NONE
APP_INTF4 Mode = DIG_INPUT
– OTA Data Reporting = OFF
– Read Block Mapping = NONE
– Poll Block Mapping = NONE
APP_INTF5 Mode = DIG_INPUT
– OTA Data Reporting = OFF
– Read Block Mapping = NONE
– Poll Block Mapping = NONE
APP_INTF6(ANA_IN0) Mode = ADC1 (fixed)
– OTA Data Reporting = OFF
– Read Block Mapping = NONE
– Poll Block Mapping = NONE
APP_INTF7[A_UART] Mode = SERIAL_DATA (fixed)
– OTA Data Reporting = OFF
– Read Block Mapping = NONE
– Poll Block Mapping = NONE
APP_INTF8[VREAD2] Mode = VBATT (fixed)
– OTA Data Reporting = OFF
– Read Block Mapping = NONE
– Poll Block Mapping = NONE
————————-
APP_INTF1 DIG_INPUT Configuration
– Edge Interrupt = INT_OFF
– Alarm Type = DISABLED
– Internal Pull Enable = DISABLED
– Pull Up/Down = INTERNAL_PULLDOWN
APP_INTF2 DIG_INPUT Configuration
– Edge Interrupt = INT_OFF
– Alarm Type = DISABLED
– Internal Pull Enable = DISABLED
– Pull Up/Down = INTERNAL_PULLDOWN
APP_INTF3 DIG_INPUT Configuration
– Edge Interrupt = INT_OFF
– Alarm Type = DISABLED
– Internal Pull Enable = DISABLED
– Pull Up/Down = INTERNAL_PULLDOWN
APP_INTF4 DIG_INPUT Configuration
– Edge Interrupt = INT_OFF
– Alarm Type = DISABLED
– Internal Pull Enable = DISABLED
– Pull Up/Down = INTERNAL_PULLDOWN
APP_INTF5 DIG_INPUT Configuration
– Edge Interrupt = INT_OFF
– Alarm Type = DISABLED
– Internal Pull Enable = DISABLED
– Pull Up/Down = INTERNAL_PULLDOWN
————————-
APP_INTF1 DIG_OUTPUT Configuration
– Open Drain Enable = DISABLED
– Drive Strength = LOW
– Output Level = LOW
APP_INTF2 DIG_OUTPUT Configuration
– Open Drain Enable = DISABLED
– Drive Strength = LOW
– Output Level = LOW
APP_INTF3 DIG_OUTPUT Configuration
– Open Drain Enable = DISABLED
– Drive Strength = LOW
– Output Level = LOW
APP_INTF4 DIG_OUTPUT Configuration
– Open Drain Enable = DISABLED
– Drive Strength = LOW
– Output Level = LOW
APP_INTF5 DIG_OUTPUT Configuration
– Open Drain Enable = DISABLED
– Drive Strength = LOW
– Output Level = LOW
————————-
ADC1 Block Configuration
– Cal Slope = 0.045776 (mV/count)
– Cal Offset = 0 (mV)
– Sampling Params = 10 subsamples across a 167msec window
– Alarm Type = DISABLED
– Upper Thresh (Hi) = 3300 (mV)
– Upper Thresh (Lo) = 3300 (mV)
– Lower Thresh (Hi) = 0 (mV)
– Lower Thresh (Lo) = 0 (mV)
ADC2 Block Configuration
– Cal Slope = 0.045776 (mV/count)
– Cal Offset = 0 (mV)
– Sampling Params = 10 subsamples across a 167msec window
– Alarm Type = DISABLED
– Upper Thresh (Hi) = 3300 (mV)
– Upper Thresh (Lo) = 3300 (mV)
– Lower Thresh (Hi) = 0 (mV)
– Lower Thresh (Lo) = 0 (mV)
VBATT Block Configuration
– Cal Slope = 0.091553 (mV/count)
– Cal Offset = 0 (mV)
– VBATT Thresh Mgmt = DISABLED
– VBATT Thresh (Hi) = 3000 (mV)
– VBATT Thresh (Lo) = 2100 (mV)
– VBATT Recharge Poll = NONE
————————-
OTA State = JOINED
Alarm Bit Mask = 0x0000
Current Sensor Data = 0
————————-
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment