Interface: tos.chips.cc1000.CC1000Squelch

interface CC1000Squelch

CC1000 internal noise floor (aka squelch value) interface

Author:
David Gay

Commands
command void adjust(uint16_t data) Adjust noise floor based on new noise measurement
command uint16_t get() Return current estimated noise floor
command bool settled() Check if noise floor estimate is considered stable (typically after some number of measurements)

Commands - Details

adjust

command void adjust(uint16_t data)

Adjust noise floor based on new noise measurement

Parameters:
data - noise measurement

get

command uint16_t get()

Return current estimated noise floor

Returns:
Noise floor value

settled

command bool settled()

Check if noise floor estimate is considered stable (typically after some number of measurements)

Returns:
TRUE if noise floor estimate considered stable, FALSE otherwise