Differences

This shows you the differences between two versions of the page.

Link to this comparison view

manual:chapter6:usb:cmd_usbrecv [2019/11/02 16:07]
jojo1973 created
manual:chapter6:usb:cmd_usbrecv [2019/11/17 14:19] (current)
jojo1973
Line 24: Line 24:
 The ''​USBRECV''​ command receives an object transmitted by another calculator using the USB link, provided the connection has been successufully negotiated. Since by default object reception happens automatically without an explicit use of ''​USBRECV'',​ the pre-condition for usage of ''​USBRECV''​ is the disabling of automatic reception by setting flag [[manual:​appendix:​flags#​flag-47|-47]]. The ''​USBRECV''​ command receives an object transmitted by another calculator using the USB link, provided the connection has been successufully negotiated. Since by default object reception happens automatically without an explicit use of ''​USBRECV'',​ the pre-condition for usage of ''​USBRECV''​ is the disabling of automatic reception by setting flag [[manual:​appendix:​flags#​flag-47|-47]].
  
-If the transfer succeeds ''​USBRECV''​ will leave the object ''​1''​ on the stack, otherwise it will leave only ''​0''​. The incoming object will **NOT** be ''​[[manual:​chapter6:​operators:​cmd_ovr_xeq|XEQ]]''​%%'%%ted - see ''​[[manual:​chapter6:​usb:​cmd_usbautorcv|USBAUTORCV]]''​ if this feature is not desired.+If the transfer succeeds ''​USBRECV''​ will leave the object ''​1''​ on the stack, otherwise it will leave only ''​0''​. The incoming object will **NOT** be ''​[[manual:​chapter6:​operators:​cmd_ovr_xeq|XEQ]]''​ted - see ''​[[manual:​chapter6:​usb:​cmd_usbautorcv|USBAUTORCV]]''​ if this feature is not desired.
  
 The ''​USBRECV''​ command accepts a time-out parameter expressed in seconds. After the time-out elapses ''​USBRECV''​ aborts with a failure. Also, transmission can be interrupted pressing **ON** before time-out ends. The ''​USBRECV''​ command accepts a time-out parameter expressed in seconds. After the time-out elapses ''​USBRECV''​ aborts with a failure. Also, transmission can be interrupted pressing **ON** before time-out ends.
  • manual/chapter6/usb/cmd_usbrecv.txt
  • Last modified: 2019/11/17 14:19
  • by jojo1973