Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add function declaration for send() #10

Closed
wants to merge 1 commit into from

Conversation

lupyuen
Copy link

@lupyuen lupyuen commented Mar 15, 2021

Adding the declaration will fix this build error in PlatformIO...

src/main.cpp: In function 'void setup()':
src/main.cpp:91:2: error: 'send' was not declared in this scope

Thanks :-)

Adding the declaration will fix this build error in PlatformIO...

```text
src/main.cpp: In function 'void setup()':
src/main.cpp:91:2: error: 'send' was not declared in this scope
```

Thanks :-)
@beegee-tokyo
Copy link
Collaborator

Thank you for your contribution. We are (still) reworking all examples and will include your suggestion. It might be the same for other examples as well. All examples are tested on Arduino IDE, but I am aware of the differences when using PlatformIO.

@lupyuen
Copy link
Author

lupyuen commented Mar 16, 2021

Thanks, looking forward to the reworked examples :-)

BTW I'm happy with the simple example code for LoRaP2P_TX and LoRaP2P_RX, it's highly consistent with the example code in Apache Mynewt OS (and it's good for portability)...

https://github.com/apache/mynewt-core/blob/master/apps/loraping/src/main.c

@beegee-tokyo
Copy link
Collaborator

Not surprised that it matches with other LoRa P2P examples. Most of these examples are based on the original Semtech examples.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants