xreef / EByte_LoRa_E22_Series_Library

Arduino LoRa EBYTE E22 device library complete and tested with Arduino, esp8266, esp32, STM32 and Raspberry Pi Pico (rp2040 boards).. sx1262/sx1268
Other
104 stars 22 forks source link

configuration.TRANSMISSION_MODE.WORTransceiverControl = WOR_RECEIVER; #11

Closed fixajteknik closed 1 year ago

fixajteknik commented 1 year ago

configuration.TRANSMISSION_MODE.WORTransceiverControl = WOR_RECEIVER;

this commend not effect lora module parameters setting for E22 only transmitter works

actualy it work reverse, if I set receiver it goes transmitter mode and if I set transmitter it goes receiver mode

//configuration.TRANSMISSION_MODE.WORTransceiverControl = WOR_TRANSMITTER; configuration.TRANSMISSION_MODE.WORTransceiverControl = WOR_RECEIVER;

xreef commented 1 year ago

Hi @fixajteknik, It's very strange, the datasheet says that 1 is for the transmitter and 0 for the receiver. I will try to test It as soon as possible. Bye Renzo

fixajteknik commented 1 year ago

also there is no c.close(); at any set configration exampls. did you forget or c.close unneccesary

xreef commented 1 year ago

Azz... no close is mandatory. Thanks

xreef commented 1 year ago

Hi @fixajteknik, I try to redo some tests and seems It's working correctly without inverting the configuration. Can you retry, please? Bye Renzo

fixajteknik commented 1 year ago

yes double check still reverse working.

also there is a new bug,

configuration.NETID = Netid; is not save bigger number, it needs highbyte and lowbyte. also tested.

xreef commented 1 year ago

Hi fixajteknik, ok, I'm going to retest the TRANSMISSION_MODE.

NetId can be only one byte in the register (like ADDH and ADDL) It can't be more than that.

Thanks, Renzo

fixajteknik commented 1 year ago

I have attached screenshoot, may be ı am making something wrong. on the other hand i didnt face any problem while working error translete or receiver.

1

2

xreef commented 1 year ago

Hi, mmm... I think that I remember that when I do the test I find that the bug is in the EByte software.

But your test says that It's the correct mine value of EByte software value.

Bye Renzo

xreef commented 1 year ago

Hi @fixajteknik, finally I receive the updated version from EByte

https://www.mischianti.org/forums/topic/fixed-ebyte-e22-desktop-program-for-usb-adapter/

Thanks Renzo