I dont know anything about nikon's flashes but at least with canon, there is a lot more communication between camera and flash than just when to fire the strobe.
Canon bodies tell the flash both the focal length of the lens and the crop factor so that the flash can adjust the output angle appropriately. (actual focal length on eTTL flashes and effective focal lentgh on ettl2 flashes) The focal length of the lens currently mounted to the camera is displayed on the lcd on the flash.
ISO, aperature and Shutterspeed are also communicated in some form. It is hard to tell if they are sent as one EXPOSURE signal or if they are all send all three individually. This information is used to calculate the range of the flash. If you change the ISO or aperature, or change the shutter speed when speed is greater than sync speed, the flash knows it and reflects the change by updating range(which is also displyed on the flash's LCD)
Focus distance may or may not be communicated, there is no evidence I can see that says one way or the other as to if the focus distance information is used in the camera or in the flash.
Now figuring out how to get at that information, probably impossible, but if you do figure it out, I bet there would be plenty of thrid party flash manufacturers would be willing to buy that information from you. 
Good luck