Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warning : Save mode returned not recognized! #3

Closed
kadirozdinc opened this issue May 31, 2021 · 10 comments
Closed

Warning : Save mode returned not recognized! #3

kadirozdinc opened this issue May 31, 2021 · 10 comments

Comments

@kadirozdinc
Copy link

Hello, I set up esp32 and e22 400t 20d model as described and I open setConfiguration example I upload code. I see "save mode returned not recognized" warning on the serial monitor. What can i do to fix it ?

@xreef
Copy link
Owner

xreef commented May 31, 2021

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

@kadirozdinc
Copy link
Author

kadirozdinc commented May 31, 2021

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;

@xreef
Copy link
Owner

xreef commented May 31, 2021

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

@kadirozdinc
Copy link
Author

I am sorry, E22400T22D model

@xreef
Copy link
Owner

xreef commented Jun 1, 2021

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

@kadirozdinc
Copy link
Author

kadirozdinc commented Jun 2, 2021

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 ?

@xreef
Copy link
Owner

xreef commented Jun 9, 2021

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

@kadirozdinc
Copy link
Author

kadirozdinc commented Jun 11, 2021

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)
`

@kadirozdinc
Copy link
Author

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

@xreef
Copy link
Owner

xreef commented Jul 6, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants