s1bpolling command

The
s1bpolling
command is used to configure all aspects of the S1B polling communication mode. It is a command suite with multiple subcommands for managing the sensor list, controlling the polling process, and setting radio parameters.

Sensor List Management

These commands allow you to manage the list of sensors the gateway will actively poll.
Command Description
add <UID>
Adds a Sensor Seal to the polling list.
remove <UID>
Removes a Sensor Seal from the polling list.
remove_all
Clears the entire polling list.
list
Shows the list of Sensor Seal UIDs to poll.
import
Imports the polling list from a microSD card.
export
Exports the polling list to a microSD card.

Polling Control and Status

Use these commands to start, stop, and monitor the polling process.
Command Description
info
Shows the current polling setup information.
once <UID>
Polls a single Sensor Seal one time.
polling <enable OR disable>
Enables or disables the regular polling loop.
config <enable OR disable>
Enables or disables broadcasting of configuration packets.

Timing and Timeout Configuration

These commands fine-tune the timing of the polling sequence. All time values are in milliseconds (ms).
Command Description
set_interval <ms>
Sets the polling interval for the entire list.
set_config_interval <ms>
Sets the interval for sending configuration packets.
set_rx_recharge <ms>
Sets the delay before a sensor sends its response.
set_tx_recharge <ms>
Sets the delay after a sensor sends a response.
set_response_timeout <ms>
Sets the timeout for waiting for a sensor's response.

Security and Radio Configuration

These commands configure the physical radio layer (PHY) and encryption settings.
Command Description
set_key <key_hex_64_chars>
Sets the 256-bit AES encryption key.
rx_duty <R> <S>
Tunes advanced sensor receive parameters.
set_default_phy <phy>
Sets the default LoRa PHY for config broadcasts. See format below.
set_active_phy <phy>
Sets the active LoRa PHY for polling. See format below.

<phy>
Parameter Format

The
<phy>
parameter specifies the LoRa radio configuration.
  • Format
    :
    lora <frequency_hz> <spreading_factor> <bandwidth> <coding_rate>
  • <spreading_factor>
    : An integer from 5 to 12.
  • <bandwidth>
    :
    41.7k
    ,
    62.5k
    ,
    125k
    ,
    250k
    , or
    500k
    .
  • <coding_rate>
    : Must be
    4/5
    .
  • Example
    :
    lora 922000000 7 250k 4/5

Data Property Management

These commands control which specific data points are requested from the sensors.
Command Description
props list
Lists the properties that will be requested from sensors.
props add <prop> <bits>
Adds a property to the request list. See S1B Polling Properties.

Example of Adding a Property

s1bpolling props add FP_RPM 32