RAK411 PROGRAMMING MANUAL
V1.7
COPYRIGHT ©
SHENZHEN RAKWIRELESS TECHNOLOGY CO., LTD
ETDX1603021415
31
4.2.12 Getting Network Signal Strength
Command:
rak_get_rssi
Syntax:
uint32_t cmd;
Parameter:
Parameter
Bytes
Value
Description
cmd
4
0xA9,0x00,0x00,0x00
Command Code
Description:
It is used to get the current signal strength of the network.
Return Value:
Parameter
Bytes
Value
Description
<CODE>
2
0xA9,0x00
Response Code
<RSSI>
2
-99--0
current signal strength
<STATUS>
1
0
Command successful
-2
To obtain IP information failed
4.2.13 DNS
Command:
rak_dns
Syntax:
typedef struct {
uint32_t cmd;
uint32_t name[42];
}rak_dns_t;
Parameter:
Parameter
Bytes
Value
Description
cmd
4
0xAF,0x00,0x00,0x00
Command Code
name
<42
ASCII
Domain