TMStrongAccess Overview Group

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.

short far pascal TMStrongAccess(

long session_handle,    // session handle for the desired 1-Wire network
void far *state_buffer  // state buffer provided for the 1-Wire network session

For a description of the above types, see the TMEX Type Descriptions.



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.


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

Code Example

See Also

TMRom, TMStrongAlarmAccess, TMOverAccess, TMAccess