(0x0B) OTA Upgrade Client Frames

(0x0B) OTA Upgrade Client Frames

The commands in this section facilitate over-the-air (OTA) client of the application operating on the Module. These commands have been implemented per the ZigBee HA 1.2 guidelines.

Secondary Headers
Primary Headers

 

 


 

 

( PH:0x0B, SH:0x20 ) - OTA Query Configuration Request Command

Overview

The OTA Query Configuration Request frame is sent from the Host to the Module to request the intervals at which the Module queries the OTA server for data.

Payload

This command has no payload.

Effect on Receipt

The Module will respond with an OTA Query Configuration Response frame.

Allowed Context

All Contexts.

Sent By Host/Module

Host.

( PH:0x0B, SH:0x21 ) - OTA Query Configuration Response Command

Overview

The OTA Query Configuration Response frame is sent from the Module to the Host in response to an OTA Query Configuration Request.

Payload

Byte Index

Field Name

Notes

0,1

Discovery Retry Rate

The rate, in minutes, at which the Module performs discovery for an OTA server when it has knowledge of none.

Default = 15 minutes

2..5

First Image Query Delay

The delay, in milliseconds, after discovery of an OTA server and prior to the first Next Image Request (i.e., querying the server to determine if a new image is available).

Default = 1 minute.

6..9

Image Query Rate

The delay, in milliseconds, between consecutive Next Image Request queries (i.e., querying the server to determine if a new image is available).

Default = 15 minutes.

10..13

Block Request Rate

The delay, in milliseconds, between Image Block Requests (i.e., the rate at which a new image will be retrieved from the server).

Default = 1 millisecond.

Effect on Receipt

None.

Allowed Context

All Contexts.

Sent By Host/Module

Module.

( PH:0x0B, SH:0x22 ) - OTA Query Configuration Write Command

Overview

The OTA Query Configuration Write frame is sent from the Host to the Module to set the various intervals at which the Module queries the OTA server for data. These settings may not be modified during an OTA upgrade and will persist in non-volatile memory.

Payload

Byte Index

Field Name

Notes

0,1

Discovery Retry Rate

The rate, in minutes, at which the Module performs discovery for an OTA server when it has knowledge of none.

Set to 0xFFFF to retain default (15 minutes).

2..5

First Image Query Delay

The delay, in milliseconds, after discovery of an OTA server and prior to the first Next Image Request (i.e. querying the server to determine if a new image is available).

Set to 0xFFFFFFFF to retain default (1 minute).

6..9

Image Query Rate

The delay, in milliseconds, between consecutive Next Image Request queries (i.e. querying the server to determine if a new image is available).

Set to 0xFFFFFFFF to retain default (15 minutes).

10..13

Block Request Rate

The delay, in milliseconds, between Image Block Requests (i.e. the rate at which a new image will be retrieved from the server).

Set to 0xFFFFFFFF to retain default (1 millisecond).

Effect on Receipt

None.

Allowed Context

All Contexts.

Sent By Host/Module

Host.

 

 


 

 

 

 


 

 

 

 


 

Legal Notices

Copyright © 2020 MMB Networks, Inc. All rights reserved.
Confidential materials prepared and delivered by MMB Networks for receipt and review only by any partner subject to a valid and enforceable MMB Networks confidentiality agreement. Any receipt, review, or misuse of any of the content exchanged hereunder by any party not a party to this confidential exchange shall be subject to any and all rights available under the law. All rights, title and interest to the materials shall remain with MMB Networks.
Any suggestions provided to MMB Networks with respect to MMB Networks' products or services shall be collectively deemed “Feedback.” You, on behalf of yourself, or if you are providing Feedback on behalf of your employer or another entity, represent and warrant that you have full legal authority to bind such entity to these terms, agree to grant and hereby grant to MMB Networks a nonexclusive, perpetual, irrevocable, royalty free, worldwide license to use and otherwise exploit such Feedback within any MMB Networks products and services.