This guide provides the recommended step-by-step configuration for the S1B Measurement Polling Protocol. This is an advanced mode where the gateway actively polls each sensor in a list.
Step 1: Set the Sensor Mode
First, switch the gateway to polling mode using the sensormode command.
sensormode s1bpolling
Step 2: Import the Sensor List
Ensure the provided microSD card, which is typically prepopulated with the list of associated Sensor Seals, is inserted into the gateway. Run the following command to import the list:
s1bpolling import
Step 3: Set Radio Configurations (PHY)
You need to define two LoRa physical layers (PHYs) for radio communication.
-   Default PHY: Used for configuration updates to all sensors.
 -    Active PHY: Used for high-speed polling requests and responses.
 
s1bpolling set_default_phy lora 922000000 8 250k 4/5
s1bpolling set_active_phy lora 922000000 7 250k 4/5
Step 4: Configure Polling and Recharge Timings
These timings are crucial for reliable communication and managing the power of the rotation-powered sensors. The values are in milliseconds.
-   set_interval: Sets how often the gateway polls the entire list of sensors.
 -    set_rx_recharge: A delay allowing a sensor to charge its capacitor before responding.
 -    set_tx_recharge: A delay allowing a sensor to charge its capacitor before listening again.
 
s1bpolling set_interval 1200
s1bpolling set_rx_recharge 500
s1bpolling set_tx_recharge 500
Step 5: Set the Encryption Key
Secure the communication with a 256-bit AES key. This key must match the one programmed into your sensors.
s1bpolling set_key <key_provided_by_lorbrand>
Step 6: Configure Advanced Parameters
These settings fine-tune radio performance and response handling.
s1bpolling set_config_interval 120000
s1bpolling rx_duty 10 30
s1bpolling set_response_timeout 3000
Step 7: Define Requested Data Properties
Specify which data points the gateway should request from the sensors during each poll.
 Note: Adding too many properties can increase packet size and affect performance.
s1bpolling props add FP_RPM 32
s1bpolling props add FP_VIBRATION_RMS_ALL 32
s1bpolling props add FP_SYS_VOLTAGE 16
s1bpolling props add FP_TEMPERATURE 16
For a full list of available properties, see the S1B Polling Properties reference.
Step 8: Enable Polling
Finally, enable the configuration broadcast and the main polling loop to start collecting data.
s1bpolling config enable
s1bpolling polling enable