-----------------------------------------------------------------
[*] Emulating binary name: osdp_testapp
[*] Emulator used: qemu-arm-static
[*] Using root directory: /logs/s115_usermode_emulator/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract (1/2)
[*] Using CPU config:
[*] Emulating binary: /usr/bin/osdp_testapp
[*] Change permissions +x to /logs/s115_usermode_emulator/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/./usr/bin/osdp_testapp.
[*] Emulating binary ./usr/bin/osdp_testapp with parameter NONE
OSDP test app starting...
fd-1 = /dev/ttyUSB0, baudrate = 9600
failed to open port
Failed to open/initialize serial port, exiting..
[*] Emulating binary ./usr/bin/osdp_testapp with parameter -v
Version: Unknown
[*] Emulating binary ./usr/bin/osdp_testapp with parameter -V
[*] Emulating binary ./usr/bin/osdp_testapp with parameter -h
OSDP test app starting...
fd-1 = /dev/ttyUSB0, baudrate = 9600
failed to open port
Failed to open/initialize serial port, exiting..
Usage:
osdp_testapp [OPTION?]
Test application for OSDP version Unknown.
The application can be started in different modes.
Default mode: Open a serial connection to a connected physical reader.
Endpoint mode: Simulate a reader. This mode opens a serial port and can
be used to connect an ACU to the test app, or connect one
endpoint testapp to another instance running in default mode.
Local channel: Use a socket pipe and automatically internally connect an end point
device with a lib device, useful for debugging both ends simultaneously.
Spy mode: The test app is only listening for incoming data. In -S mode (RAW), data is
printed to the console without parsing. In -s mode, data is parsed before
printing. Since no data is sent in this mode, it can be used to spy on the
communication between an ACU and PD(s)
Help Options:
-h, --help Show help options
Application Options:
-v, --version Print version and exit.
-d, --device Device, e.g. /dev/ttyUSB0 for host and /dev/ttyS1 for target.
-b, --baud_rate Baud rate to use when opening serial connections.
-e, --endpoint Endpoint.
-m, --multiple_devices Endpoint devices with address 3 and 4 will be created. Use together with -e option
-V, --verbose Verbose logging.
-i, --comm_in Log incoming communication.
-o, --comm_out Log outgoing communication.
-l, --local_channel local channel to endpoint.
-s, --spy Spy with parsing (read only).
-S, --spyraw Spy raw hex output (read only).
-x, --baud_rate_to_set Baud rate to set with COMSET from inside the application (default 9600).
-a, --new_address Address to set with COMSET from inside the application [0,127] (default 0).
-j, --encrypted_endpoint Starts end points in encryption only mode, see key option below (default FALSE).
-r, --require_encryption Start the device driver requiring encryption
-k, --key Initial secure channel key to use (must be 32 characters "0102DA.."). Applicable for all modes.
--masterkey Use key as master key. Key is used as base key if left out. Not applicable for endpoint (default OFF, basekey).
-c, --installation_mode_endpoint Starts end points in installation mode (allow default key usage) (default FALSE).
-n, --allow_default_key Allow default key to be used when initializaing secure channel
-p, --Skip poll/ack Skip polls and acks in spy mode (default FALSE)
-T, --pando_ts_threshold Pando tamper setting, threshold in mg (max 2000) (default 30).
-C, --pando_ts_temp_threshold Pando tamper setting, temperature threshold in mg (max 2000) (default 3).
-R, --pando_ts_sample_rate Panto tamper setting, sample rate in Hz (200, 100, 50 or 20) (default 200).
-N, --pando_ts_nbr_samples Pando tamper setting, nbr of samples to average (max 30) (default 30).
-f, --firmware Firmware file (pando or file transfer).
-t, --text Text to set (default 'TEST').
-L, --LED command file LED command file (glib key/value .ini format)
-B, --Buzzer command file Buzzer command file (glib key/value .ini format)
--text_row Text row position row (default 1)
--text_col Text column position (default 1)
--text_command Text command (1=perm no wrap, 2=perm wrap, 3=temp no wrap, 4=temp wrap)
--temp_text_time Temporary text time [seconds] (default 3)
[*] Emulating binary ./usr/bin/osdp_testapp with parameter -help
Usage:
osdp_testapp [OPTION?]
Test application for OSDP version Unknown.
The application can be started in different modes.
Default mode: Open a serial connection to a connected physical reader.
Endpoint mode: Simulate a reader. This mode opens a serial port and can
be used to connect an ACU to the test app, or connect one
endpoint testapp to another instance running in default mode.
Local channel: Use a socket pipe and automatically internally connect an end point
device with a lib device, useful for debugging both ends simultaneously.
Spy mode: The test app is only listening for incoming data. In -S mode (RAW), data is
printed to the console without parsing. In -s mode, data is parsed before
printing. Since no data is sent in this mode, it can be used to spy on the
communication between an ACU and PD(s)
Help Options:
-h, --help Show help options
Application Options:
-v, --version Print version and exit.
-d, --device Device, e.g. /dev/ttyUSB0 for host and /dev/ttyS1 for target.
-b, --baud_rate Baud rate to use when opening serial connections.
-e, --endpoint Endpoint.
-m, --multiple_devices Endpoint devices with address 3 and 4 will be created. Use together with -e option
-V, --verbose Verbose logging.
-i, --comm_in Log incoming communication.
-o, --comm_out Log outgoing communication.
-l, --local_channel local channel to endpoint.
-s, --spy Spy with parsing (read only).
-S, --spyraw Spy raw hex output (read only).
-x, --baud_rate_to_set Baud rate to set with COMSET from inside the application (default 9600).
-a, --new_address Address to set with COMSET from inside the application [0,127] (default 0).
-j, --encrypted_endpoint Starts end points in encryption only mode, see key option below (default FALSE).
-r, --require_encryption Start the device driver requiring encryption
-k, --key Initial secure channel key to use (must be 32 characters "0102DA.."). Applicable for all modes.
--masterkey Use key as master key. Key is used as base key if left out. Not applicable for endpoint (default OFF, basekey).
-c, --installation_mode_endpoint Starts end points in installation mode (allow default key usage) (default FALSE).
-n, --allow_default_key Allow default key to be used when initializaing secure channel
-p, --Skip poll/ack Skip polls and acks in spy mode (default FALSE)
-T, --pando_ts_threshold Pando tamper setting, threshold in mg (max 2000) (default 30).
-C, --pando_ts_temp_threshold Pando tamper setting, temperature threshold in mg (max 2000) (default 3).
-R, --pando_ts_sample_rate Panto tamper setting, sample rate in Hz (200, 100, 50 or 20) (default 200).
-N, --pando_ts_nbr_samples Pando tamper setting, nbr of samples to average (max 30) (default 30).
-f, --firmware Firmware file (pando or file transfer).
-t, --text Text to set (default 'TEST').
-L, --LED command file LED command file (glib key/value .ini format)
-B, --Buzzer command file Buzzer command file (glib key/value .ini format)
--text_row Text row position row (default 1)
--text_col Text column position (default 1)
--text_command Text command (1=perm no wrap, 2=perm wrap, 3=temp no wrap, 4=temp wrap)
--temp_text_time Temporary text time [seconds] (default 3)
[*] Emulating binary ./usr/bin/osdp_testapp with parameter --help
Usage:
osdp_testapp [OPTION?]
Test application for OSDP version Unknown.
The application can be started in different modes.
Default mode: Open a serial connection to a connected physical reader.
Endpoint mode: Simulate a reader. This mode opens a serial port and can
be used to connect an ACU to the test app, or connect one
endpoint testapp to another instance running in default mode.
Local channel: Use a socket pipe and automatically internally connect an end point
device with a lib device, useful for debugging both ends simultaneously.
Spy mode: The test app is only listening for incoming data. In -S mode (RAW), data is
printed to the console without parsing. In -s mode, data is parsed before
printing. Since no data is sent in this mode, it can be used to spy on the
communication between an ACU and PD(s)
Help Options:
-h, --help Show help options
Application Options:
-v, --version Print version and exit.
-d, --device Device, e.g. /dev/ttyUSB0 for host and /dev/ttyS1 for target.
-b, --baud_rate Baud rate to use when opening serial connections.
-e, --endpoint Endpoint.
-m, --multiple_devices Endpoint devices with address 3 and 4 will be created. Use together with -e option
-V, --verbose Verbose logging.
-i, --comm_in Log incoming communication.
-o, --comm_out Log outgoing communication.
-l, --local_channel local channel to endpoint.
-s, --spy Spy with parsing (read only).
-S, --spyraw Spy raw hex output (read only).
-x, --baud_rate_to_set Baud rate to set with COMSET from inside the application (default 9600).
-a, --new_address Address to set with COMSET from inside the application [0,127] (default 0).
-j, --encrypted_endpoint Starts end points in encryption only mode, see key option below (default FALSE).
-r, --require_encryption Start the device driver requiring encryption
-k, --key Initial secure channel key to use (must be 32 characters "0102DA.."). Applicable for all modes.
--masterkey Use key as master key. Key is used as base key if left out. Not applicable for endpoint (default OFF, basekey).
-c, --installation_mode_endpoint Starts end points in installation mode (allow default key usage) (default FALSE).
-n, --allow_default_key Allow default key to be used when initializaing secure channel
-p, --Skip poll/ack Skip polls and acks in spy mode (default FALSE)
-T, --pando_ts_threshold Pando tamper setting, threshold in mg (max 2000) (default 30).
-C, --pando_ts_temp_threshold Pando tamper setting, temperature threshold in mg (max 2000) (default 3).
-R, --pando_ts_sample_rate Panto tamper setting, sample rate in Hz (200, 100, 50 or 20) (default 200).
-N, --pando_ts_nbr_samples Pando tamper setting, nbr of samples to average (max 30) (default 30).
-f, --firmware Firmware file (pando or file transfer).
-t, --text Text to set (default 'TEST').
-L, --LED command file LED command file (glib key/value .ini format)
-B, --Buzzer command file Buzzer command file (glib key/value .ini format)
--text_row Text row position row (default 1)
--text_col Text column position (default 1)
--text_command Text command (1=perm no wrap, 2=perm wrap, 3=temp no wrap, 4=temp wrap)
--temp_text_time Temporary text time [seconds] (default 3)
[*] Emulating binary ./usr/bin/osdp_testapp with parameter --version
Version: Unknown
[*] Emulating binary ./usr/bin/osdp_testapp with parameter version
OSDP test app starting...
fd-1 = /dev/ttyUSB0, baudrate = 9600
failed to open port
Failed to open/initialize serial port, exiting..
-----------------------------------------------------------------