This writes 0x1-bytes to SPI for command 0x9F(RDID), then reads 2-bytes of output which are then copied to cmdreply[2].
Please enable JavaScript to pass antispam protection!Here are the instructions how to enable JavaScript in your web browser http://www.enable-javascript.com.Antispam by CleanTalk.