Coder Social home page Coder Social logo

Comments (10)

xreef avatar xreef commented on August 20, 2024 1

Hi Will,
some time return success sometime no, the library do the same work every time, so I think there is a connection problem, try to change pull up resistor.
Bye Renzo

from ebyte_lora_e22_series_library.

xreef avatar xreef commented on August 20, 2024

Hi WillingLearner,
It isn't a string related to my library, I don't know. Try to give more info.
Bye Renzo

from ebyte_lora_e22_series_library.

kadirozdinc avatar kadirozdinc commented on August 20, 2024

I search a little bit about it, I found that in /include/stateNaming.h in the line of 70 in your library

case ERR_E22_HEAD_NOT_RECOGNIZED:		
return F("Save mode returned not recognized!");
break;

from ebyte_lora_e22_series_library.

xreef avatar xreef commented on August 20, 2024

Damn, Yes It's true, give me some information and the correct model, e22 400t 20d not in list at EByte.
Bye Renzo

from ebyte_lora_e22_series_library.

kadirozdinc avatar kadirozdinc commented on August 20, 2024

I am sorry, E22400T22D model

from ebyte_lora_e22_series_library.

xreef avatar xreef commented on August 20, 2024

Hi,
the returned data was wrong, enable debug and try a get configuration.
Bye Renzo

from ebyte_lora_e22_series_library.

kadirozdinc avatar kadirozdinc commented on August 20, 2024

How to enable debug ? I tried to get configuration, serial monitor just says:

Success
1
Success
1

Model no:22
Version : 10
Features : 0

Edit: I download ebyte rfSettingsTool I tried to see parameters there is no problem with that. In configuration mode (m0 low m1 high) I could get and set related parameters of the module.

I dont think it is miswiring issue because I was using e32 module on the bread board setup before and I decided to test e22 model, removed e32 and place e22 on the same place instead of e32 and uploaded code but didnt work. I change esp32 and e22 module in case of broken part and test again but result is same.

Did you test your library for esp32 dev module ?

from ebyte_lora_e22_series_library.

xreef avatar xreef commented on August 20, 2024

Hi,
Yes the library is fully working with esp32.

The output you posted isn't getConfiguration.

You must uncomment LoRa_E22_DEBUG define.

Bye Renzo

from ebyte_lora_e22_series_library.

kadirozdinc avatar kadirozdinc commented on August 20, 2024

I uncommented debug line and managed to get configuration as below :

`RX MIC ---> -1
TX MIC ---> -1
AUX ---> 18
M0 ---> 21
M1 ---> 19
Init AUX pin!
Init M0 pin!
Init M1 pin!
Begin ex
Begin Hardware Serial
Begin
MODE NORMAL!
AUX HIGH!
Complete!
MODE CONFIGURATION!
AUX HIGH!
Complete!
3
Available buffer: 12 structure size: 12
AUX HIGH!
Complete!

HEAD : C1 0 9

AddH : 0
AddL : 3
NetID : 0

Chan : 23 -> 433MHz

SpeedParityBit : 0 -> 8N1 (Default)
SpeedUARTDatte : 11 -> 9600bps (default)
SpeedAirDataRate : 10 -> 2.4kbps (default)

OptionSubPacketSett: 0 -> 240bytes (default)
OptionTranPower : 0 -> 22dBm (Default)
OptionRSSIAmbientNo: 1 -> Enabled

TransModeWORPeriod : 11 -> 2000ms (default)
TransModeTransContr: 0 -> WOR Receiver (default)
TransModeEnableLBT : 0 -> Disabled (default)
TransModeEnableRSSI: 0 -> Disabled (default)
TransModeEnabRepeat: 0 -> Disabled (default)
TransModeFixedTrans: 1 -> Fixed transmission (first three bytes can be used as high/low address and channel)

MODE NORMAL!
AUX HIGH!
Complete!
Success
1

HEAD : C1 0 9

AddH : 0
AddL : 3
NetID : 0

Chan : 23 -> 433MHz

SpeedParityBit : 0 -> 8N1 (Default)
SpeedUARTDatte : 11 -> 9600bps (default)
SpeedAirDataRate : 10 -> 2.4kbps (default)

OptionSubPacketSett: 0 -> 240bytes (default)
OptionTranPower : 0 -> 22dBm (Default)
OptionRSSIAmbientNo: 1 -> Enabled

TransModeWORPeriod : 11 -> 2000ms (default)
TransModeTransContr: 0 -> WOR Receiver (default)
TransModeEnableLBT : 0 -> Disabled (default)
TransModeEnableRSSI: 0 -> Disabled (default)
TransModeEnabRepeat: 0 -> Disabled (default)
TransModeFixedTrans: 1 -> Fixed transmission (first three bytes can be used as high/low address and channel)

MODE CONFIGURATION!
AUX HIGH!
Complete!
AUX HIGH!
Complete!
Clear buffer...ok!
Available buffer: 0 structure size: 12

HEAD : C0 0 9

AddH : 0
AddL : 3
NetID : 0

Chan : 23 -> 433MHz

SpeedParityBit : 0 -> 8N1 (Default)
SpeedUARTDatte : 11 -> 9600bps (default)
SpeedAirDataRate : 10 -> 2.4kbps (default)

OptionSubPacketSett: 0 -> 240bytes (default)
OptionTranPower : 0 -> 22dBm (Default)
OptionRSSIAmbientNo: 1 -> Enabled

TransModeWORPeriod : 11 -> 2000ms (default)
TransModeTransContr: 0 -> WOR Receiver (default)
TransModeEnableLBT : 0 -> Disabled (default)
TransModeEnableRSSI: 0 -> Disabled (default)
TransModeEnabRepeat: 0 -> Disabled (default)
TransModeFixedTrans: 1 -> Fixed transmission (first three bytes can be used as high/low address and channel)

MODE NORMAL!
AUX HIGH!
Complete!
Save mode returned not recognized!
11
MODE CONFIGURATION!
AUX HIGH!
Complete!
3
Available buffer: 12 structure size: 12
AUX HIGH!
Complete!

HEAD : C1 0 9

AddH : 0
AddL : 3
NetID : 0

Chan : 23 -> 433MHz

SpeedParityBit : 0 -> 8N1 (Default)
SpeedUARTDatte : 11 -> 9600bps (default)
SpeedAirDataRate : 10 -> 2.4kbps (default)

OptionSubPacketSett: 0 -> 240bytes (default)
OptionTranPower : 0 -> 22dBm (Default)
OptionRSSIAmbientNo: 1 -> Enabled

TransModeWORPeriod : 11 -> 2000ms (default)
TransModeTransContr: 0 -> WOR Receiver (default)
TransModeEnableLBT : 0 -> Disabled (default)
TransModeEnableRSSI: 0 -> Disabled (default)
TransModeEnabRepeat: 0 -> Disabled (default)
TransModeFixedTrans: 1 -> Fixed transmission (first three bytes can be used as high/low address and channel)

MODE NORMAL!
AUX HIGH!
Complete!
Success
1
HEAD : C1 0 9

AddH : 0
AddL : 3
NetID : 0

Chan : 23 -> 433MHz

SpeedParityBit : 0 -> 8N1 (Default)
SpeedUARTDatte : 11 -> 9600bps (default)
SpeedAirDataRate : 10 -> 2.4kbps (default)

OptionSubPacketSett: 0 -> 240bytes (default)
OptionTranPower : 0 -> 22dBm (Default)
OptionRSSIAmbientNo: 1 -> Enabled

TransModeWORPeriod : 11 -> 2000ms (default)
TransModeTransContr: 0 -> WOR Receiver (default)
TransModeEnableLBT : 0 -> Disabled (default)
TransModeEnableRSSI: 0 -> Disabled (default)
TransModeEnabRepeat: 0 -> Disabled (default)
TransModeFixedTrans: 1 -> Fixed transmission (first three bytes can be used as high/low address and channel)
`

from ebyte_lora_e22_series_library.

kadirozdinc avatar kadirozdinc commented on August 20, 2024

What might be the problem with it ? Any idea with debug output ?

from ebyte_lora_e22_series_library.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.