Type which holds the start and end addresses of the manufacturing store.
Public Attributes#
This function allows applications to extend the manufacturing store to be be used for non-Sidewalk values.
Public Attribute Documentation#
addr_start#
uintptr_t sid_pal_mfg_store_region_t::addr_start
The start address of the manufacturing store region.
addr_end#
uintptr_t sid_pal_mfg_store_region_t::addr_end
The end address of the manufacturing store region.
app_value_to_offset#
sid_pal_mfg_store_app_value_to_offset_t sid_pal_mfg_store_region_t::app_value_to_offset
This function allows applications to extend the manufacturing store to be be used for non-Sidewalk values.
Applications should provide an implementation of this function if they wish to extend the manufacturing store for their own use. Its responsibility is to convert a value identifier to an offset (in bytes) from the beginning of the manufacturing store. Sidewalk owns the first SID_PAL_MFG_STORE_CORE_VALUE_MAX identifiers, So this function's input should be greater than SID_PAL_MFG_STORE_CORE_VALUE_MAX and its output should a valid offset below the mfg_store end address. If no mapping from the value identifier to an offset can be found, this function should return SID_PAL_MFG_STORE_INVALID_OFFSET value, which will cause the manufacturing store implementation to reject any operation on the provided value.