From b2d650f511d1eef08138f09ecd4e96656eef173b Mon Sep 17 00:00:00 2001 From: Cástor Muñoz Date: Sat, 6 Dec 2014 23:27:01 +0100 Subject: iAP: authentication 1.0 Change-Id: I71b8e9f7ce2568c180396d6695cef18ce94ded32 --- apps/iap/iap-core.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'apps/iap/iap-core.c') diff --git a/apps/iap/iap-core.c b/apps/iap/iap-core.c index 4fa9c09a47..9e5771ab50 100644 --- a/apps/iap/iap-core.c +++ b/apps/iap/iap-core.c @@ -718,7 +718,8 @@ void iap_periodic(void) * is in the RX buffer right now. */ IAP_TX_INIT(0x00, 0x17); - IAP_TX_PUT_DATA(iap_rxstart, 20); + IAP_TX_PUT_DATA(iap_rxstart, + (device.auth.version == 0x100) ? 16 : 20); IAP_TX_PUT(0x01); iap_send_tx(); -- cgit v1.2.3