HMUARTLGW_ENTER_BOOTLOADER,
HMUARTLGW_ENTER_BOOTLOADER_ACK,
HMUARTLGW_BOOTLOADER,
- HMUARTLGW_IP_BOOTLOADER,
+ HMUARTLGW_HMIP_BOOTLOADER,
HMUARTLGW_ENTER_APPLICATION,
HMUARTLGW_ENTER_APPLICATION_ACK,
HMUARTLGW_APPLICATION,
rdata->state = HMUARTLGW_HMIP_APPLICATION;
return 1;
} else if (!strncmp(((char*)buf)+2, "HMIP_TRX_Bl", 11)) {
- rdata->state = HMUARTLGW_IP_BOOTLOADER;
+ rdata->state = HMUARTLGW_HMIP_BOOTLOADER;
return 1;
}
}
} while (rdata.state == HMUARTLGW_QUERY_APPSTATE);
if ((rdata.state != HMUARTLGW_BOOTLOADER) &&
- (rdata.state != HMUARTLGW_IP_BOOTLOADER)) {
+ (rdata.state != HMUARTLGW_HMIP_BOOTLOADER)) {
rdata.dev = dev;
rdata.state = HMUARTLGW_ENTER_BOOTLOADER;
buf[0] = HMUARTLGW_OS_CHANGE_APP;
exit(1);
}
} while ((rdata.state != HMUARTLGW_BOOTLOADER) &&
- (rdata.state != HMUARTLGW_IP_BOOTLOADER));
+ (rdata.state != HMUARTLGW_HMIP_BOOTLOADER));
printf("Waiting for bootloader to settle...\n");
sleep(HMUARTLGW_SETTLE_TIME);