Wireless Communication Library Support Forum
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Home
Help
Search
Login
Register
Wireless Communication Library Support Forum
»
Common
»
Common
»
WCL Error codes
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: WCL Error codes (Read 28242 times)
Mike Petrichenko
Bluetooth Framework Developer
Administrator
Hero Member
Posts: 3675
Karma: 1000
WCL Error codes
«
on:
April 10, 2008, 10:34:23 AM »
WCL_ERROR_SUCCESS = 0;
WCL_ERROR_BASE = $8000F000;
WCL_ERROR_API_NOT_LOADED = WCL_ERROR_BASE + 1;
WCL_ERROR_TRANSPORT_NOT_AVAILABLE = WCL_ERROR_BASE + 2;
WCL_ERROR_BLUETOOTH_API_NOT_AVAILABLE = WCL_ERROR_BASE + 3;
WCL_ERROR_INVALID_ADDRESS = WCL_ERROR_BASE + 4;
WCL_ERROR_INVALID_ARGUMENT = WCL_ERROR_BASE + 5;
WCL_ERROR_INDEX_OUT_OF_RANGE = WCL_ERROR_BASE + 6;
WCL_ERROR_OPERATION_IN_PROGRESS = WCL_ERROR_BASE + 7;
WCL_ERROR_INVALID_BLUETOOTH_API = WCL_ERROR_BASE + 8;
WCL_ERROR_RADIO_ADDRESS_READ_ERROR = WCL_ERROR_BASE + 9;
WCL_ERROR_NOT_IMPLEMENTED = WCL_ERROR_BASE + 10;
WCL_ERROR_FEATURE_NOT_SUPPORTED = WCL_ERROR_BASE + 11;
WCL_ERROR_RADIO_CONNECTABLE_READ_ERROR = WCL_ERROR_BASE + 12;
WCL_ERROR_RADIO_DISCOVERABLE_READ_ERROR = WCL_ERROR_BASE + 13;
WCL_ERROR_GET_RADIO_HANDLE = WCL_ERROR_BASE + 14;
WCL_ERROR_RADIO_NAME_READ_ERROR = WCL_ERROR_BASE + 15;
WCL_ERROR_RADIO_CONNECTABLE_WRITE_ERROR = WCL_ERROR_BASE + 16;
WCL_ERROR_RADIO_DISCOVERABLE_WRITE_ERROR = WCL_ERROR_BASE + 17;
WCL_ERROR_RADIO_NAME_WRITE_ERROR = WCL_ERROR_BASE + 18;
WCL_ERROR_INVALID_CHANNEL_NUMBER = WCL_ERROR_BASE + 19;
WCL_ERROR_RADIO_REQUIRED = WCL_ERROR_BASE + 20;
WCL_ERROR_REMOTE_CLASS_OF_DEVICE_READ_ERROR = WCL_ERROR_BASE + 21;
WCL_ERROR_REMOTE_DEVICE_NAME_READ_ERROR = WCL_ERROR_BASE + 22;
WCL_ERROR_PAIRED_STATUS_READ_ERROR = WCL_ERROR_BASE + 23;
WCL_ERROR_ENUM_SERVICES = WCL_ERROR_BASE + 24;
WCL_ERROR_DEVICE_ALREADY_PAIRED = WCL_ERROR_BASE + 25;
WCL_ERROR_AUTHENTICATION_FAILED = WCL_ERROR_BASE + 26;
WCL_ERROR_UNABLE_PAIR = WCL_ERROR_BASE + 27;
WCL_ERROR_CANCELLED_BY_USER = WCL_ERROR_BASE + 28;
WCL_ERROR_ACCESS_DENIED = WCL_ERROR_BASE + 29;
WCL_ERROR_UNABLE_UNPAIR = WCL_ERROR_BASE + 30;
WCL_ERROR_CONNECTION_ACTIVE = WCL_ERROR_BASE + 31;
WCL_ERROR_INVALID_TIMEOUT = WCL_ERROR_BASE + 32;
WCL_ERROR_INVALID_BUFFER = WCL_ERROR_BASE + 33;
WCL_ERROR_INVALID_BAUDRATE_VALUE = WCL_ERROR_BASE + 34;
WCL_ERROR_INVALID_SERIAL_PORT_NUMBER = WCL_ERROR_BASE + 35;
WCL_ERROR_INVALID_CHANNEL = WCL_ERROR_BASE + 36;
WCL_ERROR_INVALID_ENCRYPTION_FLAG = WCL_ERROR_BASE + 37;
WCL_ERROR_INVALID_IRDA_SERVICE = WCL_ERROR_BASE + 38;
WCL_ERROR_INVALID_PACKET_SIZE = WCL_ERROR_BASE + 39;
WCL_ERROR_CONNECTION_EXISTS = WCL_ERROR_BASE + 40;
WCL_ERROR_NOT_CONNECTED = WCL_ERROR_BASE + 41;
WCL_ERROR_INVALID_TRANSPORT = WCL_ERROR_BASE + 42;
WCL_ERROR_UNABLE_CONNECT = WCL_ERROR_BASE + 43;
WCL_ERROR_READ_ERROR = WCL_ERROR_BASE + 44;
WCL_ERROR_WRITE_ERROR = WCL_ERROR_BASE + 45;
WCL_ERROR_SERVICE_NOT_FOUND = WCL_ERROR_BASE + 46;
WCL_ERROR_TIMEOUT = WCL_ERROR_BASE + 47;
WCL_ERROR_OBEX_SESSION_REJECTED = WCL_ERROR_BASE + 48;
WCL_ERROR_OBEX_SESSION_CANCELLED = WCL_ERROR_BASE + 49;
WCL_ERROR_OBEX_SESSION_ERROR = WCL_ERROR_BASE + 50;
WCL_ERROR_FILE_NOT_FOUND = WCL_ERROR_BASE + 51;
WCL_ERROR_UNABLE_OPEN_FILE = WCL_ERROR_BASE + 52;
WCL_ERROR_OBEX_REJECTED = WCL_ERROR_BASE + 53;
WCL_ERROR_NO_ACTIVE_OPERATION = WCL_ERROR_BASE + 54;
WCL_ERROR_UNABLE_GET_SIGNAL_LEVEL = WCL_ERROR_BASE + 55;
WCL_ERROR_DEMO = WCL_ERROR_BASE + 56;
WCL_ERROR_UNABLE_REGISTER_NOTIFICATION = WCL_ERROR_BASE + 57;
WCL_ERROR_INVALID_IRMC_OBJECT = WCL_ERROR_BASE + 58;
WCL_ERROR_LICENSE = WCL_ERROR_BASE + 59;
WCL_ERROR_AUTHENTICATOR_ACTIVE = WCL_ERROR_BASE + 60;
WCL_ERROR_AUTHENTICATOR_ALREADY_STARTED = WCL_ERROR_BASE + 61;
WCL_ERROR_UNABLE_INSTALL_AUTHENTICATION = WCL_ERROR_BASE + 62;
Logged
Bluetooth Framework
IrDA Framework
Serial Framework
WiFi Framework
servel333
Guest
Re: WCL Error codes
«
Reply #1 on:
April 11, 2008, 05:39:16 PM »
Just a note:
Visual Basic 2005 (.NET, Visual Studio 2005) appears to interpret WCL_ERROR_BASE as -2147422208. When exceptions are thrown, they are negative. I'm not sure if this is the original intention but thats the result in VB.
Logged
Mike Petrichenko
Bluetooth Framework Developer
Administrator
Hero Member
Posts: 3675
Karma: 1000
Re: WCL Error codes
«
Reply #2 on:
April 11, 2008, 05:44:32 PM »
Exactly so!
$8000F000 (0x8000F000, H8000F000) is a hexadecimal value. It can be displayed as unsigned interger (2147545088) or as a signed interger (-2147422208). These are the same values (4 bytes integer).
Logged
Bluetooth Framework
IrDA Framework
Serial Framework
WiFi Framework
cyp
Guest
Re: WCL Error codes
«
Reply #3 on:
October 27, 2008, 11:16:19 PM »
When i reject a message it?s show WCL_ERROR_OBEX_SESSION_ERROR - 8000F032 what it?s means?
what is the error code when i reject a message?
Logged
Mike Petrichenko
Bluetooth Framework Developer
Administrator
Hero Member
Posts: 3675
Karma: 1000
Re: WCL Error codes
«
Reply #4 on:
October 28, 2008, 04:43:34 AM »
There is no one error code for reject. The result code is hard depends on when and how the phone process the session. It may be WCL_ERROR_UNABLE_CONNECT or WCL_ERROR_OBEX_SESSION_ERROR or other
Logged
Bluetooth Framework
IrDA Framework
Serial Framework
WiFi Framework
Print
Pages: [
1
]
Go Up
« previous
next »
Wireless Communication Library Support Forum
»
Common
»
Common
»
WCL Error codes
Sitemap
1
2
3
4
5
6
7