RAKWireless / Products_practice_based_on_RUI

This repository will collect all of products practice based on RAK IoT module and RAK IoT SDK RUI.The creativity may come from RAK official and open source contributor.
MIT License
18 stars 17 forks source link

Send configuration commands through DOWNLINK #9

Open pradeeka7 opened 4 years ago

pradeeka7 commented 4 years ago

I have added a code snippet to send downlink messages to RAK7205 (or RAK811 based). I have tested the code with RAK7205 and it worked well. With this code you can do the following things:

  1. RESET the RAK7205 - You should send 04FF on port 8. For ChirpStack use the base 64 equivalent of the message (BP8=). Payload size is 2 bytes. 2, Set the SEND TIME INTERVAL - Send Type Code 01 along with the number of seconds on port 8. Payload size is 4 bytes. Eg: 0100003C means 01 is the type code. 00003C is equivalent to 60 in decimal.

Similarly you can implement most of the AT commands.