Skip to content

Commit e1031ec

Browse files
committed
Add E32_TTL_2W for E32-433T33S
1 parent 31de6b3 commit e1031ec

File tree

5 files changed

+34
-3
lines changed

5 files changed

+34
-3
lines changed

LoRa_E32.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* EBYTE LoRa E32 Series
33
*
44
* AUTHOR: Renzo Mischianti
5-
* VERSION: 1.5.12
5+
* VERSION: 1.5.13
66
*
77
* https://www.mischianti.org/category/my-libraries/lora-e32-devices/
88
*

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
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/)
2525

2626
## Changelog
27+
- 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)
2728
- 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/)
2829
- 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/)
2930
- 2022-12-14 1.5.10 Fix UART_PARITY for ESP32 C3 [Forum](https://www.mischianti.org/forums/topic/problems-including-library/) fix

includes/statesNaming.h

+30
Original file line numberDiff line numberDiff line change
@@ -422,6 +422,36 @@ static String getFECDescriptionByParams(byte fec)
422422
return F("Invalid transmission power param");
423423
}
424424
}
425+
#elif defined(E32_TTL_2W)
426+
enum TRANSMISSION_POWER
427+
{
428+
POWER_33 = 0b00,
429+
POWER_30 = 0b01,
430+
POWER_27 = 0b10,
431+
POWER_24 = 0b11
432+
433+
};
434+
435+
static String getTransmissionPowerDescriptionByParams(byte transmissionPower)
436+
{
437+
switch (transmissionPower)
438+
{
439+
case POWER_33:
440+
return F("33dBm (Default)");
441+
break;
442+
case POWER_30:
443+
return F("30dBm");
444+
break;
445+
case POWER_27:
446+
return F("27dBm");
447+
break;
448+
case POWER_24:
449+
return F("24dBm");
450+
break;
451+
default:
452+
return F("Invalid transmission power param");
453+
}
454+
}
425455
#else
426456
enum TRANSMISSION_POWER
427457
{

library.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "EByte LoRa E32 library",
3-
"version": "1.5.12",
3+
"version": "1.5.13",
44
"keywords": "LoRa, UART, EByte, e32, esp32, esp8266, stm32, SAMD, Arduino, Raspberry Pi Pico",
55
"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.",
66
"homepage": "https://www.mischianti.org/category/my-libraries/lora-e32-devices/",

library.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=EByte LoRa E32 library
2-
version=1.5.12
2+
version=1.5.13
33
author=Renzo Mischianti <[email protected]>
44
maintainer=Renzo Mischianti <[email protected]>
55
sentence=LoRa EBYTE E32 device library complete and tested with Arduino, Arduino SAMD, esp8266, esp32 and STM32. sx1278/sx1276.

0 commit comments

Comments
 (0)