Xenon External Antenna functional?


#1

Could I get a consensus vote on whether u.fl functional with latest version? And if so, the correct switch?


#2

@ParticleD, or @mstanley are you able to assist?


#3

@TxAggie, from what I can tell, there is no API call yet for controlling the antenna selection. However, you can select the external antenna this way in your code.

void selectExternalMeshAntenna() {
#if (PLATFORM_ID == PLATFORM_ARGON)
	digitalWrite(ANTSW1, 1);
	digitalWrite(ANTSW2, 0);
#elif (PLATFORM_ID == PLATFORM_BORON)
	digitalWrite(ANTSW1, 0);
#else
	digitalWrite(ANTSW1, 0);
	digitalWrite(ANTSW2, 1);
#endif
}

#4

I have the antenna, and I have the code. Is there any good way to know it’s working besides perhaps running MarcoPolo and testing distance? Any way to throw a meter somewhere and check for voltage, for example?


#5

At this time, I think Marco Polo might be your best bet.

I know one of our engineers, Rick, did some great testing on range on this topic at Mesh range testing

He has some display firmware at the bottom. Perhaps it would be useful for your cases as well.


#6

So these are for the Argon and Boron, what about the Xenon as asked? I am assuming the Xenon will not match PLATFORM_ARGON or PLATFORM_BORON.


#7

How about the #else branch?