// ./relog YUY2_1600x1200.log sim

void fonction_sim()
{
	msg("Entrée dans 'fonction_sim'");


//	premier transfert isochrone
//	offset de 3072 octets
char sim000[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim000);
char sim001[]={ 0x75 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim001);
char sim002[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim002);
char sim003[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim003);
char sim004[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim004);
char sim005[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim005);
char sim006[]={ 0x75 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim006);
char sim007[]={ 0x75 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim007);
char sim008[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim008);
char sim009[]={ 0x75 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim009);
//	début de données
char sim010[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim010);
char sim011[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim011);
char sim012[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim012);
char sim013[]={ 0x75 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim013);
char sim014[]={ 0x75 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim014);
char sim015[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim015);
char sim016[]={ 0x75 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim016);
char sim017[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim017);
char sim018[]={ 0x75 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim018);
char sim019[]={ 0x75 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim019);
char sim020[]={ 0x75 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim020);
char sim021[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim021);
//	on dépasse ou on ne sait pas s'arrêter... ************************** Ligne 36285
char sim022[]={ 0x75 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim022);
char sim023[]={ 0x75 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim023);
char sim024[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim024);
char sim025[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim025);
char sim026[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim026);
char sim027[]={ 0x75 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim027);
char sim028[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim028);
char sim029[]={ 0x75 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim029);
char sim030[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim030);
char sim031[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim031);
char sim032[]={ 0x75 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim032);
char sim033[]={ 0x75 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim033);
char sim034[]={ 0x75 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim034);
char sim035[]={ 0x75 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim035);
char sim036[]={ 0x75 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim036);
char sim037[]={ 0x75 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim037);
char sim038[]={ 0x75 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim038);
char sim039[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim039);
char sim040[]={ 0x75 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim040);
char sim041[]={ 0x75 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim041);
char sim042[]={ 0x75 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim042);
char sim043[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim043);
char sim044[]={ 0x75 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim044);
char sim045[]={ 0x75 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim045);
char sim046[]={ 0x75 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim046);
char sim047[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim047);
char sim048[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim048);
char sim049[]={ 0x75 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim049);
char sim050[]={ 0x75 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim050);
char sim051[]={ 0x75 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim051);
char sim052[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim052);
char sim053[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim053);
char sim054[]={ 0x75 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim054);
char sim055[]={ 0x75 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim055);
char sim056[]={ 0x75 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim056);
//ABORT_PIPE
//ABORT_PIPE
//SELECT_INTERFACE
//	libusb_set_interface_altsetting(handle, 0, 0);
//SELECT_INTERFACE
//	endpoint = 0x0081

	ctrl_out(dev, 0x40, 5, 0x0000, 0x0000, 0, NULL);
	ctrl_out(dev, 0x40, 1, 0x0061, 0x0000, 0, NULL);

char sim057[]={ 0x75 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim057);
char sim058[]={ 0x75 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim058);
char sim059[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim059);
char sim060[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim060);
char sim061[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim061);
char sim062[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim062);
char sim063[]={ 0x75 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim063);
char sim064[]={ 0x75 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim064);
char sim065[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim065);
char sim066[]={ 0x75 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim066);
char sim067[]={ 0x75 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim067);
char sim068[]={ 0x75 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim068);
char sim069[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim069);
char sim070[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim070);
char sim071[]={ 0x75 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim071);
char sim072[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim072);
char sim073[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim073);
char sim074[]={ 0x75 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim074);
char sim075[]={ 0x75 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim075);
char sim076[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim076);
char sim077[]={ 0x75 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim077);
char sim078[]={ 0x75 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim078);
char sim079[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim079);
char sim080[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim080);
char sim081[]={ 0x75 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim081);
char sim082[]={ 0x75 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim082);
char sim083[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim083);
char sim084[]={ 0x75 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim084);
char sim085[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim085);
char sim086[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim086);
char sim087[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim087);
char sim088[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim088);
char sim089[]={ 0x75 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim089);
char sim090[]={ 0x75 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim090);
char sim091[]={ 0x75 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim091);
char sim092[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim092);
char sim093[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim093);
char sim094[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim094);
char sim095[]={ 0x75 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim095);
char sim096[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim096);
char sim097[]={ 0x75 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim097);
char sim098[]={ 0x75 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim098);
char sim099[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim099);
char sim100[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim100);
char sim101[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim101);
char sim102[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim102);
char sim103[]={ 0x75 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim103);
char sim104[]={ 0x75 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim104);
char sim105[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim105);
char sim106[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim106);
char sim107[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim107);
char sim108[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim108);
char sim109[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim109);
char sim110[]={ 0x75 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim110);
char sim111[]={ 0x75 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim111);
char sim112[]={ 0x75 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim112);
char sim113[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim113);
char sim114[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim114);
char sim115[]={ 0x75 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim115);
char sim116[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim116);
char sim117[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim117);
char sim118[]={ 0x75 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim118);
char sim119[]={ 0x75 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim119);
char sim120[]={ 0x75 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim120);
char sim121[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim121);
char sim122[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim122);
char sim123[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim123);
char sim124[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim124);
char sim125[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim125);
char sim126[]={ 0x75 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim126);
char sim127[]={ 0x75 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim127);
char sim128[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim128);
char sim129[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim129);
char sim130[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim130);
char sim131[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim131);
char sim132[]={ 0x75 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim132);
char sim133[]={ 0x75 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim133);
char sim134[]={ 0x75 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim134);
char sim135[]={ 0x75 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim135);
char sim136[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim136);
char sim137[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim137);
char sim138[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim138);
char sim139[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim139);
char sim140[]={ 0x75 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim140);
char sim141[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim141);
//SELECT_INTERFACE
//	libusb_set_interface_altsetting(handle, 0, 1);
//SELECT_INTERFACE
//	endpoint = 0x0081
char sim142[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim142);

	ctrl_out(dev, 0x40, 5, 0x0001, 0x0000, 0, NULL);
	ctrl_out(dev, 0x40, 1, 0x0041, 0x0000, 0, NULL);
	ctrl_out(dev, 0x40, 1, 0x006a, 0x0007, 0, NULL);
	ctrl_out(dev, 0x40, 1, 0x0063, 0x0006, 0, NULL);
	ctrl_out(dev, 0x40, 1, 0x006a, 0x000d, 0, NULL);
	ctrl_out(dev, 0x40, 1, 0x0000, 0x00c0, 0, NULL);
	ctrl_out(dev, 0x40, 1, 0x0010, 0x0010, 0, NULL);
	ctrl_out(dev, 0x40, 1, 0x0001, 0x00c1, 0, NULL);
	ctrl_out(dev, 0x40, 1, 0x0041, 0x00c2, 0, NULL);
	ctrl_out(dev, 0x40, 1, 0x0004, 0x00d8, 0, NULL);
	ctrl_out(dev, 0x40, 1, 0x0012, 0x0004, 0, NULL);
	ctrl_out(dev, 0x40, 1, 0x0000, 0x0058, 0, NULL);
	ctrl_out(dev, 0x40, 1, 0x0040, 0x0000, 0, NULL);
	ctrl_out(dev, 0x40, 1, 0x00f3, 0x0006, 0, NULL);
	ctrl_out(dev, 0x40, 1, 0x0058, 0x0000, 0, NULL);
	ctrl_out(dev, 0x40, 1, 0x0048, 0x0000, 0, NULL);
	ctrl_out(dev, 0x40, 1, 0x0061, 0x0000, 0, NULL);
char sim143[]={ 0x00, 0x40, 0x07, 0x6a, 0x06, 0xf3, 0x0d, 0x6a, 0x10, 0x10, 0xc1, 0x01 };
	ctrl_out(dev, 0x40, 3, 0x0000, 0x0200, 12, (void*)sim143);
char sim144[]={
0x12, 0x80, 0x00, 0x00, 0x01, 0x98, 0x02, 0x80, 0x03, 0x12, 0x04, 0x01, 0x0b, 0x57, 0x0e, 0x61, 
0x0f, 0x42, 0x11, 0x00, 0x12, 0x00, 0x13, 0x00, 0x14, 0x3a, 0x16, 0x24, 0x17, 0x1b, 0x18, 0xbb, 
0x19, 0x01, 0x1a, 0x81, 0x1e, 0x04, 0x24, 0x3c, 0x25, 0x36, 0x26, 0x72, 0x27, 0x08, 0x28, 0x08, 
0x29, 0x15, 0x2a, 0x00, 0x2b, 0x00, 0x2c, 0x08 };
	ctrl_out(dev, 0x40, 3, 0x6000, 0x0200, 56, (void*)sim144);
//RESET_PIPE
//RESET_PIPE
//FUNCTION_GET_CURRENT_FRAME_NUMBER:
//FUNCTION_GET_CURRENT_FRAME_NUMBER:
char sim145[]={
0x32, 0xa4, 0x33, 0x00, 0x34, 0x3d, 0x35, 0x00, 0x36, 0xf8, 0x38, 0x72, 0x39, 0x57, 0x3a, 0x00, 
0x3b, 0x0c, 0x3d, 0x99, 0x3e, 0x0c, 0x3f, 0xc2, 0x40, 0xc0, 0x41, 0x00, 0x42, 0xc0, 0x43, 0x0a, 
0x44, 0xf0, 0x45, 0x46, 0x46, 0x62, 0x47, 0x2a, 0x48, 0x3c, 0x4a, 0xec, 0x4b, 0xe8, 0x4c, 0xe8, 
0x4d, 0xe8, 0x4e, 0xe8 };
	ctrl_out(dev, 0x40, 3, 0x6000, 0x0200, 52, (void*)sim145);
//ABORT_PIPE
//ABORT_PIPE
char sim146[]={
0x4f, 0x98, 0x50, 0x98, 0x51, 0x00, 0x52, 0x28, 0x53, 0x70, 0x54, 0x98, 0x58, 0x1a, 0x59, 0x85, 
0x5a, 0xa9, 0x5b, 0x64, 0x5c, 0x84, 0x5d, 0x53, 0x5e, 0x0e, 0x5f, 0xf0, 0x60, 0xf0, 0x61, 0xf0, 
0x62, 0x00, 0x63, 0x00, 0x64, 0x02, 0x65, 0x20, 0x66, 0x00, 0x69, 0x02, 0x6b, 0x5a, 0x6c, 0x04, 
0x6d, 0x55, 0x6e, 0x00, 0x6f, 0x9d };
	ctrl_out(dev, 0x40, 3, 0x6000, 0x0200, 54, (void*)sim146);
//RESET_PIPE
//RESET_PIPE
char sim147[]={
0x70, 0x08, 0x71, 0x78, 0x72, 0x00, 0x73, 0x01, 0x74, 0x3a, 0x75, 0x35, 0x76, 0x01, 0x77, 0x02, 
0x7a, 0x24, 0x7b, 0x04, 0x7c, 0x07, 0x7d, 0x10, 0x7e, 0x28, 0x7f, 0x36, 0x80, 0x44, 0x81, 0x52, 
0x82, 0x60, 0x83, 0x6c, 0x84, 0x78, 0x85, 0x8c, 0x86, 0x9e, 0x87, 0xbb, 0x88, 0xd2, 0x89, 0xe5, 
0x8a, 0x23, 0x8c, 0x0d, 0x90, 0x90, 0x91, 0x90 };
	ctrl_out(dev, 0x40, 3, 0x6000, 0x0200, 56, (void*)sim147);
//FUNCTION_GET_CURRENT_FRAME_NUMBER:
//FUNCTION_GET_CURRENT_FRAME_NUMBER:
char sim148[]={
0x9d, 0x02, 0x9e, 0x02, 0x9f, 0x94, 0xa0, 0x94, 0xa1, 0x01, 0xa4, 0x50, 0xa5, 0x68, 0xa6, 0x70, 
0xa8, 0xc1, 0xa9, 0xef, 0xaa, 0x92, 0xab, 0x04, 0xac, 0x80, 0xad, 0x80, 0xae, 0x80, 0xaf, 0x80, 
0xb2, 0xf2, 0xb3, 0x20, 0xb4, 0x20, 0xb5, 0x00, 0xb6, 0xaf };
	ctrl_out(dev, 0x40, 3, 0x6000, 0x0200, 42, (void*)sim148);
char sim149[]={
0xbb, 0xae, 0xbc, 0x38, 0xbd, 0x39, 0xbe, 0x01, 0xbf, 0x01, 0xc0, 0xe2, 0xc1, 0xc0, 0xc2, 0x01, 
0xc3, 0x4e, 0xc6, 0x85, 0xc7, 0x81, 0xc9, 0xe0, 0xca, 0xe8, 0xcb, 0xf0, 0xcc, 0xd8, 0xcd, 0x93 };
	ctrl_out(dev, 0x40, 3, 0x6000, 0x0200, 32, (void*)sim149);
//ABORT_PIPE
//ABORT_PIPE
char sim150[]={ 0xd0, 0x21, 0xd1, 0x18, 0xd2, 0xe0, 0xd3, 0x01, 0xd4, 0x28, 0xd5, 0x00 };
	ctrl_out(dev, 0x40, 3, 0x0000, 0x0200, 12, (void*)sim150);
//RESET_PIPE
//RESET_PIPE
//FUNCTION_GET_CURRENT_FRAME_NUMBER:
//FUNCTION_GET_CURRENT_FRAME_NUMBER:
	ctrl_out(dev, 0x40, 1, 0x6032, 0x00ff, 0, NULL);
//ABORT_PIPE
//ABORT_PIPE
	ctrl_out(dev, 0x40, 1, 0x6032, 0x00ff, 0, NULL);
//RESET_PIPE
//RESET_PIPE
	ctrl_out(dev, 0x40, 1, 0x6032, 0x00ff, 0, NULL);
//FUNCTION_GET_CURRENT_FRAME_NUMBER:
//FUNCTION_GET_CURRENT_FRAME_NUMBER:
	ctrl_out(dev, 0x40, 1, 0x603c, 0x00ff, 0, NULL);
	ctrl_out(dev, 0x40, 1, 0x6003, 0x00ff, 0, NULL);
	ctrl_out(dev, 0x40, 1, 0x6032, 0x00ff, 0, NULL);
	ctrl_out(dev, 0x40, 1, 0x6032, 0x00ff, 0, NULL);
	ctrl_out(dev, 0x40, 1, 0x6001, 0x00ff, 0, NULL);
	ctrl_out(dev, 0x40, 1, 0x6000, 0x801e, 0, NULL);
//ABORT_PIPE
//ABORT_PIPE

char sim151[]={ 0x04 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x6000, 0x801e, 1, (void*)sim151);
//RESET_PIPE
//RESET_PIPE

	ctrl_out(dev, 0x40, 1, 0x6004, 0x001e, 0, NULL);
//FUNCTION_GET_CURRENT_FRAME_NUMBER:
//FUNCTION_GET_CURRENT_FRAME_NUMBER:
	ctrl_out(dev, 0x40, 1, 0x6000, 0x801e, 0, NULL);
//ABORT_PIPE
//ABORT_PIPE

char sim152[]={ 0x04 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x6000, 0x801e, 1, (void*)sim152);
//RESET_PIPE
//RESET_PIPE

	ctrl_out(dev, 0x40, 1, 0x6004, 0x001e, 0, NULL);
//FUNCTION_GET_CURRENT_FRAME_NUMBER:
//FUNCTION_GET_CURRENT_FRAME_NUMBER:
	ctrl_out(dev, 0x40, 1, 0x6012, 0x0003, 0, NULL);
	ctrl_out(dev, 0x40, 1, 0x6000, 0x801e, 0, NULL);

char sim153[]={ 0x04 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x6000, 0x801e, 1, (void*)sim153);

	ctrl_out(dev, 0x40, 1, 0x6004, 0x001e, 0, NULL);
	ctrl_out(dev, 0x40, 1, 0x6000, 0x801e, 0, NULL);

char sim154[]={ 0x04 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x6000, 0x801e, 1, (void*)sim154);

	ctrl_out(dev, 0x40, 1, 0x6004, 0x001e, 0, NULL);
	ctrl_out(dev, 0x40, 1, 0x6012, 0x0003, 0, NULL);
char sim155[]={ 0x04, 0x02, 0x10, 0x20, 0xa1, 0x00, 0x00, 0x00 };
	ctrl_out(dev, 0x40, 3, 0x6000, 0x0200, 8, (void*)sim155);
	ctrl_out(dev, 0x40, 1, 0x6000, 0x801e, 0, NULL);

char sim156[]={ 0x04 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x6000, 0x801e, 1, (void*)sim156);

	ctrl_out(dev, 0x40, 1, 0x6004, 0x001e, 0, NULL);
//	réception de 02 02
//	on finit de dépasser... ************************** Ligne 136901
//	fin de données (1298522 <=> 1316 x 987)
//	début de données
	ctrl_out(dev, 0x40, 1, 0x6000, 0x801e, 0, NULL);

char sim157[]={ 0x04 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x6000, 0x801e, 1, (void*)sim157);

	ctrl_out(dev, 0x40, 1, 0x6004, 0x001e, 0, NULL);
	ctrl_out(dev, 0x40, 1, 0x6012, 0x0003, 0, NULL);

char sim158[]={ 0x75 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim158);
char sim159[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim159);
char sim160[]={ 0x75 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim160);
char sim161[]={ 0x75 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim161);
char sim162[]={ 0x75 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim162);
char sim163[]={ 0x75 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim163);
char sim164[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim164);
char sim165[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim165);
char sim166[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim166);
char sim167[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim167);
char sim168[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim168);
char sim169[]={ 0x75 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim169);
char sim170[]={ 0x75 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim170);
char sim171[]={ 0x75 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim171);
char sim172[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim172);
char sim173[]={ 0x75 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim173);
char sim174[]={ 0x75 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim174);
char sim175[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim175);
char sim176[]={ 0x75 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim176);
char sim177[]={ 0x75 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim177);
char sim178[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim178);
char sim179[]={ 0x75 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim179);
char sim180[]={ 0x75 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim180);
char sim181[]={ 0x75 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim181);
char sim182[]={ 0x75 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim182);
char sim183[]={ 0x75 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim183);
char sim184[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim184);
char sim185[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim185);
char sim186[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim186);
char sim187[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim187);
char sim188[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim188);
char sim189[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim189);
char sim190[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim190);
char sim191[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim191);
char sim192[]={ 0x75 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim192);
char sim193[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim193);
char sim194[]={ 0x75 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim194);
char sim195[]={ 0x75 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim195);
char sim196[]={ 0x75 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim196);
char sim197[]={ 0x75 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim197);
char sim198[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim198);
char sim199[]={ 0x75 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim199);
char sim200[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim200);
char sim201[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim201);
char sim202[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim202);
char sim203[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim203);
char sim204[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim204);
char sim205[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim205);
char sim206[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim206);
char sim207[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim207);
char sim208[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim208);
char sim209[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim209);
char sim210[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim210);
char sim211[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim211);
char sim212[]={ 0x75 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim212);
char sim213[]={ 0x75 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim213);
char sim214[]={ 0x75 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim214);
char sim215[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim215);
char sim216[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim216);
char sim217[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim217);
char sim218[]={ 0x75 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim218);
char sim219[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim219);
char sim220[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim220);
//	on dépasse ou on ne sait pas s'arrêter... ************************** Ligne 267073
char sim221[]={ 0x75 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim221);
char sim222[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim222);
char sim223[]={ 0x75 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim223);
char sim224[]={ 0x75 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim224);
char sim225[]={ 0x75 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim225);
char sim226[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim226);
char sim227[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim227);
char sim228[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim228);
char sim229[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim229);
char sim230[]={ 0x75 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim230);
char sim231[]={ 0x75 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim231);
char sim232[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim232);
char sim233[]={ 0x75 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim233);
char sim234[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim234);
char sim235[]={ 0x75 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim235);
char sim236[]={ 0x75 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim236);
char sim237[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim237);
char sim238[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim238);
char sim239[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim239);
char sim240[]={ 0x75 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim240);
char sim241[]={ 0x75 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim241);
char sim242[]={ 0x75 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim242);
char sim243[]={ 0x75 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim243);
char sim244[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim244);
char sim245[]={ 0x77 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim245);
char sim246[]={ 0x75 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim246);
char sim247[]={ 0x75 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim247);
char sim248[]={ 0x75 }; // ATTENDU
	ctrl_in(dev, 0xc0, 2, 0x0000, 0x0007, 1, (void*)sim248);

	msg("Sortie de 'fonction_sim'");
}