rssi - Interpreting the value I receive from the ATDB command for Xbee S2 -


i realize might stupidest question has ever been asked here, i'm stuck. trying rssi value of xbee router send atbd coordinator. value returned in hexadecimal cannot, life of me, see how hexadecimal value interprets dbm value.

actually command isn't atbd, atdb, means:

"received signal strength. command reports received signal strength of last received rf data packet. db command indicates signal strength of last hop. not provide accurate quality measurement multihop link. db can set 0 clear it. db command value measured in -dbm. for example if db returns 0x50, rssi of last packet received -80dbm. of 2x6x firmware, db command value updated when aps acknowledgment received." (retired xbee zb user manual p.131).

as can see example above, need to:

  • read hexadecimal (example: 0x50)
  • read decimal (example: 0x50 = 80 in decimal)
  • multiply -1: (-1)*80 = -80 dbm

the atbd command used change serial interface data rate (baud rate).


Comments

Popular posts from this blog

database - VFP Grid + SQL server 2008 - grid not showing correctly -

jquery - Set jPicker field to empty value -

.htaccess - htaccess convert request to clean url and add slash at the end of the url -