X-Git-Url: https://git.jankratochvil.net/?a=blobdiff_plain;f=common%2Fdevices%2Fdevice.c;h=18683934cd755baeb2da83b17253143c0f7a7c56;hb=refs%2Fheads%2Fucir;hp=b002239d429e6bb7b8de71fd40ecf2eeded5093f;hpb=fa4bbfb479b647a80bf40eb7469ac16b34016499;p=gnokii.git diff --git a/common/devices/device.c b/common/devices/device.c index b002239..1868393 100644 --- a/common/devices/device.c +++ b/common/devices/device.c @@ -436,9 +436,12 @@ bool StartConnection (char *port_device, bool with_odd_parity, GSM_ConnectionTyp strcpy(text,"Connection "); switch (con) { case GCT_FBUS :strcpy(text+strlen(text),"FBUS");break; + case GCT_Infrared:strcpy(text+strlen(text),"infrared");break; #ifndef UCLINUX + case GCT_Irda :strcpy(text+strlen(text),"irda sockets");break; case GCT_MBUS :strcpy(text+strlen(text),"MBUS");break; case GCT_DLR3 :strcpy(text+strlen(text),"DLR3");break; + case GCT_Tekram :strcpy(text+strlen(text),"Tekram");break; case GCT_AT :strcpy(text+strlen(text),"AT");break; default :strcpy(text+strlen(text),"unknown");break; #endif /* UCLINUX */ @@ -600,9 +603,14 @@ bool StartConnection (char *port_device, bool with_odd_parity, GSM_ConnectionTyp strcpy(text,"Connection "); switch (con) { case GCT_FBUS :strcpy(text+strlen(text),"FBUS");break; + case GCT_Infrared:strcpy(text+strlen(text),"infrared");break; +#ifndef UCLINUX + case GCT_Irda :strcpy(text+strlen(text),"irda sockets");break; case GCT_MBUS :strcpy(text+strlen(text),"MBUS");break; case GCT_DLR3 :strcpy(text+strlen(text),"DLR3");break; + case GCT_Tekram :strcpy(text+strlen(text),"Tekram");break; case GCT_AT :strcpy(text+strlen(text),"AT");break; +#endif /* UCLINUX */ default :strcpy(text+strlen(text),"unknown");break; } strcpy(text+strlen(text),"\n");