User Activity

Hi,I am trying to bring up LSM6DSM sensor with snapdragon based board via SPI interface.How to modify the android HIDL layer for this.What all other interfaces need to be changed?