1.5.3.1 How The Library Works

The PRIME User PIBs service library offers the PRIME Stack the necessary functions to handle the user PIBs, which include:
  • get user-defined parameters
  • set user-defined parameters
  • set callbacks

The PRIME Stack uses this interface to access the user PIBs when they are requested via MLME, Serial Profile or PRIME Profile by the user.

This library needs to be initialized, but it does not need to be maintained periodically.

This library does not include storage. Users are responsible for adding and storing their own PIBs.

Currently, there are user PIBs related to the reset handling, which are stored in the GPBRs by the PRIME Reset Handler service library (see Reset Handler Service).

Table 1-20. Reset Handling User PIBs
PIBIDContents
PIB_USER_RESET_INFO0xF000number of resets + reset type
PIB_USER_PC0xF001PC
PIB_USER_LR0xF002LR
PIB_USER_PSR0xF003PSR
PIB_USER_HFSR0xF004HFSR
PIB_USER_CFSR0xF005CFSR
PIB_USER_R00xF006R0
PIB_USER_R10xF007R1
PIB_USER_R20xF008R2
PIB_USER_R30xF009R3
PIB_USER_R120xF00AR12