Connection.getRemoteChannelErrorCode()
DESCRIPTION
Get underlying error code on remote channel.
Possible remote channel error code are:
NOT_ATTACHED
if the target remote device is not attached to the basestationTIMEOUT
if a timeout occured when connecting to the basestation.FORBIDDEN
if the basestation request is rejectedTOKEN_REJECTED
if the basestation rejected based on an invalid SCT or JWTDNS
if the server URL failed to resolveUNKNOWN_SERVER_KEY
if the provided server key was not known by the basestationUNKNOWN_PRODUCT_ID
if the provided product ID was not known by the basestationUNKNOWN_DEVICE_ID
if the provided device ID was not known by the basestationNONE
if remote relay was not enabled
DECLARATION
public ErrorCode getRemoteChannelErrorCode()
RETURNS
the remote channel error code