WiFi

getAntenna()

WiFi.getAntenna, getAntenna

Note:

On ths P2 and Photon 2 this is only supported on Device OS 5.3.2 and later.

// PROTOTYPE
WLanSelectAntenna_TypeDef getAntenna()

This function returns the currently selected antenna, one of:

  • ANT_AUTO
  • ANT_INTERNAL
  • ANT_EXTERNAL