You either connect your smartgun with a wire to your smartgoggles/glasses. This give you +2 accuracy, let you fire around corners and depending on your reading the ability to fire without touching the trigger, change firemode and eject clip without touching the weapon as simple actions. This make your gun undetectable from the matrix and immune to matrix attacks. You dont get Wireless bonus connected this way.
Or you wireless connect your smartgun with your smartgoggles/glasses and your trodes.This give you +2 accuracy, let you fire around corners, fire without touching the trigger, the ability to change firemode and eject clip without touching the weapon as Free actions, compensate for wind one level, both accuracy and dice bonus on Take Aim and a positive dice pool modifier of 1 dice. Your gun can be spotted and attacked from the matrix so a good idea is to run it silent (to make it less obvious to spot) and slave it to your commlink (to give it more dice when defending).