Skip to content

Commit

Permalink
Add E32_TTL_2W for E32-433T33S
Browse files Browse the repository at this point in the history
  • Loading branch information
xreef committed Aug 10, 2023
1 parent 31de6b3 commit e1031ec
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 3 deletions.
2 changes: 1 addition & 1 deletion LoRa_E32.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* EBYTE LoRa E32 Series
*
* AUTHOR: Renzo Mischianti
* VERSION: 1.5.12
* VERSION: 1.5.13
*
* https://www.mischianti.org/category/my-libraries/lora-e32-devices/
*
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
7. [LoRa E32 device for Arduino, esp32 or esp8266: WOR (wake on radio) microcontroller and new WeMos D1 mini shield](https://www.mischianti.org/2020/01/17/lora-e32-device-for-arduino-esp32-or-esp8266-wor-wake-on-radio-microcontroller-and-new-wemos-d1-mini-shield-part-7/)

## Changelog
- 2023-08-10 1.5.13 Add E32_TTL_2W for E32-433T33S [Comment](https://mischianti.org/2019/10/21/lora-e32-device-for-arduino-esp32-or-esp8266-library-part-2/#comment-15851)
- 2023-05-02 1.5.12 Fix 900Mhz frequency for E32-900T20D and E32-900T30D [Forum](https://www.mischianti.org/forums/topic/e32-915t-and-e32-900t-modules/)
- 2023-04-18 1.5.11 Distinct frequency from 900MHz and 915Mhz devices [Forum](https://www.mischianti.org/forums/topic/e32-915t-and-e32-900t-modules/)
- 2022-12-14 1.5.10 Fix UART_PARITY for ESP32 C3 [Forum](https://www.mischianti.org/forums/topic/problems-including-library/) fix
Expand Down
30 changes: 30 additions & 0 deletions includes/statesNaming.h
Original file line number Diff line number Diff line change
Expand Up @@ -422,6 +422,36 @@ static String getFECDescriptionByParams(byte fec)
return F("Invalid transmission power param");
}
}
#elif defined(E32_TTL_2W)
enum TRANSMISSION_POWER
{
POWER_33 = 0b00,
POWER_30 = 0b01,
POWER_27 = 0b10,
POWER_24 = 0b11

};

static String getTransmissionPowerDescriptionByParams(byte transmissionPower)
{
switch (transmissionPower)
{
case POWER_33:
return F("33dBm (Default)");
break;
case POWER_30:
return F("30dBm");
break;
case POWER_27:
return F("27dBm");
break;
case POWER_24:
return F("24dBm");
break;
default:
return F("Invalid transmission power param");
}
}
#else
enum TRANSMISSION_POWER
{
Expand Down
2 changes: 1 addition & 1 deletion library.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "EByte LoRa E32 library",
"version": "1.5.12",
"version": "1.5.13",
"keywords": "LoRa, UART, EByte, e32, esp32, esp8266, stm32, SAMD, Arduino, Raspberry Pi Pico",
"description": "Ebyte E32 LoRa (Long Range) library device very cheap and very long range (from 3Km to 8Km). Arduino LoRa EBYTE E32 device library complete and tested with Arduino, esp8266, esp32, STM32 and Raspberry Pi Pico. sx1278/sx1276.",
"homepage": "https://www.mischianti.org/category/my-libraries/lora-e32-devices/",
Expand Down
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=EByte LoRa E32 library
version=1.5.12
version=1.5.13
author=Renzo Mischianti <[email protected]>
maintainer=Renzo Mischianti <[email protected]>
sentence=LoRa EBYTE E32 device library complete and tested with Arduino, Arduino SAMD, esp8266, esp32 and STM32. sx1278/sx1276.
Expand Down

0 comments on commit e1031ec

Please sign in to comment.