WiFi

getAntenna()

Note:

On ths P2, Photon 2, and M-SoM 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