A method for detecting a successful deployment of a surgical fastener, the method comprising: activating a motor to move a firing rod of a surgical stapler thereby firing a surgical fastener; measuring a first current draw waveform of the motor; andcomparing the first current draw waveform to a second current draw waveform obtained from test firing data stored in a memory of the surgical stapler to determine whether the surgical fastener is successfully deployed.