Skip to content

Commit

Permalink
Update API.md
Browse files Browse the repository at this point in the history
Signed-off-by: Eric Chavez <[email protected]>
  • Loading branch information
Eric286 committed Jun 23, 2023
1 parent 775d907 commit 687b65a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions API.md
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,8 @@ void setup() {
### Send data to LoRaWAN
You need to specify the length of data you want to send and also the message type (unconfirmed or confirmed message). Set `confirm = 0` to send unconfirmed message and `confirm = 1`' to send confirmed message.

For mport, you are free to utilize values between 1-223, it is entirely up to you to choose the values your node and infrastructure software sets or checks for.

#### Syntax
```c
void sendUplink(char *data, unsigned int len, unsigned char confirm, unsigned char mport);
Expand Down

0 comments on commit 687b65a

Please sign in to comment.