A mobile device for communication with a safety system embedded in a firearm, the safety system configured to lock the firearm to prevent firing of the firearm and unlock the firearm to allow discharging of the firearm, the safety system comprising a cam, a motor mechanically coupled to the cam and configured to rotate the cam, and a trigger bar stop comprising a corner, the trigger bar stop having a first position in which the trigger bar stop prevents discharging of the firearm and a second position in which the trigger bar stop permits discharging of the firearm, the corner fitting within a recess of the cam when the trigger bar stop is in the first position and the corner being outside of the cam when the trigger bar stop is in the second position, the mobile device comprising:
- a wireless communication circuit;
- a display;
- and
- a processor configured to:
- receive, through an input interface of the mobile device, authentication information from a user of the mobile device;
- determine, based on the authentication information, whether the user has permission to discharge the firearm;
- transmit, using the wireless communication circuit to the safety system, a signal that causes the safety system to unlock the firearm to allow discharging of the firearm when it is determined that the user has permission to discharge the firearm, wherein the signal causes the cam to move the trigger bar stop between the first position and the second position;
- receive, using the wireless communication circuit from the safety system, a signal indicating that the safety system has unlocked the firearm;
- and
- generate, in the display, a GUI indicating that the firearm is unlocked in response to receiving the signal indicating that the safety system has unlocked the firearm.