Particle Computers provide 3 options to set/get fieldstrenght information:
Particle Computers
allow to adjust the sending (outgoing) fieldstrength by calling the API void
ACLSetFieldStrength(int power); in the awarcon#xx.c file. This sets the field
strength of the transmitted signals. Valid parameters for power are 0..32 with
0 beeing the minimum transmit power. Turning the transmission power down reduces
the range where possible receivers can receive the transmitted packets.Minimum
transmit power corresponds to 0.01mW (<1m data transmission); maximum to
1mW (>100m outdoors, >10m office). The steps are nearly linear. After
calling this function all subseqential packets are sent using this fieldstrength.
The current fieldstrength for the Particle can be retrieved via the int LLGetFieldStrength();
function
See the AwareCon
Function reference for more information about the API.
All packets
received by a particle contain the fieldstrength with which they where sent
by the sender. To retrieve this information you need to include the signalstrenght.c
file, The ACLPktRSS() returns the sending Fieldstrength of the last received
packet. Valid parameters for power are 0..32 with 0 beeing the minimum transmit
power. Turning the transmission power down reduces the range where possible
receivers can receive the transmitted packets.Minimum transmit power corresponds
to 0.01mW (<1m data transmission); maximum to 1mW (>100m outdoors, >10m
office). The steps are nearly linear.
The receiving Singal Strength analogue value can be measured on the processors A1 pin (Analog 1) on the particle (for 2/1x you need the extra RSSI-Board, see above). API and description will be available January 2005.