Searched refs:p_ota_req (Results 1 – 2 of 2) sorted by relevance
138 bool genie_ota_handle_update_request(uint8_t msg_id, ais_ota_upd_req_t *p_ota_req, uint8_t encrypt) in genie_ota_handle_update_request() argument145 …rintf("ota ver:0x%08x imgT:%d imgS:%d maxS:%d\r\n", p_ota_req->ver, p_ota_req->image_type, p_ota_r… in genie_ota_handle_update_request()148 if (p_ota_req->image_type != 0 || p_ota_req->ver <= genie_version_appver_get() || in genie_ota_handle_update_request()149 …ali_dfu_get_ota_partition_max_size() < p_ota_req->fw_size || 0 == p_ota_req->fw_size) //Is illeagal in genie_ota_handle_update_request()158 genie_ota_ctx.image_type = p_ota_req->image_type; in genie_ota_handle_update_request()159 genie_ota_ctx.image_ver = p_ota_req->ver; in genie_ota_handle_update_request()160 genie_ota_ctx.image_size = p_ota_req->fw_size; in genie_ota_handle_update_request()161 genie_ota_ctx.image_crc16 = p_ota_req->crc16; in genie_ota_handle_update_request()162 genie_ota_ctx.ota_flag = p_ota_req->ota_flag; in genie_ota_handle_update_request()
103 bool genie_ota_handle_update_request(uint8_t msg_id, ais_ota_upd_req_t *p_ota_req, uint8_t encrypt);
Completed in 4 milliseconds