Native code for ESPNOW feature#2218
Native code for ESPNOW feature#2218SandorDobos wants to merge 40 commits intonanoframework:developfrom
Conversation
…/github.com/SandorDobos/nf-interpreter into feature-nanoFramework.Hardware.Esp32.EspNow
…eter into feature-nanoFramework.Hardware.Esp32.EspNow
…/github.com/SandorDobos/nf-interpreter into feature-nanoFramework.Hardware.Esp32.EspNow
…eter into feature-nanoFramework.Hardware.Esp32.EspNow
Automated fixes for code style.
|
@SandorDobos there are issues with the code style on the source files. Make sure to follow the project code style. Check the details here on how it works and the tools required to help you with that. |
…-95a3-c13d13bb726b' into feature-nanoFramework.Hardware.Esp32.EspNow
02961e4 to
ff3b7cd
Compare
| // Keep command history | ||
| "source=nano-bashhistory,target=/home/vscode/commandhistory,type=volume", | ||
| ], | ||
| "workspaceFolder": "/workspace", |
There was a problem hiding this comment.
Changes in this file don't belong to this PR, please revert.
| "API_nanoFramework.Graphics": "OFF", | ||
| "API_nanoFramework.Device.Bluetooth": "ON" | ||
| "API_nanoFramework.Device.Bluetooth": "ON", | ||
| "API_nanoFramework.Espnow": "ON" |
There was a problem hiding this comment.
| "API_nanoFramework.Espnow": "ON" | |
| "API_nanoFramework.EspNow": "ON" |
| "API_nanoFramework.Graphics": "OFF", | ||
| "API_nanoFramework.Device.Bluetooth": "OFF" | ||
| "API_nanoFramework.Device.Bluetooth": "OFF", | ||
| "API_nanoFramework.Espnow": "ON" |
There was a problem hiding this comment.
| "API_nanoFramework.Espnow": "ON" | |
| "API_nanoFramework.EspNow": "ON" |
| "API_nanoFramework.Graphics": "OFF", | ||
| "API_nanoFramework.Device.Bluetooth": "ON" | ||
| "API_nanoFramework.Device.Bluetooth": "ON", | ||
| "API_nanoFramework.Espnow": "ON" |
There was a problem hiding this comment.
| "API_nanoFramework.Espnow": "ON" | |
| "API_nanoFramework.EspNow": "ON" |
| "API_nanoFramework.Device.Bluetooth": "OFF", | ||
| "API_nanoFramework.Graphics": "ON", | ||
| "API_Windows.Devices.Adc": "ON", | ||
| "API_nanoFramework.Espnow": "ON", |
There was a problem hiding this comment.
| "API_nanoFramework.Espnow": "ON", | |
| "API_nanoFramework.EspNow": "ON", |
| @@ -0,0 +1,148 @@ | |||
| //----------------------------------------------------------------------------- | |||
There was a problem hiding this comment.
Replace with license header.
| @@ -0,0 +1,181 @@ | |||
| //----------------------------------------------------------------------------- | |||
There was a problem hiding this comment.
Replace with license header.
| ret = esp_now_init(); | ||
| if (ret == ESP_OK) | ||
| { | ||
|
|
| ret = esp_now_register_recv_cb(DataRecvCb); | ||
| if (ret == ESP_OK) | ||
| { | ||
|
|
| @@ -0,0 +1,160 @@ | |||
| //----------------------------------------------------------------------------- | |||
There was a problem hiding this comment.
Replace with license header.
|
@SandorDobos also waiting for the PR for the manage library. |
|
I would like to use ESPNOW with nanoframework. |
|
@SandorDobos any chance we can have this PR moved forward? 😅 |
|
@SandorDobos any help needed to move forward this PR? |
|
Merry Christmas everyone.... Having this in the framework would be very handy indeed.... Cheers |
|
@SandorDobos |
|
Man I really hope you merge this. |
|
@SandorDobos there are issues with the code style on the source files. Please merge the changes from https://github.com/nanoframework/nf-interpreter/tree/nfbot/clang-format-fix/8dcdd254-faee-40b8-8213-d670c5a4f546. |
7c2bf60 to
4b3a656
Compare
b9cf8c5 to
1ae4494
Compare
Description
Adds native code supporting nanoFramework.Hardware.Esp32.EspNow managed lib.
Motivation and Context
How Has This Been Tested?
Used in my own project.
Types of changes
Checklist: