add the sendPinName function for SPI protocol