The TMStrongAccess API call verifies that the device in the ROM buffer is on the 1-Wire network and selects it for a device specific command. This is the same as TMAccess except instead of using a match ROM command the search ROM command is used. This only disadvantage to this API call is that it takes three times as long to run as TMAccess.
For a description of the above types, see the TMEX Type Descriptions.
Parameters
session_handle
Specifies the session handle returned from the API function TMExtendedStartSession that specifies the desired 1-Wire network port. This parameter is required by most TMEX API functions.
state_buffer
Specifies a pointer to a memory location that TMEX keeps all of the state information for the 1-Wire networks. This parameter is required by most TMEX API functions.
Return Value
0 => device in ROM buffer not on 1-Wire network
1 => device in ROM buffer on 1-Wire network and it is selected
<0 => TMEX Network Error Return Code
See Also
TMRom, TMStrongAlarmAccess, TMOverAccess, TMAccess