Check peripheral type