Firmware upgrade PIB attributes The following PIB attributes shall be supported by Service Nodes to support the firmware download application. Table 99 - FU PIB attributes Attribute Name Size Id Description (in bits) AppFwdlRunning 16 0x0070 Indicate if a firmware download is in progress or not. 0 = No firmware download; 1 = Firmware download in progress. Count of firmware download packets that have been received AppFwdlRxPktCount 16 0x0071 untill the time of query. State machine General A Service Node using the Firmware Upgrade service will be in one of five possible states: Idle, Receiving, Complete, Countdown and Upgrade. These states, the events triggering them and the resulting actions/output messages are detailed below. Table 100 - FU State Machine FU State Description Event Output (or action to be Next state performed) Idle The FU application Receive FU_INFO_REQ FU_INFO_RSP. Idle is doing nothing. Receive FU_STATE_REQ FU_STATE_RSP (.State = 0). Idle Receive FU_MISS_REQ FU_STATE_RSP (.State = 0). Idle Receive FU_CRC_REQ FU_STATE_RSP (.State = 0). Idle Receive FU_INIT_REQ FU_STATE_RSP (.State = 1). Receiving Receive FU_DATA (ignore). Idle Receive FU_EXEC_REQ FU_STATE_RSP (.State = 0). Idle Receive FU_STATE_RSP (.State = 0). Idle FU_CONFIRM_REQ Receive FU_KILL_REQ FU_STATE_RSP (.State = 0). Idle Receiving The FU application Complete FW received (if CRC of the complete Complete is receiving the and CRC OK Image is OK, switch to Firmware Image. Complete without sending any additional messages) Receive FU_INFO_REQ FU_INFO_RSP. Receiving
Firmware upgrade PIB attributes The following PIB attributes shall be supported by Service Nodes to support the firmware download application. Table 99 - FU PIB attributes Attribute Name Size (in bits) Id Description AppFwdlRunning 16 0x0070 Indicate if a firmware download is in progress or not. 0 = No firmware download; 1 = Firmware download in progress. AppFwdlRxPktCount 16 0x0071 Count of firmware download packets that have been received untill the time of query. State machine General A Service Node using the Firmware Upgrade service will be in one of five possible states: Idle, Receiving, Complete, Countdown and Upgrade. These states, the events triggering them and the resulting actions/output messages are detailed below. Table 100 - FU State Machine FU State Description Event Output (or action to be performed) Next state Idle The FU application is doing nothing. Receive FU_INFO_REQ FU_INFO_RSP. Idle Receive FU_STATE_REQ FU_STATE_RSP (.State = 0). Idle Receive FU_MISS_REQ FU_STATE_RSP (.State = 0). Idle Receive FU_CRC_REQ FU_STATE_RSP (.State = 0). Idle Receive FU_INIT_REQ FU_STATE_RSP (.State = 1). Receiving Receive FU_DATA (ignore). Idle Receive FU_EXEC_REQ FU_STATE_RSP (.State = 0). Idle Receive FU_CONFIRM_REQ FU_STATE_RSP (.State = 0). Idle Receive FU_KILL_REQ FU_STATE_RSP (.State = 0). Idle Receiving The FU application is receiving the Firmware Image. Complete FW received and CRC OK (if CRC of the complete Image is OK, switch to Complete without sending any additional messages) Complete Receive FU_INFO_REQ FU_INFO_RSP. Receiving
PRIME_English_version.docx