Resolution is the number of pixels that you get. DPI is how closely packed those pixels are.

The differing DPI values are either the firmware just putting in some preset value or the actual sensors in the camera are different size.