{"id":23744832,"url":"https://github.com/stm32duino/i-nucleo-lrwan1","last_synced_at":"2025-09-04T19:31:50.566Z","repository":{"id":86445043,"uuid":"107271169","full_name":"stm32duino/I-NUCLEO-LRWAN1","owner":"stm32duino","description":"Arduino library to support I-NUCLEO-LRWAN1 LoRa® expansion board based on USI® LoRaWAN™ technology module.","archived":false,"fork":false,"pushed_at":"2024-09-12T14:23:39.000Z","size":124,"stargazers_count":14,"open_issues_count":0,"forks_count":14,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-09-13T02:19:20.060Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stm32duino.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-10-17T13:18:09.000Z","updated_at":"2024-09-12T14:22:24.000Z","dependencies_parsed_at":"2023-07-13T17:45:07.309Z","dependency_job_id":null,"html_url":"https://github.com/stm32duino/I-NUCLEO-LRWAN1","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stm32duino%2FI-NUCLEO-LRWAN1","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stm32duino%2FI-NUCLEO-LRWAN1/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stm32duino%2FI-NUCLEO-LRWAN1/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stm32duino%2FI-NUCLEO-LRWAN1/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stm32duino","download_url":"https://codeload.github.com/stm32duino/I-NUCLEO-LRWAN1/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":231987769,"owners_count":18456475,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-31T12:49:53.987Z","updated_at":"2024-12-31T12:49:54.896Z","avatar_url":"https://github.com/stm32duino.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# I-NUCLEO-LRWAN1\n\nArduino library to support I-NUCLEO-LRWAN1 LoRa® expansion board based on USI®\nLoRaWAN™ technology module.\n\n## API\n\nThis library provides an Arduino API to manage the I-NUCLEO-LRWAN1 expansion\nboard as a LoRaWAN™ node.\n\n* You will be able to choose the ABP or OTAA mode and set the corresponding keys.\n* Send and receive some data.\n* Select the EU or US band.\n* Enable or disable the duty cycle (must be enabled in EU band).\n* Enable the adaptative data rate and configure the data rate.\n* Put the device in sleep mode.\n\nThis library provides also an API to manage the I-NUCLEO-LRWAN1 expansion board\nas a simple LoRa® radio module.\n\n* Configure the radio parameters (frequency, tx power, spreading factor, band width, ...)\n* Send/receive data\n* LoRaWAN stack disabled\n\n## Known limitations\n\n* The module supports only class A.\n* Sleep mode is not supported in OTAA mode with the version 2.6 of the firmware.\n* Important note for Nucleo64:\n\n  By default, D0/D1 of CN9 board connector are respectively not connected to\n  PA3 and PA2 (SB62 and SB63 opened).\n  Those pins are connected to STLink USART thanks to SB13, SB14.\n\n  To use the shield:\n    - Connect shield D0(Tx) to a free U(S)ARTn Rx pin\n    - Connect shield D1(Rx) to a free U(S)ARTn Tx pin\n\n  Where 'n' are the same U(S)ART number.\n\n    - Update the Serial instance definition used for LoRa using the chosen Rx/Tx\n\n  or\n\n    - Close SB62 and SB63 to connect D0/D1 of CN9 connector to PA3 and PA2\n    - Open SB13 and SB14 to disconnect PA3 and PA2 from STLink UART\n\n  but in this case, you will have to wire STLink Rx/Tx of CN3 connector to\n  another pins and update Serial instance before call `Serial.begin(115200);`\n  using:\n  ```\n  Serial.setRx(Rx pin);\n  Serial.setTx(Tx pin);\n  ```\n  \n  See [UM1724](https://www.st.com/resource/en/user_manual/dm00105823.pdf), §6.8 section for more information.\n\n## Examples\n\n* **getInfo**: display several info about LoRa shield (Firmware version, device EUI,...)\n* **LoRaWANABP**: send/receive data in ABP mode.\n* **LoRaWANOTAA**: send/receive data in OTAA mode.\n* **LoRaPingPong**: P2P exchange in LoRa®.\n* **BridgeSerial**: Send/Receive AT command from/to PC terminal to/from shield (console mode).\n\n## Advice\n\nLoRaWAN default configuration:\n\n* Join accept delay is set to 5000 ms (LoRaWAN default value).\n* The network type is public by default. Use `setPublicNwkMode()` to set the network\ntype in private.\n* RX1 window delay is 1000 ms by default. Use `setRx1Delay()` to set a new value.\n\nIn case of high latency between the gateway and the network server, it is recommended\nto increase the delay time of the RX1 window.\n\n## Version\n\nThis library is based on the STM32CubeExpansion_LRWAN_V1.1.2 driver.\nThis library has been validated with the version 2.6 and 3.6 of the firmware.\n\n## Documentation\n\nYou can find the source files at  \nhttps://github.com/stm32duino/I-NUCLEO-LRWAN1\n\nThe I-NUCLEO-LRWAN1 module datasheet is available at  \nhttps://github.com/USILoRaModule/USI_I-NUCLEO-LRWAN1\n\nLoRaWAN standard  \nhttps://www.lora-alliance.org\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstm32duino%2Fi-nucleo-lrwan1","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstm32duino%2Fi-nucleo-lrwan1","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstm32duino%2Fi-nucleo-lrwan1/lists"}