Implemented c function to handle ams config using the supplied AmsSettings java class