Interface: moteiv.tos.lib.resource.ResourceValidate

interface ResourceValidate

Interface to validate the owner of a resource.

Author:
Cory Sharp, Moteiv Corporation <info@moteiv.com>

Commands
command bool validateUser(uint8_t rh) Given a resource handle, check if the handle is the current owner of the resource.

Commands - Details

validateUser

command bool validateUser(uint8_t rh)

Given a resource handle, check if the handle is the current owner of the resource.

Parameters:
rh - Resource handle to check
Returns:
TRUE if the owner of the resource handle currently has control of the resource.