Modified Native code to use Galileo Gen 2 SDK