Temperature#
The Temperature Interface module provides interfaces for interacting with temperature sensors within the Sidewalk SDK. These interfaces ensure consistent and platform-independent access to temperature measurement functionalities, allowing developers to create applications that can accurately monitor and respond to temperature changes across different hardware platforms.
Functions#
sid_error_t
sid_pal_temperature_init(void)
Init temperature detection.
int16_t
sid_pal_temperature_get(void)
Get temperature.
Function Documentation#
sid_pal_temperature_init#
sid_error_t sid_pal_temperature_init (void )
Init temperature detection.
Parameters
Type | Direction | Argument Name | Description |
---|---|---|---|
void | N/A |
sid_pal_temperature_get#
int16_t sid_pal_temperature_get (void )
Get temperature.
Parameters
Type | Direction | Argument Name | Description |
---|---|---|---|
void | N/A |