Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: disk91/Disk91_LoRaE5
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: Seeed-Studio/Seeed_Arduino_LoRaE5
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Can’t automatically merge. Don’t worry, you can still create the pull request.
  • 8 commits
  • 9 files changed
  • 4 contributors

Commits on Aug 2, 2022

  1. Copy the full SHA
    a8b0638 View commit details

Commits on Aug 8, 2022

  1. Copy the full SHA
    c9d1989 View commit details

Commits on Aug 10, 2022

  1. Copy the full SHA
    cc22575 View commit details
  2. format the code

    Pillar1989 committed Aug 10, 2022
    Copy the full SHA
    1875109 View commit details

Commits on Aug 16, 2022

  1. More RTOS friendly

    Pillar1989 committed Aug 16, 2022
    Copy the full SHA
    91b6dd4 View commit details

Commits on Oct 8, 2024

  1. Copy the full SHA
    1b3d121 View commit details

Commits on Jan 8, 2025

  1. Copy the full SHA
    f55fa95 View commit details

Commits on Jan 20, 2025

  1. Copy the full SHA
    20ebdd0 View commit details
59 changes: 59 additions & 0 deletions .github/workflows/run-cl-arduino.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
name: Run Ci Arduino

on:
push:
pull_request:
repository_dispatch:
types: [trigger-workflow]

jobs:
ci-arduino:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Checkout script repository
uses: actions/checkout@v4
with:
repository: Seeed-Studio/ci-arduino
path: ci


- name: Setup arduino cli
uses: arduino/setup-arduino-cli@v2.0.0

- name: Create a depend.list file
run: |
# eg: echo "<repo>" >> depend.list
echo "ackPeng/espsoftwareserial" >> depend.list
- name: Create a ignore.list file
run: |
# eg: echo "<path>,<fqbn>" >> ignore.list
# The dependent TensorFlowLite library can no longer be found
echo "dsk_LoRaE5_Debuging,Seeeduino:renesas_uno:XIAO_RA4M1" >> ignore.list
echo "dsk_LoRaE5_SimpleUplink,Seeeduino:renesas_uno:XIAO_RA4M1" >> ignore.list
echo "dsk_LoRaE5_StoreCredentials,Seeeduino:renesas_uno:XIAO_RA4M1" >> ignore.list
echo "dsk_LoRaE5_UplinkDownlink,Seeeduino:renesas_uno:XIAO_RA4M1" >> ignore.list
- name: Build sketch
run: |
./ci/tools/compile.sh
- name: Build result
run: |
cat build.log
if [ ${{ github.event_name }} == 'pull_request' ] && [ -f compile.failed ]; then
exit 1
fi
- name: Generate issue
if: ${{ github.event_name != 'pull_request' }}
run: ./ci/tools/issue.sh
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
25 changes: 25 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: 'Close stale issues and PRs'

on:
workflow_dispatch:
schedule:
- cron: '0 4 * * *'

jobs:
stale:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Checkout script repository
uses: actions/checkout@v4
with:
repository: Seeed-Studio/sync-github-all-issues
path: ci

- name: Run script
run: ./ci/tools/stale.sh
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
24 changes: 24 additions & 0 deletions .github/workflows/sync_issues.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Automate Issue Management

on:
issues:
types:
- opened
- edited
- assigned
- unassigned
- labeled
- unlabeled
- reopened

jobs:
add_issue_to_project:
runs-on: ubuntu-latest
steps:
- name: Add issue to GitHub Project
uses: actions/add-to-project@v1.0.2
with:
project-url: https://github.com/orgs/Seeed-Studio/projects/17
github-token: ${{ secrets.ISSUE_ASSEMBLE }}
labeled: bug
label-operator: NOT
14 changes: 11 additions & 3 deletions examples/dsk_LoRaE5_Debuging/dsk_LoRaE5_Debuging.ino
Original file line number Diff line number Diff line change
@@ -3,9 +3,13 @@

Disk91_LoRaE5 lorae5(&Serial); // Where the AT command and debut traces are printed

uint8_t deveui[] = { 0xDC, 0xXX, 0xXX, 0xXX, 0xXX, 0xXX, 0xXX, 0xEE };
uint8_t appeui[] = { 0xCD, 0xXX, 0xXX, 0xXX, 0xXX, 0xXX, 0xXX, 0xAD };
uint8_t appkey[] = { 0x2A, 0xXX, 0xXX, 0xXX, 0xXX, 0xXX, 0xXX, 0xA1, 0xXX, 0xXX, 0xXX, 0xXX, 0xXX, 0xXX, 0xXX, 0x43 };
// uint8_t deveui[] = { 0xDC, 0xXX, 0xXX, 0xXX, 0xXX, 0xXX, 0xXX, 0xEE };
// uint8_t appeui[] = { 0xCD, 0xXX, 0xXX, 0xXX, 0xXX, 0xXX, 0xXX, 0xAD };
// uint8_t appkey[] = { 0x2A, 0xXX, 0xXX, 0xXX, 0xXX, 0xXX, 0xXX, 0xA1, 0xXX, 0xXX, 0xXX, 0xXX, 0xXX, 0xXX, 0xXX, 0x43 };

uint8_t deveui[] = { 0xDC, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0xEE };
uint8_t appeui[] = { 0xCD, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0xAD };
uint8_t appkey[] = { 0x2A, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0xA1, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x43 };

void setup() {

@@ -14,7 +18,11 @@ void setup() {
while ( !Serial && (millis() - start) < 1500 ); // Open the Serial Monitor to get started or wait for 1.5"

// init the library, search the LORAE5 over the different WIO port available
#if defined(SEEED_WIO_TERMINAL)
if ( ! lorae5.begin(DSKLORAE5_SEARCH_WIO) ) {
#else
if ( ! lorae5.begin(0x01) ) {
#endif
Serial.println("LoRa E5 Init Failed");
while(1);
}
14 changes: 11 additions & 3 deletions examples/dsk_LoRaE5_SimpleUplink/dsk_LoRaE5_SimpleUplink.ino
Original file line number Diff line number Diff line change
@@ -3,9 +3,13 @@

Disk91_LoRaE5 lorae5(false); // true, false whatever

uint8_t deveui[] = { 0xDC, 0xXX, 0xXX, 0xXX, 0xXX, 0xXX, 0xXX, 0xEE };
uint8_t appeui[] = { 0xCD, 0xXX, 0xXX, 0xXX, 0xXX, 0xXX, 0xXX, 0xAD };
uint8_t appkey[] = { 0x2A, 0xXX, 0xXX, 0xXX, 0xXX, 0xXX, 0xXX, 0xA1, 0xXX, 0xXX, 0xXX, 0xXX, 0xXX, 0xXX, 0xXX, 0x43 };
// uint8_t deveui[] = { 0xDC, 0xXX, 0xXX, 0xXX, 0xXX, 0xXX, 0xXX, 0xEE };
// uint8_t appeui[] = { 0xCD, 0xXX, 0xXX, 0xXX, 0xXX, 0xXX, 0xXX, 0xAD };
// uint8_t appkey[] = { 0x2A, 0xXX, 0xXX, 0xXX, 0xXX, 0xXX, 0xXX, 0xA1, 0xXX, 0xXX, 0xXX, 0xXX, 0xXX, 0xXX, 0xXX, 0x43 };

uint8_t deveui[] = { 0xDC, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0xEE };
uint8_t appeui[] = { 0xCD, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0xAD };
uint8_t appkey[] = { 0x2A, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0xA1, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x43 };

void setup() {

@@ -14,7 +18,11 @@ void setup() {
while ( !Serial && (millis() - start) < 1500 ); // Open the Serial Monitor to get started or wait for 1.5"

// init the library, search the LORAE5 over the different WIO port available
#if defined(SEEED_WIO_TERMINAL)
if ( ! lorae5.begin(DSKLORAE5_SEARCH_WIO) ) {
#else
if ( ! lorae5.begin(0x01) ) {
#endif
Serial.println("LoRa E5 Init Failed");
while(1);
}
Original file line number Diff line number Diff line change
@@ -3,9 +3,13 @@

Disk91_LoRaE5 lorae5(false); // true or false whatever

uint8_t deveui[] = { 0xDC, 0xXX, 0xXX, 0xXX, 0xXX, 0xXX, 0xXX, 0xEE };
uint8_t appeui[] = { 0xCD, 0xXX, 0xXX, 0xXX, 0xXX, 0xXX, 0xXX, 0xAD };
uint8_t appkey[] = { 0x2A, 0xXX, 0xXX, 0xXX, 0xXX, 0xXX, 0xXX, 0xA1, 0xXX, 0xXX, 0xXX, 0xXX, 0xXX, 0xXX, 0xXX, 0x43 };
// uint8_t deveui[] = { 0xDC, 0xXX, 0xXX, 0xXX, 0xXX, 0xXX, 0xXX, 0xEE };
// uint8_t appeui[] = { 0xCD, 0xXX, 0xXX, 0xXX, 0xXX, 0xXX, 0xXX, 0xAD };
// uint8_t appkey[] = { 0x2A, 0xXX, 0xXX, 0xXX, 0xXX, 0xXX, 0xXX, 0xA1, 0xXX, 0xXX, 0xXX, 0xXX, 0xXX, 0xXX, 0xXX, 0x43 };

uint8_t deveui[] = { 0xDC, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0xEE };
uint8_t appeui[] = { 0xCD, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0xAD };
uint8_t appkey[] = { 0x2A, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0xA1, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x43 };

void setup() {

@@ -14,7 +18,11 @@ void setup() {
while ( !Serial && (millis() - start) < 1500 ); // Open the Serial Monitor to get started or wait for 1.5"

// init the library, search the LORAE5 over the different WIO port available
#if defined(SEEED_WIO_TERMINAL)
if ( ! lorae5.begin(DSKLORAE5_SEARCH_WIO) ) {
#else
if ( ! lorae5.begin(0x01) ) {
#endif
Serial.println("LoRa E5 Init Failed");
while(1);
}
14 changes: 11 additions & 3 deletions examples/dsk_LoRaE5_UplinkDownlink/dsk_LoRaE5_UplinkDownlink.ino
Original file line number Diff line number Diff line change
@@ -3,17 +3,25 @@

Disk91_LoRaE5 lorae5(false); // true or false, whatever

uint8_t deveui[] = { 0xDC, 0xXX, 0xXX, 0xXX, 0xXX, 0xXX, 0xXX, 0xEE };
uint8_t appeui[] = { 0xCD, 0xXX, 0xXX, 0xXX, 0xXX, 0xXX, 0xXX, 0xAD };
uint8_t appkey[] = { 0x2A, 0xXX, 0xXX, 0xXX, 0xXX, 0xXX, 0xXX, 0xA1, 0xXX, 0xXX, 0xXX, 0xXX, 0xXX, 0xXX, 0xXX, 0x43 };
// uint8_t deveui[] = { 0xDC, 0xXX, 0xXX, 0xXX, 0xXX, 0xXX, 0xXX, 0xEE };
// uint8_t appeui[] = { 0xCD, 0xXX, 0xXX, 0xXX, 0xXX, 0xXX, 0xXX, 0xAD };
// uint8_t appkey[] = { 0x2A, 0xXX, 0xXX, 0xXX, 0xXX, 0xXX, 0xXX, 0xA1, 0xXX, 0xXX, 0xXX, 0xXX, 0xXX, 0xXX, 0xXX, 0x43 };

uint8_t deveui[] = { 0xDC, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0xEE };
uint8_t appeui[] = { 0xCD, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0xAD };
uint8_t appkey[] = { 0x2A, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0xA1, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x43 };

void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
uint32_t start = millis();
while ( !Serial && (millis() - start) < 1500 ); // Open the Serial Monitor to get started or wait for 1.5"

#if defined(SEEED_WIO_TERMINAL)
if ( ! lorae5.begin(DSKLORAE5_SEARCH_WIO) ) {
#else
if ( ! lorae5.begin(0x01) ) {
#endif
Serial.println("LoRa E5 Init Failed");
while(1);
}
Loading