From: Anders J. <and...@us...> - 2001-10-12 12:01:17
|
The following files were modified in apps/bluetooth/experimental: Name Old version New version Comment ---- ----------- ----------- ------- bt_errno.h 1.2 1.3=20=20=20=20=20=20=20=20=20=20=20=20=20 bt_if.c 1.37 1.38=20=20=20=20=20=20=20=20=20=20=20=20 The accompanying log: * Added RFCOMM error messages. The diff of the modified file(s): --- bt_errno.h 2001/10/10 14:56:00 1.2 +++ bt_errno.h 2001/10/12 12:01:16 1.3 @@ -82,6 +82,11 @@ =20 /*=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D*/ /* RFCOMM */ +#define RFCOMM_INVALID_LINE 0xf0 +#define RFCOMM_SRVCHN_CONNECTED 0xf1 +#define RFCOMM_NO_DATA_ALLOWED 0xf2 +#define RFCOMM_NO_CONNECTION 0xf3 +#define RFCOMM_BAD_MAGIC_NUMBER 0Xf4 =20 /* fixme */ =20 --- bt_if.c 2001/10/10 14:56:00 1.37 +++ bt_if.c 2001/10/12 12:01:16 1.38 @@ -1131,6 +1131,11 @@ case MSG_LAYER_RFCOMM: switch(code) { + case RFCOMM_INVALID_LINE: return "RFCOMM: Trying to use an invalid li= ne";=20 + case RFCOMM_SRVCHN_CONNECTED: return "RFCOMM: Serverchannel already c= onnected"; + case RFCOMM_NO_DATA_ALLOWED: return "RFCOMM: No data allowed on contr= ol channel"; + case RFCOMM_NO_CONNECTION: return "RFCOMM: No connection"; + case RFCOMM_BAD_MAGIC_NUMBER: return "RFCOMM: Bad magic number";=20 default: return "RFCOMM: No debug msg defined"; } case MSG_LAYER_SDP: |