comparison arib25/src/b_cas_card.c @ 123:ec7c87854f2f b25

updated to arib25 0.2.5
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Wed, 15 Feb 2012 11:09:02 +0900
parents 41a5481db56f
children
comparison
equal deleted inserted replaced
73:c44e16dbb0e2 123:ec7c87854f2f
261 p += 1; 261 p += 1;
262 for(i=0;i<num;i++){ 262 for(i=0;i<num;i++){
263 if( p+10 > tail ){ 263 if( p+10 > tail ){
264 return B_CAS_CARD_ERROR_TRANSMIT_FAILED; 264 return B_CAS_CARD_ERROR_TRANSMIT_FAILED;
265 } 265 }
266 266 #if 0
267 { 267 {
268 int maker_id; 268 int maker_id;
269 int version; 269 int version;
270 int check_code; 270 int check_code;
271 271
272 maker_id = p[0]; 272 maker_id = p[0];
273 version = p[1]; 273 version = p[1];
274 prv->id.data[i] = load_be_uint48(p+2); 274 prv->id.data[i] = load_be_uint48(p+2);
275 check_code = load_be_uint16(p+8); 275 check_code = load_be_uint16(p+8);
276 } 276 }
277 277 #endif
278 p += 10; 278 p += 10;
279 } 279 }
280 280
281 prv->id.count = num; 281 prv->id.count = num;
282 282