| CPC G07C 9/00563 (2013.01) [F41A 17/063 (2013.01); F41A 17/066 (2013.01); F41A 9/62 (2013.01); F41G 1/345 (2013.01); F41G 1/35 (2013.01)] | 15 Claims | 

| 
               2. A method performed by a gun, the method comprising: 
            performing an authentication procedure to determine whether a user operating the gun is an authorized user of the gun; 
                generating a request message in response to a determination that the user operating the gun is an authorized user of the gun; 
                transmitting the request message to a user device; 
                receiving, from the user device, a message indicating that is in response to the request message and that indicates a default behavior of a peripheral component of the gun; 
                modifying, based on the message, a configuration file to indicate that the peripheral component of the gun is to perform the default behavior in response to a user event; 
                identifying an occurrence of the user event based on an analysis of an output of a sensor of the gun; and 
                performing, in response to the user event, the default behavior at the peripheral component. 
               |