Please enable JavaScript to view this site.

Sets the new destination ID for the current connection.

Syntax

setDstId(byte id): byte

id

New destination ID

Result

Returns previous destination ID

For more information on the destination ID, see the BCC/31 protocol documentation and the Destination ID Table.

Usage Example.

To send commands to the network interface, and not to the connected device, a different destination ID must be set, then send the desired commands.

bccmsg cmd, asw

saveid byte

saveId = setDstId(dstNetwork).

if(command(@cmd, @asw))

  ; TODO:

end

setDstId(saveId)

 

  

Keyboard Navigation

F7 for caret browsing
Hold ALT and press letter

This Info: ALT+q
Page Header: ALT+h
Topic Header: ALT+t
Topic Body: ALT+b
Contents: ALT+c
Search: ALT+s
Exit Menu/Up: ESC