| | |
| | | #include "upper_com_iap_pro.h" |
| | | #include "upper_com.h" |
| | | #include "flash.h" |
| | | |
| | | #include "bootloader_iap.h" |
| | | |
| | | |
| | | |
| | |
| | | uc_respond_data_p->uc_protocol_head_s.data_table_id = uc_recv_data_union_p->uc_protocol_head_s.data_table_id; |
| | | data_category_ID= BSWAP_16(uc_recv_data_union_p->uc_protocol_head_s.data_table_id); |
| | | data_p = uc_recv_data_union_p->uc_recv_buf + UC_PROTOCOL_HEAD_LENGTH +sizeof (uc_recv_data_union_p->uc_protocol_head_s.data_table_id); |
| | | switch(data_category_ID)//?ÐèÒªÍêÉÆ |
| | | switch(data_category_ID) |
| | | { |
| | | case UIC_APP_RESET : UC_IapResetHandler(data_category_ID,data_p,uc_respond_data_p) ;break; |
| | | case UIC_APP_CONFIG : UC_IapConfigSetHandler(data_category_ID,data_p,uc_respond_data_p) ;break; |