Within D-Pro, tap tempo recalculates the BPM from scratch when 2 seconds elapse without a tap being detected. - if an external tool were to send fake button taps continuously, the BPM would never be recalculated from scratch. Gaps would need to be inserted occasionally.

A less accurate alternative is the “Show Control: SET TEMPO” command in Preferences > Remote Control. This can set the tempo from a MIDI CC message, but due to the limited range of MIDI messages, only to whole numbers in the range 60-187bpm.

Alternatively, OSC has a command /sc/tempo which can directly set the tempo to arbitrary values based on a live input. In combination with 3rd party applications.